상속: 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);
         }
     }
 }