Exemple #1
0
        public static void Initialize()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            configGuiPath      = System.IO.Path.Combine(GetEntryDirectory(), ConfigGuiFileName);
            configGuiPanelPath = System.IO.Path.Combine(GetEntryDirectory(), ConfigGuiPanelFileName);
            configRecentPath   = System.IO.Path.Combine(GetEntryDirectory(), ConfigRecentFileName);
            configNetworkPath  = System.IO.Path.Combine(GetEntryDirectory(), ConfigNetworkFileName);

            Shortcuts.LoadShortcuts();
            Commands.Regist();
            LoadRecentConfig();

            Network = new Network();

            MainForm                         = new MainForm();
            AboutForm                        = new AboutForm();
            DockViewer                       = new DockViewer();
            DockViewerController             = new DockViewerController();
            DockViewPoint                    = new DockViewPoint();
            DockRecorder                     = new GUI.DockRecorder();
            DockNodeTreeView                 = new DockNodeTreeView();
            DockNodeCommonValues             = new GUI.DockNodeCommonValues();
            DockNodeLocationValues           = new GUI.DockNodeLocationValues();
            DockNodeRotationValues           = new GUI.DockNodeRotationValues();
            DockNodeScalingValues            = new GUI.DockNodeScaleValues();
            DockNodeLocationAbsValues        = new GUI.DockNodeLocationAbsValues();
            DockNodeGenerationLocationValues = new DockNodeGenerationLocationValues();
            DockNodeDepthValues              = new DockNodeDepthValues();
            DockNodeRendererCommonValues     = new GUI.DockNodeRendererCommonValues();
            DockNodeRendererCommonValues2    = new GUI.DockNodeRendererCommonValues2();
            DockNodeDrawingValues            = new GUI.DockNodeRendererValues();
            DockNodeSoundValues              = new GUI.DockNodeSoundValues();
            DockOption                       = new GUI.DockOption();
            DockGlobal                       = new GUI.DockGlobal();
            DockEffectBehavior               = new GUI.DockEffectBehavior();
            DockFCurves                      = new GUI.DockFCurves();
            DockCulling                      = new GUI.DockCulling();
            DockNetwork                      = new GUI.DockNetwork();
            DockFileViewer                   = new GUI.DockFileViewer();

            MainForm.Show();

            LoadConfig();

            DockViewer.ShowViewer();

            Core.MainForm = MainForm;
        }
Exemple #2
0
        public static void Initialize()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            configGuiPath = System.IO.Path.Combine(GetEntryDirectory(), ConfigGuiFileName);
            configGuiPanelPath = System.IO.Path.Combine(GetEntryDirectory(), ConfigGuiPanelFileName);
            configRecentPath = System.IO.Path.Combine(GetEntryDirectory(), ConfigRecentFileName);
            configNetworkPath = System.IO.Path.Combine(GetEntryDirectory(), ConfigNetworkFileName);

            Shortcuts.LoadShortcuts();
            Commands.Regist();
            LoadRecentConfig();

            Network = new Network();

            MainForm = new MainForm();
            AboutForm = new AboutForm();
            DockViewer = new DockViewer();
            DockViewerController = new DockViewerController();
            DockViewPoint = new DockViewPoint();
            DockRecorder = new GUI.DockRecorder();
            DockNodeTreeView = new DockNodeTreeView();
            DockNodeCommonValues = new GUI.DockNodeCommonValues();
            DockNodeLocationValues = new GUI.DockNodeLocationValues();
            DockNodeRotationValues = new GUI.DockNodeRotationValues();
            DockNodeScalingValues = new GUI.DockNodeScaleValues();
            DockNodeLocationAbsValues = new GUI.DockNodeLocationAbsValues();
            DockNodeGenerationLocationValues = new DockNodeGenerationLocationValues();
            DockNodeRendererCommonValues = new GUI.DockNodeRendererCommonValues();
            DockNodeDrawingValues = new GUI.DockNodeRendererValues();
            DockNodeSoundValues = new GUI.DockNodeSoundValues();
            DockOption = new GUI.DockOption();
            DockEffectBehavior = new GUI.DockEffectBehavior();
            DockFCurves = new GUI.DockFCurves();
            DockCulling = new GUI.DockCulling();
            DockNetwork = new GUI.DockNetwork();

            MainForm.Show();

            LoadConfig();

            DockViewer.ShowViewer();

            Core.MainForm = MainForm;
        }