Beispiel #1
0
        private void login_btn_Click(object sender, EventArgs e)
        {
            if (username_field.Text == "1" && password_field.Text == "1") //Demo
            {
                FrmMain frm_login = new FrmMain();
                frm_login.Visible = true;
                this.Visible = false;

            }
        }
Beispiel #2
0
 private void FrmLogin_Load(object sender, EventArgs e)
 {
     FrmMain frm_login = new FrmMain();
     this.Visible = false;
     frm_login.Visible = true;
 }