Esempio n. 1
0
        private void ScanFolder_Click(object sender, RoutedEventArgs e)
        {
            System.Windows.Forms.FolderBrowserDialog fbd = new System.Windows.Forms.FolderBrowserDialog();
            fbd.SelectedPath = Environment.GetFolderPath(Environment.SpecialFolder.MyMusic);
            fbd.ShowDialog();
            wAddPool pool = new wAddPool();

            pool.txtPath.Text = fbd.SelectedPath;
            pool.ShowDialog();
            RefreshPools();
        }
 private void ScanFolder_Click(object sender, RoutedEventArgs e)
 {
     System.Windows.Forms.FolderBrowserDialog fbd = new System.Windows.Forms.FolderBrowserDialog();
     fbd.SelectedPath = Environment.GetFolderPath(Environment.SpecialFolder.MyMusic);
     fbd.ShowDialog();
     wAddPool pool = new wAddPool();
     pool.txtPath.Text = fbd.SelectedPath;
     pool.ShowDialog();
     RefreshPools();
 }