Ejemplo n.º 1
0
 private void rename_file_event_handler(object sender, RoutedEventArgs e)
 {
     Window childWindow = new renameWindow(true);
     childWindow.ShowInTaskbar = false;
     childWindow.Owner = Application.Current.MainWindow;
     childWindow.DataContext = this.DataContext;
     childWindow.Show();
 }
Ejemplo n.º 2
0
        private void create_Directory_event_handler(object sender, RoutedEventArgs e)
        {
            Window childWindow = new renameWindow(false);
            childWindow.ShowInTaskbar = false;
            childWindow.Owner = Application.Current.MainWindow;
            childWindow.DataContext = this.DataContext;
            childWindow.Show();

            //System.IO.Directory.CreateDirectory(myViewModel.CurrentDirectory+"\\"+System.IO.Path.GetRandomFileName());
        }