Cabster/Components/MyFlowPanel.cs
/// <summary>
///     Sortear aleatoriamente a ordem dos participantes.
/// </summary>
Sortear aleatoriamente a ordem dos participantes.
Sortear aleatoriamente a ordem dos participantes .
public void Sort()
        {
            var index = 0;
            _positions = _positions
                .OrderBy(a => Guid.NewGuid())
                .ToDictionary(a => a.Key, a => index++);
            this.MakeChildrenOrganized(control => _positions[control]);
            OrderChanged?.Invoke();
        }
public void Sort ( ) { var index = 0 ; _positions = _positions . OrderBy ( a => Guid . NewGuid ( ) ) . ToDictionary ( a => a . Key , a => index ++ ) ; this . MakeChildrenOrganized ( control => _positions [ control ] ) ; OrderChanged ? . Invoke ( ) ; }
Sortear aleatoriamente a ordem dos participantes.
Sortear aleatoriamente a ordem dos participantes .