Ejemplo n.º 1
0
        private void Button4_Click(object sender, EventArgs e)
        {
            home hom = new home();

            hom.Show();
            this.Hide();
        }
Ejemplo n.º 2
0
        private void Button1_Click(object sender, EventArgs e)
        {
            home hom = new home();

            if (this.bunifuMaterialTextbox1.Text == "admin" && this.bunifuMaterialTextbox2.Text == "0000")
            {
                hom.Show();
                this.Hide();
            }
            else
            {
                MessageBox.Show("Please check username or password");
            }
        }