Ejemplo n.º 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();
         }
     }
 }
Ejemplo n.º 2
0
        private void dgvMemberslist_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            frmMemeberDetails frmmembers = new frmMemeberDetails(2);

            frmmembers.Show();
        }
Ejemplo n.º 3
0
        private void btnAddMember_Click(object sender, EventArgs e)
        {
            frmMemeberDetails frmmembers = new frmMemeberDetails(1);

            frmmembers.ShowDialog();
        }