Esempio n. 1
0
 private void OnInitializeDone(InitializeDoneEventArgs e)
 {
     if (e.Error == -1)
     {
         RegistrySettingManager registrySettingManager=new RegistrySettingManager();
         registrySettingManager.InitDone = true;
         Application.Exit();
     }
     else
     {
         Methods.ShowStandardMsgBox(FormMessageType.Error, "خطا","خطا در مرحله "+e.Error.ToString()+"اتفاق افتاده است.");
     }
 }
Esempio n. 2
0
 void init_InitializeDone(object sender, InitializeDoneEventArgs e)
 {
     this.Invoke(new InitializeDoneDelegate(OnInitializeDone), e);
 }