コード例 #1
0
        private IPoderosaView CreateView(Type viewclass)
        {
            IViewFactory vf = WindowManagerPlugin.Instance.ViewFactoryManager.GetViewFactoryByView(viewclass);

            Debug.Assert(vf != null);
            return(vf.CreateNew(_parent.ParentWindow));
        }
コード例 #2
0
ファイル: SplittableView.cs プロジェクト: VirusFree/Poderosa
 private PaneDivision.IPane CreateNewPane(IViewFactory factory, DockStyle dock)
 {
     PaneDivision.IPane pb = new SplittableViewPane(this, factory.CreateNew(_parent));
     pb.AsDotNet().Dock = dock;
     return pb;
 }
コード例 #3
0
 private PaneDivision.IPane CreateNewPane(IViewFactory factory, DockStyle dock)
 {
     PaneDivision.IPane pb = new SplittableViewPane(this, factory.CreateNew(_parent));
     pb.AsDotNet().Dock    = dock;
     return(pb);
 }