Пример #1
0
        private void Button4_Click(object sender, EventArgs e)
        {
            home hom = new home();

            hom.Show();
            this.Hide();
        }
Пример #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");
            }
        }