public void Run() { if (rrdDbForm == null) { rrdDbForm = new RrdDbForm(); rrdDbForm.RegisterController(this); } TreeForm.RegisterController(this); TreeForm.ShowHint = WeifenLuo.WinFormsUI.Docking.DockState.DockLeft; view.AddDockingPanel(TreeForm); view.AddDockingPanel(rrdDbForm); }