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

            fmUserDetails.Op       = "add";
            fmUserDetails.userList = this.userList;
            fmUserDetails.Show();
        }
示例#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.Show();
     }
 }
示例#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();
     }
 }