private void Button4_Click(object sender, EventArgs e) { home hom = new home(); hom.Show(); this.Hide(); }
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"); } }