Ejemplo n.º 1
0
 private void SetUserControlOnPanel(OverlapUserControl overlap)
 {
     Panel_Main.Controls.Clear();
     if (!Panel_Main.Controls.Contains(overlap))
     {
         Panel_Main.Controls.Add(overlap);
         overlap.Dock = DockStyle.Fill;
         overlap.BringToFront();
     }
     else
     {
         overlap.BringToFront();
     }
 }
Ejemplo n.º 2
0
 public UserControlObject(String object_name, OverlapUserControl user_control)
 {
     object_name_        = object_name;
     object_usercontrol_ = user_control;
 }