예제 #1
0
 private void SuccessLogin()
 {
     Splash.ShowSplash();
     Config.ReloadSettings();
     DialogResult = DialogResult.OK;
     BaseFormManager.Close(this, DialogResult.OK);
 }
예제 #2
0
 /// <summary>
 /// Типовое действие "Закрыть форму"
 /// </summary>
 private void ActionCloseForm(DialogResult result = DialogResult.Cancel)
 {
     if (ParentLayout.ParentBasePanel != null)
     {
         BaseFormManager.Close(ParentLayout.ParentBasePanel as IApplicationForm, result);
     }
 }