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); } }
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); } }