public OutputView(MainForm main) { CloseButton = false; DockAreas = ( DockAreas.Float | DockAreas.DockBottom | DockAreas.DockTop | DockAreas.DockLeft | DockAreas.DockRight); ShowHint = DockState.DockBottom; Text = "Output"; _console = new OutputViewControl(); _console.MainForm = main; _console.Dock = DockStyle.Fill; Controls.Add(_console); }
public TutorialOutlineView(MainForm main) { _main = main; Text = "Tutorial Outline"; DockAreas = ( DockAreas.Float | DockAreas.DockLeft | DockAreas.DockRight); ClientSize = new Size(295, 347); DockPadding.Bottom = 2; DockPadding.Top = 2; ShowHint = DockState.DockLeft; CloseButton = false; _outline = new TutorialOutlineViewControl(); _outline.Dock = DockStyle.Fill; _tree = _outline.TreeView; _tree.AfterSelect += _tree_AfterSelect; Controls.Add(_outline); }