Exemplo n.º 1
0
        ///<summary>
        ///EndAction
        ///戻るボタンの処理
        ///</summary>
        private void EndAction(List <string> lstSelectId)
        {
            //データグリッドビューからデータを選択且つセット系から来た場合
            if (lblSetGyoshu != null && lstSelectId.Count != 0)
            {
                //セットの中に検索結果データを入れる
                lblSetGyoshu.CodeTxtText    = lstSelectId[0];
                lblSetGyoshu.ValueLabelText = lstSelectId[1];
            }

            this.Close();

            //ビジネス層のインスタンス生成
            GyoshuList_B gyoshulistB = new GyoshuList_B();

            try
            {
                //画面終了処理
                gyoshulistB.FormMove(intFrmKind);
            }
            catch (Exception ex)
            {
                //エラーロギング
                new CommonException(ex);
                //例外発生メッセージ(OK)
                BaseMessageBox basemessagebox = new BaseMessageBox(this, CommonTeisu.TEXT_ERROR, CommonTeisu.LABEL_ERROR_MESSAGE, CommonTeisu.BTN_OK, CommonTeisu.DIAG_ERROR);
                basemessagebox.ShowDialog();
                return;
            }
        }