예제 #1
0
        /// <summary>
        /// 新規登録ボタン
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnInsert_Click(object sender, EventArgs e)
        {
            MH0040 mh0040 = new MH0040(user, resultIdList);

            mh0040.ShowDialog();
            if (mh0040.torokuFlg)
            {
                Result();
            }
        }
예제 #2
0
        /// <summary>
        /// 選択ボタン押下
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void dgvIchiran_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            DataGridView dgv = (DataGridView)sender;

            if (dgv.Columns[e.ColumnIndex].Name == "選択")
            {
                String mentorResultId = (String)dgvIchiran[(int)column.MENTOR_RESULT_ID, e.RowIndex].Value.ToString();
                MH0040 mh0040         = new MH0040(user, resultIdList, mentorResultId, _mode);
                mh0040.ShowDialog();
                if (mh0040.torokuFlg)
                {
                    Result();
                }
            }
        }