Exemplo n.º 1
0
        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.";
        }
Exemplo n.º 2
0
 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);
     }
 }
Exemplo n.º 3
0
 private void LoginScreen_FormClosed(object sender, FormClosedEventArgs e)
 {
     LoginProgOps.CloseAllLog();
 }
Exemplo n.º 4
0
 private void LoginScreen_Load(object sender, EventArgs e)
 {
     LoginProgOps.Open();
     //point to help file
     hlpLogin.HelpNamespace = Application.StartupPath + "\\Login-Help.chm";
 }