コード例 #1
0
        //Login button handler for Banking
        private void loginBankBtn_Click(object sender, EventArgs e)
        {
            LoginForm loginForm = new LoginForm(this, Model.UserName, "Banking", Model.bankAccountFile, bankAttempt);

            loginForm.Show();
        }
コード例 #2
0
        //Login button handler for Email
        private void loginEmailBtn_Click(object sender, EventArgs e)
        {
            LoginForm loginForm = new LoginForm(this, Model.UserName, "Email", Model.emailAccountFile, emailAttempt);

            loginForm.Show();
        }
コード例 #3
0
        //Login button handler for Shopping
        private void loginShopBtn_Click(object sender, EventArgs e)
        {
            LoginForm loginForm = new LoginForm(this, Model.UserName, "Shopping", Model.shoppingAccountFile, shopAttempt);

            loginForm.Show();
        }