ShowDialog() 공개 메소드

Shows the dialog
public ShowDialog ( ) : bool
리턴 bool
예제 #1
0
    private void btnctOther_Click(object sender, RoutedEventArgs e) {
      var dlg = new FolderSelectDialog();
      if (dlg.ShowDialog())
        SetFOperation(dlg.FileName, OperationType.Copy);

      _ShellListView.Focus();
    }
예제 #2
0
 private void btnmtOther_Click(object sender, RoutedEventArgs e) {
   var dlg = new FolderSelectDialog();
   if (dlg.ShowDialog())
     SetFOperation(dlg.FileName, OperationType.Move);
 }
예제 #3
0
 private void btnChooseLocation_Click(object sender, RoutedEventArgs e) {
   var dlg = new FolderSelectDialog();
   if (dlg.ShowDialog())
     txtExtractLocation.Text = dlg.FileName;
 }
예제 #4
0
 private void btnChangeTabsFolder_Click(object sender, RoutedEventArgs e) {
   var ctf = new FolderSelectDialog();
   ctf.Title = "Change Tab Folder";
   ctf.InitialDirectory = new DirectoryInfo(sstdir).Parent.FullName;
   if (ctf.ShowDialog()) {
     Utilities.SetRegistryValue("SavedTabsDirectory", ctf.FileName + "\\");
     txtDefSaveTabs.Text = ctf.FileName + "\\";
     sstdir = ctf.FileName + "\\";
   }
 }
 private void button1_Click(object sender, RoutedEventArgs e) {
     var dlg = new FolderSelectDialog();
     if (dlg.ShowDialog()) {
         editpath.Text = dlg.FileName;
     }
 }