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