Exemplo n.º 1
0
 private void btnAdd_Click(object sender, EventArgs e)
 {
     frmUserDetails fmUserDetails = new frmUserDetails();
     fmUserDetails.Op = "add";
     fmUserDetails.userList = this.userList;
     fmUserDetails.Show();
 }
Exemplo n.º 2
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            frmUserDetails fmUserDetails = new frmUserDetails();

            fmUserDetails.Op       = "add";
            fmUserDetails.userList = this.userList;
            fmUserDetails.ShowDialog(this);
        }
Exemplo n.º 3
0
 private void btnEdit_Click(object sender, EventArgs e)
 {
     if (gvUser.CurrentRow.Index >= 0)
     {
         frmUserDetails fmUserDetails = new frmUserDetails();
         fmUserDetails.Op           = "edit";
         fmUserDetails.SelectedUser = userSelected;
         fmUserDetails.ShowDialog(this);
     }
 }
Exemplo n.º 4
0
 private void btnEdit_Click(object sender, EventArgs e)
 {
     if (gvUser.CurrentRow.Index >= 0)
     {
         frmUserDetails fmUserDetails = new frmUserDetails();
         fmUserDetails.Op = "edit";
         fmUserDetails.SelectedUser = userSelected;
         fmUserDetails.Show();
     }
 }