private IPoderosaView CreateView(Type viewclass) { IViewFactory vf = WindowManagerPlugin.Instance.ViewFactoryManager.GetViewFactoryByView(viewclass); Debug.Assert(vf != null); return(vf.CreateNew(_parent.ParentWindow)); }
private PaneDivision.IPane CreateNewPane(IViewFactory factory, DockStyle dock) { PaneDivision.IPane pb = new SplittableViewPane(this, factory.CreateNew(_parent)); pb.AsDotNet().Dock = dock; return pb; }
private PaneDivision.IPane CreateNewPane(IViewFactory factory, DockStyle dock) { PaneDivision.IPane pb = new SplittableViewPane(this, factory.CreateNew(_parent)); pb.AsDotNet().Dock = dock; return(pb); }