コード例 #1
0
ファイル: Work.cs プロジェクト: Deswing/File-Manager
 /// <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();
 }