private void hofl_button_Click(object sender, EventArgs e) { AppBody objho_fl = new AppBody(); objho_fl.Show(); this.Close(); }
private void fl_button1_Click(object sender, EventArgs e) { AppBody obj = new AppBody(); obj.Show(); this.Close(); }
private void button1_Click(object sender, EventArgs e) { String uname = getlogin(), upass = getpassword(); String name = textBox1.Text; String pass = textBox2.Text; if (name.Equals(uname) && pass.Equals(upass)) { label1.Hide(); AppBody obj = new AppBody(); this.Hide(); obj.Show(); } else { label1.Show(); } }