private void button1_Click(object sender, EventArgs e) { if (un.Text == "mng" || psw.Text == "123") { booktable booktable = new booktable(); booktable.Show(); } else { MessageBox.Show("Lohin Fail"); } }
private void button2_Click(object sender, EventArgs e) { booktable booktable = new booktable(); booktable.Show(); }