private void button3_Click(object sender, EventArgs e) //back { this.Hide(); adminwrk adw = new adminwrk(); adw.ShowDialog(); }
private void loginclick(object sender, EventArgs e) { //textBox1.Text == "ADMIN" || textBox2.Text == "mobile" if (true) { this.Hide(); adminwrk aw; aw = new adminwrk(); aw.ShowDialog(); } else { MessageBox.Show("WRONG PASS or NAME"); } }