public MeshEditor() { InitializeComponent(); TextureMapEditor = new TextureMapEditor(); AddTab(TextureMapEditor, "Texture Maps"); }
public MaterialEditor() { InitializeComponent(); TextureMapEditor = new TextureMapEditor() { Dock = DockStyle.Fill, }; var tabPage = new TabPage(); tabPage.Text = "Texture Maps"; tabPage.Controls.Add(TextureMapEditor); stTabControl1.Controls.Add(tabPage); }