public FormMain(Project.Project project) { this.currentProject = project; SuspendLayout(); var menuStrip = new MenuStrip(); menuStrip.Items.Add("File"); menuStrip.Items.Add("Edit"); menuStrip.Items.Add("View"); var toolStrip = new ToolStrip(); toolStrip.Items.Add("Insert Key Change"); toolStrip.Items.Add("Insert Meter Change"); var split = new SplitContainer(); split.Dock = DockStyle.Fill; var trackManager = new ToolWindows.TrackManagerWindow(this); trackManager.Dock = DockStyle.Fill; split.Panel1.Controls.Add(trackManager); this.editorControl = new Editor.ControlEditor(this); this.editorControl.Dock = DockStyle.Fill; split.Panel2.Controls.Add(this.editorControl); this.editor = this.editorControl.viewManager; trackManager.RefreshTracks(); this.Controls.Add(split); this.Controls.Add(toolStrip); this.Controls.Add(menuStrip); this.MainMenuStrip = menuStrip; this.Width = 900; this.Height = 600; ResumeLayout(false); PerformLayout(); split.SplitterDistance = 200; editor.Rebuild(); Refresh(); }
public TrackSegment(ViewManager manager, Row row) { this.manager = manager; this.row = row; }
public Element(ViewManager manager) { this.manager = manager; }