private void btnChange_Click(object sender, EventArgs e) { LogIns liclass = new LogIns(); liclass.ChangePassword(txtCOPass.Text, txtCNPass.Text, txtCRPass.Text); if (liclass.Message == "") { this.Hide(); } else { labelM.Text = liclass.Message; } }
private void btnLogIn_Click(object sender, EventArgs e) { LogIns liclass = new LogIns(); if (liclass.LogIn(txtUser.Text, txtPass.Text) != 0) { this.Hide(); MDI_Main mm = new MDI_Main(); mm.Show(); } else { labelM.Text = liclass.Message; } }
private void btnCreate_Click(object sender, EventArgs e) { LogIns liclass = new LogIns(); liclass.Registration(txtRName.Text, txtREmail.Text, txtRUser.Text, txtRPass.Text, txtRRPass.Text); if (liclass.Message == "") { this.Hide(); LogIn li = new LogIn(); li.Show(); } else { labelM.Text = liclass.Message; } }
private void btnChange_Click(object sender, EventArgs e) { LogIns liclass = new LogIns(); liclass.RecoveryPassword(txtRVEmail.Text, txtRVNPass.Text, txtRVRPass.Text); if (liclass.Message == "") { this.Hide(); LogIn li = new LogIn(); li.Show(); } else { labelM.Text = liclass.Message; } }