Example #1
0
 public void StoreMusic(Music music)
 {
     if(!HasMusic(music.Name))
         Musics.Add(music);
     else
         throw new AlreadyExistingMusicException();
 }
Example #2
0
 public CreateMusicForm()
 {
     InitializeComponent();
     Music = new Music();
 }