Example #1
0
 /// <summary>
 /// get instance function
 /// </summary>
 /// <returns></returns>
 public static RubricLevelUserControl getInstance()
 {
     if (instance == null)
     {
         instance = new RubricLevelUserControl();
     }
     return(instance);
 }
Example #2
0
        /// <summary>
        /// show rubric level click event
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>

        private void button5_Click(object sender, EventArgs e)
        {
            panelHome.Controls.Clear();
            panelHome.Controls.Add(RubricLevelUserControl.getInstance());
        }