public void DeleteRow(Direction direction) { screenGrid.DeleteRow(direction); Collection2DChanged?.Invoke(this, new NotifyCollection2DChangedEventArgs(NotifyCollection2DChangedAction.Remove, direction)); }
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))); }
public void AddRow(Direction direction) { screenGrid.AddRow(direction); Collection2DChanged?.Invoke(this, new NotifyCollection2DChangedEventArgs(NotifyCollection2DChangedAction.Add, direction)); }