Inheritance: System.Windows.Forms.Form
コード例 #1
0
 private void FixIndexes()
 {
     using (var dlg = new FixIndexesDialog())
     {
         dlg.Actions = GetActions();
         if (dlg.ShowDialog(this) != DialogResult.OK)
         {
             return;
         }
     }
     using (var dlg = new FixProgressDialog())
     {
         dlg.Actions           = GetActions();
         dlg.IndexDataProvider = indexDataProvider;
         if (dlg.ShowDialog(this) == DialogResult.OK)
         {
             CheckIndexes();
             SelectFilter(allIndexesToolStripMenuItem);
         }
     }
 }
コード例 #2
0
 private void FixIndexes()
 {
     using (var dlg = new FixIndexesDialog())
     {
         dlg.Actions = GetActions();
         if (dlg.ShowDialog(this) != DialogResult.OK)
         {
             return;
         }
     }
     using (var dlg = new FixProgressDialog())
     {
         dlg.Actions = GetActions();
         dlg.IndexDataProvider = indexDataProvider;
         if (dlg.ShowDialog(this) == DialogResult.OK)
         {
             CheckIndexes();
             SelectFilter(allIndexesToolStripMenuItem);
         }
     }
 }