Пример #1
0
 public void DeleteRow(Direction direction)
 {
     screenGrid.DeleteRow(direction);
     Collection2DChanged?.Invoke(this, new NotifyCollection2DChangedEventArgs(NotifyCollection2DChangedAction.Remove, direction));
 }
Пример #2
0
 public void Swap(Screen screen1, Screen screen2)
 {
     screenGrid.Swap(screen1, screen2);
     Collection2DChanged?.Invoke(this, new NotifyCollection2DChangedEventArgs(NotifyCollection2DChangedAction.Swap, (screen1.X, screen1.Y), (screen2.X, screen2.Y)));
 }
Пример #3
0
 public void AddRow(Direction direction)
 {
     screenGrid.AddRow(direction);
     Collection2DChanged?.Invoke(this, new NotifyCollection2DChangedEventArgs(NotifyCollection2DChangedAction.Add, direction));
 }