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