Ejemplo n.º 1
0
 private void dgridManageUser_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     int nRow = dgridManageUser.CurrentRow.Index;
     string sUserName = dgridManageUser.Rows[nRow].Cells["User Name"].Value.ToString();
     if (sUserName.Trim().Length > 0)
     {
         frmNewUser frm = new frmNewUser();
         frm.SGUserName = sUserName;
         frm.ShowDialog();
         frmManageUser_Load(null, null);
     }
 }
Ejemplo n.º 2
0
 private void butAdd_Click(object sender, EventArgs e)
 {
     frmNewUser frmUser = new frmNewUser();
     frmUser.ShowDialog();
     frmManageUser_Load(null, null);
 }
 private void butUserAdd_Click(object sender, EventArgs e)
 {
     frmNewUser frmUser = new frmNewUser();
     frmUser.ShowDialog();
 }