private void btnConfirm_Click(object sender, EventArgs e) { string custEmail = tbxEmail.Text.ToString(); LoginProgOps.empAccountRecovery(custEmail); lblEmailOutput.Text = "Check your inbox for account recovery information."; }
private void btnCustSubmit_Click(object sender, EventArgs e) { try { this.Hide(); LoginProgOps.startCustLogin(tbxCustUsername, tbxCustPassword); ClearForm(); this.Show(); } catch (Exception ex) { MessageBox.Show(ex.Message, "Error Logging in. Make sure your credentials are correct.", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
private void LoginScreen_FormClosed(object sender, FormClosedEventArgs e) { LoginProgOps.CloseAllLog(); }
private void LoginScreen_Load(object sender, EventArgs e) { LoginProgOps.Open(); //point to help file hlpLogin.HelpNamespace = Application.StartupPath + "\\Login-Help.chm"; }