Beispiel #1
0
 void CloseAndResetInstance(int autocolor = 0)
 {
     using (InputFormRef.AutoPleaseWait pleaseWait = new InputFormRef.AutoPleaseWait(this))
     {
         this.SettingPleaseWait = pleaseWait;
         OptionForm f = new OptionForm();
         f.AutoClose(autocolor);
     }
     this.DialogResult = System.Windows.Forms.DialogResult.Retry;
     this.Close();
 }
Beispiel #2
0
        void Setting()
        {
            if (InputFormRef.IsPleaseWaitDialog(this))
            {//2重割り込み禁止
                return;
            }

            this.MainTab.SelectedTab = this.SettingNowPage;
            using (InputFormRef.AutoPleaseWait pleaseWait = new InputFormRef.AutoPleaseWait(this))
            {
                this.SettingPleaseWait = pleaseWait;
                SettingStep1();
                SettingStep2();
                SettingStep3();
                SettingStep4();

                OptionForm f = new OptionForm();
                f.AutoClose();
            }
            this.MainTab.SelectedTab = this.EndPage;
        }