示例#1
0
        public ModelViewer()
        {
            Classifications = new EditorClassifications();
            Classifications.Archives = new int[] { 1 };
            StaticFileExtensions = "";
            FileExtensions = "";
            ConfigureForm = new Configure();

            Controls = new Control[1];
            model_viewer = new Cache_Editor_API.Controls.ModelViewer();
            model_viewer.Dock = DockStyle.Fill;
            Controls[0] = model_viewer;
            initialized = false;

            ToolControls = new Control[0];
            /*ToolboxControls t = new ToolboxControls();
            ToolControls = new Control[t.Controls[0].Controls.Count];
            for (int i = 0; i < t.Controls[0].Controls.Count; i++)
                ToolControls[i] = t.Controls[0].Controls[i];*/
        }
示例#2
0
        public ModelViewer()
        {
            Classifications          = new EditorClassifications();
            Classifications.Archives = new int[] { 1 };
            StaticFileExtensions     = "";
            FileExtensions           = "";
            ConfigureForm            = new Configure();

            Controls          = new Control[1];
            model_viewer      = new Cache_Editor_API.Controls.ModelViewer();
            model_viewer.Dock = DockStyle.Fill;
            Controls[0]       = model_viewer;
            initialized       = false;

            ToolControls = new Control[0];

            /*ToolboxControls t = new ToolboxControls();
             * ToolControls = new Control[t.Controls[0].Controls.Count];
             * for (int i = 0; i < t.Controls[0].Controls.Count; i++)
             *      ToolControls[i] = t.Controls[0].Controls[i];*/
        }