Exemplo n.º 1
0
 private void btnCreateAccount_Click(object sender, EventArgs e)
 {
     UserAccount tmp = new UserAccount(true);
     if (tmp.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     {
         JD.SetupAccount(tmp.user, tmp.pass);
     }
 }
Exemplo n.º 2
0
 private void btnChangePassword_Click(object sender, EventArgs e)
 {
     UserAccount tmp = new UserAccount(false);
     if (tmp.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     {
         JD.ChangePassword(tmp.user, tmp.pass);
     }
 }