Exemplo n.º 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();
            }
        }
Exemplo n.º 2
0
        /// <summary>
        /// ダブルクリック処理
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void dgvIchiran_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            if (e.RowIndex == -1)
            {
                return;
            }
            String mentorResultId = (String)dgvIchiran[(int)column.MENTOR_RESULT_ID, e.RowIndex].Value.ToString();
            MH0040 mh0040         = new MH0040(user, resultIdList, mentorResultId, _mode);

            mh0040.Show();
            if (mh0040.torokuFlg)
            {
                Result();
            }
        }
Exemplo n.º 3
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();
                }
            }
        }