コード例 #1
0
 private void dgvContact_CellContentClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.RowIndex >= 0)
     {
         if (e.ColumnIndex == 0)
         {
             员工档案录入 mForm = new 员工档案录入();
             mForm.mId = Convert.ToInt64(dgvEmployInfo.Rows[e.RowIndex].Cells["ID"].Value);
             mForm.ShowDialog();
         }
     }
 }
コード例 #2
0
        private void btnSerch_Click(object sender, EventArgs e)
        {
            员工档案录入 mForm = new 员工档案录入();

            mForm.ShowDialog();
        }