Esempio n. 1
0
 //在当前文件夹下创建一个文件夹
 private async void MenuFlyoutItem_Click_CreateDir(object sender, RoutedEventArgs e)
 {
     nr             = 2;
     InPutName.Text = "";
     TitleName.Text = "输入文件夹名";
     TitleName.Text = "文件夹名";
     await InPutDialog.ShowAsync();
 }
Esempio n. 2
0
 //重命名
 private async void MenuFlyoutItem_Click_ReName(object sender, RoutedEventArgs e)
 {
     nr = 1;
     if (nowfile.filetype == 0)
     {
         TitleName.Text = "重命名文件夹";
         TitleName.Text = "文件夹名";
     }
     else
     {
         TitleName.Text = "重命名文件";
         TitleName.Text = "文件名";
     }
     await InPutDialog.ShowAsync();
 }