ShowDialog() public method

Shows the dialog
public ShowDialog ( ) : bool
return bool
    private void btnctOther_Click(object sender, RoutedEventArgs e) {
      var dlg = new FolderSelectDialog();
      if (dlg.ShowDialog())
        SetFOperation(dlg.FileName, OperationType.Copy);

      _ShellListView.Focus();
    }
 private void btnmtOther_Click(object sender, RoutedEventArgs e) {
   var dlg = new FolderSelectDialog();
   if (dlg.ShowDialog())
     SetFOperation(dlg.FileName, OperationType.Move);
 }
 private void btnChooseLocation_Click(object sender, RoutedEventArgs e) {
   var dlg = new FolderSelectDialog();
   if (dlg.ShowDialog())
     txtExtractLocation.Text = dlg.FileName;
 }
 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;
     }
 }