Ejemplo n.º 1
0
 private void btnchangePwd_Click(object sender, EventArgs e)
 {
     if (usersGrid1.CurrentUser == null)
     {
         return;
     }
     using (frmChangePwd frm = new frmChangePwd(usersGrid1.CurrentUser))
     {
         if (frm.ShowDialog() == DialogResult.OK)
         {
             MessageViewInfo.Show("User password was successfully updated");
         }
     }
 }
Ejemplo n.º 2
0
 private void btnchangePwd_Click(object sender, EventArgs e)
 {
     if (usersGrid1.CurrentUser == null) return;
     using (frmChangePwd frm = new frmChangePwd(usersGrid1.CurrentUser))
     {
         if (frm.ShowDialog() == DialogResult.OK)
         {
             MessageViewInfo.Show("User password was successfully updated");
         }
     }
 }