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(); }
void noNoMore(object sender, RoutedEventArgs e) { Decision = Dcsn.NoMore; Close(); }
void onReplay(object sender, RoutedEventArgs e) { Decision = Dcsn.Replay; Close(); }
void onDelete(object sender, RoutedEventArgs e) { Decision = Dcsn.Delete; Close(); }