///<summary> ///setSelectItem ///データグリッドビュー内のデータ選択後の処理 ///</summary> private void setSelectItem() { //データグリッドビューにデータが存在しなければ終了 if (gridSeihin.RowCount == 0) { return; } //選択行の業種情報 List <string> lstString = new List <string>(); //選択行の業種情報取得 string strSelectId = (string)gridSeihin.CurrentRow.Cells["業種コード"].Value; string strSelectName = (string)gridSeihin.CurrentRow.Cells["業種名"].Value; //検索情報を入れる lstString.Add(strSelectId); lstString.Add(strSelectName); //ビジネス層のインスタンス生成 GyoshuList_B gyoshulistB = new GyoshuList_B(); try { //データグリッドビュー内のデータ選択後の処理 gyoshulistB.getSelectItem(intFrmKind, strSelectId); EndAction(lstString); } 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; } }