private void pictureBox1_Click(object sender, EventArgs e)
{
}
private void Form3_Load(object sender, EventArgs e)
{
switch (qx)
{
case 0://管理员
pictureBox1.Visible = true ;
pictureBox2.Visible = true;
pictureBox3.Visible = true;
pictureBox4.Visible = true;
pictureBox5.Visible = true;
pictureBox6.Visible = true;
break;
case 1://教师
pictureBox1.Visible = true;
pictureBox2.Visible = true;
pictureBox3.Visible = true;
pictureBox5.Visible = true;
pictureBox6.Visible = true;
pictureBox4.Visible = false;
pictureBox5.Left = 288;
pictureBox5.Top = 95;
break;
case 2://学生
pictureBox1.Visible = true;
pictureBox2.Visible = false;
pictureBox3.Visible = false;
pictureBox4.Visible = false;
pictureBox5.Visible = false;
pictureBox6.Visible = false;
break;
case 3:
break;
default:
break;
}
}
private void label2_Click(object sender, EventArgs e)
{
this.Hide();
Form_yy my = new Form_yy();
my.Show();
}
private void pictureBox1_Click_1(object sender, EventArgs e)
{
Form_xs my = new Form_xs();
my.Show();
}
private void pictureBox4_Click(object sender, EventArgs e)
{
stu_user_into my = new stu_user_into();
my.Show();
}
private void pictureBox6_Click(object sender, EventArgs e)
{
Form_bj my = new Form_bj();
my.Show();
}
private void pictureBox3_Click(object sender, EventArgs e)
{
private void pictureBox5_Click(object sender, EventArgs e)
{
Form_kc my = new Form_kc();
my.Show();
}
}
}