當前位置: 首頁>>代碼示例>>C#>>正文


C# FolderBrowserDialog.set_Description方法代碼示例

本文整理匯總了C#中System.Windows.Forms.FolderBrowserDialog.set_Description方法的典型用法代碼示例。如果您正苦於以下問題:C# FolderBrowserDialog.set_Description方法的具體用法?C# FolderBrowserDialog.set_Description怎麽用?C# FolderBrowserDialog.set_Description使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在System.Windows.Forms.FolderBrowserDialog的用法示例。


在下文中一共展示了FolderBrowserDialog.set_Description方法的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。

示例1: SaveNullOplDBF_Electroseti_Click

 private void SaveNullOplDBF_Electroseti_Click(object sender, System.EventArgs e)
 {
     if (this.ValidatePeriod(this.datePeriodElectroseti))
     {
         System.Windows.Forms.FolderBrowserDialog dialog = new System.Windows.Forms.FolderBrowserDialog();
         dialog.set_Description("Директория для файла выгрузки");
         if (dialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
         {
             Mappers.ExportMapper.SaveDBFNullOpl_Electroseti(this.datePeriodElectroseti.DateBegin.Date, this.datePeriodElectroseti.DateEnd.Date, dialog.get_SelectedPath());
         }
     }
 }
開發者ID:u4097,項目名稱:SQLScript,代碼行數:12,代碼來源:ExportForm.cs

示例2: bKSZN_Click

 private void bKSZN_Click(object sender, System.EventArgs e)
 {
     if (this.ValidateDate(this.dateKSZN))
     {
         System.Windows.Forms.FolderBrowserDialog dialog = new System.Windows.Forms.FolderBrowserDialog();
         dialog.set_Description("Директория для файла выгрузки");
         if (dialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
         {
             Mappers.ExportMapper.Save_KSZN(this.dateKSZN.Value.Date, dialog.get_SelectedPath());
         }
     }
 }
開發者ID:u4097,項目名稱:SQLScript,代碼行數:12,代碼來源:ExportForm.cs

示例3: MergeDBF_Electroseti_Click

 private void MergeDBF_Electroseti_Click(object sender, System.EventArgs e)
 {
     if (this.ValidatePeriod(this.datePeriodElectroseti))
     {
         System.Windows.Forms.OpenFileDialog dialog = new System.Windows.Forms.OpenFileDialog();
         dialog.set_CheckFileExists(true);
         dialog.set_Multiselect(false);
         dialog.set_Title("Файл, с которым искать расхождения");
         System.Windows.Forms.FolderBrowserDialog dialog2 = new System.Windows.Forms.FolderBrowserDialog();
         dialog2.set_Description("Директория для файлов выгрузки");
         if ((dialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) && (dialog2.ShowDialog() == System.Windows.Forms.DialogResult.OK))
         {
             Mappers.ExportMapper.MergeDBF_Electroseti(this.datePeriodElectroseti.DateBegin.Date, this.datePeriodElectroseti.DateEnd.Date, dialog.get_FileName(), dialog2.get_SelectedPath());
         }
     }
 }
開發者ID:u4097,項目名稱:SQLScript,代碼行數:16,代碼來源:ExportForm.cs

示例4: btnChooseExportDirectory_Click

 private void btnChooseExportDirectory_Click(object sender, System.EventArgs e)
 {
     System.Windows.Forms.FolderBrowserDialog dialog = new System.Windows.Forms.FolderBrowserDialog();
     dialog.set_RootFolder(System.Environment.SpecialFolder.MyComputer);
     dialog.set_Description("Выбор каталога для выгрузки PDF документов");
     dialog.ShowDialog(this);
     if (dialog.get_SelectedPath() != string.Empty)
     {
         Settings.Default.NoticesExportFolder = dialog.get_SelectedPath();
         this.tbExportDirectory.set_Text(Settings.Default.NoticesExportFolder);
     }
 }
開發者ID:u4097,項目名稱:SQLScript,代碼行數:12,代碼來源:PaymentNoticesMainFormOld.cs


注:本文中的System.Windows.Forms.FolderBrowserDialog.set_Description方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。