Exemple #1
0
 public static void Run(IWin32Window owner)
 {
   ImportSettings settings = new ImportSettings();
   ImportSettingsForm importSettingsForm = new ImportSettingsForm();
   importSettingsForm.Init(settings);
   if (importSettingsForm.ShowDialog(owner) == DialogResult.OK)
   {
     ImportForm importForm = new ImportForm();
     importForm.Init(settings);
     int num = (int) importForm.ShowDialog(owner);
     importForm.Dispose();
   }
   importSettingsForm.Dispose();
 }