コード例 #1
0
 public static EditMp3Album getInstance(string path, MainWindow MainForm)
 {
     if (instance == null)
     {
         instance = new EditMp3Album(path, MainForm);
     }
     return(instance);
 }
コード例 #2
0
        private void btChangeAlbum_Click(object sender, RoutedEventArgs e)
        {
            EditMp3Album em = EditMp3Album.getInstance(FilesFromFolders[SelectedIndexListView], this);

            StopPlaying();
            myMedia.Source = null;
            em.Show();
        }
コード例 #3
0
 private void ResetWindow()
 {
     this.Close();
     instance = null;
 }