Exemple #1
0
        void btnMove_Click(object sender, RoutedEventArgs e)
        {
            SubFolder = ((Button)sender).Content.ToString().Replace("_", "").Trim();
            //r trgPath = System.IO.Path.Combine(System.IO.Path.GetDirectoryName(MediaFile), SubFolder);
            var trgPath = System.IO.Path.Combine(@"C:\1\v\4Mei", SubFolder);

            if (!Directory.Exists(trgPath))
            {
                Directory.CreateDirectory(trgPath);
            }
            MediaFile = System.IO.Path.Combine(trgPath, System.IO.Path.GetFileName(MediaFile));
            Decision  = Dcsn.MoveTo;
            Close();
        }
Exemple #2
0
 void noNoMore(object sender, RoutedEventArgs e)
 {
     Decision = Dcsn.NoMore; Close();
 }
Exemple #3
0
 void onReplay(object sender, RoutedEventArgs e)
 {
     Decision = Dcsn.Replay; Close();
 }
Exemple #4
0
 void onDelete(object sender, RoutedEventArgs e)
 {
     Decision = Dcsn.Delete; Close();
 }