private void button1_Click(object sender, EventArgs e) { catagory_selection c = new catagory_selection(); this.Hide(); c.Show(); }
private void button3_Click_1(object sender, EventArgs e) { MessageBox.Show("You are going to end the test!"); catagory_selection c = new catagory_selection(); this.Hide(); c.Show(); }
private void button1_Click(object sender, EventArgs e) { bool isvaliduser; bool isvaliduserpassed; server.Service1 myserver = new server.Service1(); myserver.isvaliduser(textBox1.Text, textBox2.Text, out isvaliduser, out isvaliduserpassed); if (isvaliduser == true) { MessageBox.Show("validuser"); catagory_selection c = new catagory_selection(); this.Hide(); c.Show(); } else { MessageBox.Show("invaliduser"); } }