예제 #1
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="data"></param>
 public static void Edit(ListOfFiles data)
 {
     ListOfType listType = ListOfType.GetInstance();
     foreach (IOView item in data.files)
     {
         if (listType.TypeText().Contains(item.Type))
         {
             string namefile = data.OldPath + item.Name + "." + item.Type;
             notepad np = new notepad(namefile);
             np.Show();
         }
     }
 }
예제 #2
0
 private void MenuItem_Click_1(object sender, RoutedEventArgs e)
 {
     notepad np = new notepad();
     np.Show();
 }