Пример #1
0
        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);
        }
Пример #2
0
		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);
		}