public void StartPlay(int number) { Console.WriteLine("Новая композиция!"); PlayIsStartedEvent?.Invoke(this, new PlayIsStartedEventArgs() { SoundNumber = number }); }
public void StartPlay(int n) { PlayIsStartedEvent?.Invoke(this, new PlayIsStartedEventArgs(n)); }
public void StartPlay(int x) { PlayIsStartedEvent?.Invoke(this, new PlayIsStartedEventArgs { SoundNumber = x }); }
public void StartPlay(int number) { PlayIsStartedEventArgs args = new PlayIsStartedEventArgs(number); PlayIsStartedEvent?.Invoke(this, args); }
public void StartPlay(int song) => PlayIsStartedEvent?.Invoke(this, new PlayIsStartedEventArgs { Song = song });