/// <summary>
 /// get instance function
 /// </summary>
 /// <returns>instance of this usercontrol</returns>
 public static CLOUserControl getInstance()
 {
     if (instance == null)
     {
         instance = new CLOUserControl();
     }
     return(instance);
 }
예제 #2
0
 /// <summary>
 /// show CLO click event
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void button3_Click(object sender, EventArgs e)
 {
     panelHome.Controls.Clear();
     panelHome.Controls.Add(CLOUserControl.getInstance());
 }