private void button1_Click(object sender, EventArgs e)
 {
     if (this.textBox1.Text == "lab123" && this.textBox2.Text == "123")
     {
         Form newform = new LabAssistantHome();
         newform.Show();
     }
     else
     {
         MessageBox.Show("Invalid credentials", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
        private void button3_Click(object sender, EventArgs e)
        {
            Form labass = new LabAssistantHome();

            labass.Show();
        }