Beispiel #1
0
 private void AddControl(BaseView view)
 {
     panelBody.Controls.Clear();
     if (view != null)
     {
         panelBody.Controls.Add(view);
         view.Dock = DockStyle.Fill;
         view.BringToFront();
     }
 }