コード例 #1
0
 private void txtSearch_KeyPress(object sender, KeyPressEventArgs e)
 {
     if (e.KeyChar == (char)Keys.Enter)
     {
         if (dgvMemberslist.RowCount == 0)
         {
             frmMemeberDetails frmmembers = new frmMemeberDetails(2);
             frmmembers.Show();
         }
     }
 }
コード例 #2
0
        private void dgvMemberslist_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            frmMemeberDetails frmmembers = new frmMemeberDetails(2);

            frmmembers.Show();
        }