Example #1
0
        public Form1()
        {
            InitializeComponent();

            _LogMgr = new Core.LogModule.LogMgr(@"J:\Other_project\MyUtils\Deps\NLog\NLog.config");
            _Logger = _LogMgr.GetLogger("XtraCompositeTest");
            _Logger.Info("Start XtraCompositeTest.");

            _regionMgr = new RegionMgr(_LogMgr);
            DocumentViewRegion docRegion = new DocumentViewRegion("DocumentRegion", documentManager1, dockManager1, _LogMgr);

            _regionMgr.AddViewRegion("DocumentRegion", docRegion);
            DockingViewRegion dockingRegion = new DockingViewRegion("DockingRegion", documentManager1, dockManager1, _LogMgr);

            _regionMgr.AddViewRegion("DockingRegion", dockingRegion);

            _dialogMgr = new ViewFormMgr(this, bar3, _LogMgr);
        }