private void button2_Click(object sender, EventArgs e) { startupPage st = new startupPage(); st.Show(); this.Hide(); }
private void Back_Click(object sender, EventArgs e) { this.Close(); startupPage fm = new startupPage(); fm.Show(); }
private void back_Click(object sender, EventArgs e) { startupPage s = new startupPage(); s.Show(); this.Hide(); }
private void button1_Click(object sender, EventArgs e) { if (textBox1.Text == "admin" && textBox2.Text == "admin") { this.Hide(); startupPage start = new startupPage(); start.Show(); } else { MessageBox.Show("Incorrect Username or Password!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Warning); textBox2.Clear(); } }