/// <summary> /// show rubric click event /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void Form1_Load(object sender, EventArgs e) { panelHome.Controls.Clear(); panelHome.Controls.Add(StudentsUserControl.getInstance()); }
/// <summary> /// show students click event /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void button1_Click(object sender, EventArgs e) { panelHome.Controls.Clear(); panelHome.Controls.Add(StudentsUserControl.getInstance()); }