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];*/ }
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];*/ }