Beispiel #1
0
 private void lbl_shujuku_Click(object sender, EventArgs e)
 {
     panel_bottom.Controls.Clear();
     UC.UCShujuku myuc = new UC.UCShujuku()
     {
         Dock = DockStyle.Fill
     };
     uihelper.AddControl(panel_bottom, myuc);
 }
Beispiel #2
0
 private void lbl_shujuku_Click(object sender, EventArgs e)
 {
     panel_bottom.Controls.Clear();
     if (ucshujuku == null)
     {
         ucshujuku = new UC.UCShujuku()
         {
             Dock = DockStyle.Fill
         };
     }
     uihelper.AddControl(panel_bottom, ucshujuku);
 }