Ejemplo n.º 1
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     if (currentgrid == LeftElementsListGrid)
     {
         LeftElementsList.DeleteFileDirectory();
     }
     else if (currentgrid == RightElementsListGrid)
     {
         RightElementsList.DeleteFileDirectory();
     }
     LeftElementsList.ListDirectoriesAndFilesByName();
     RightElementsList.ListDirectoriesAndFilesByName();
 }
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     path = path + "/" + NameOfNewDirectory.Text;
     Directory.CreateDirectory(path);
     elementlistview.ListDirectoriesAndFilesByName();
     Close();
 }