/// <summary> /// メソッド(ログインする) /// </summary> private void Login() { if (this.IsSucessfullConnecion() == false) { MessageBox.Show( new MessageFetcher().FetchMessage("ERR005"), this.Text, MessageBoxButtons.OK, MessageBoxIcon.Error); return; } var frmTableSelection = new FrmTableSelection(); frmTableSelection.Show(); this.Hide(); }
/// <summary> /// メソッド(処理を実行する) /// </summary> private void ExecuteProcess(int executionId) { switch (executionId) { case EXECUTION_ID_SETTING: this.SetConditions(); break; case EXECUTION_ID_BACK: var targetForm = new FrmTableSelection(); targetForm.Show(); this.Hide(); this.Dispose(); break; case EXECUTION_ID_EXIT: this.Close(); break; } }