コード例 #1
0
ファイル: DisplaySetup.cs プロジェクト: stewmc/vixen
		private void DisplaySetup_Load(object sender, EventArgs e)
		{
			_setupElementsTree = new SetupElementsTree(_elementTemplates, _elementSetupHelpers);
			//_setupElementsTree.Dock = DockStyle.Fill;
			_setupElementsTree.MasterForm = this;

			_setupPatchingSimple = new SetupPatchingSimple();
			//_setupPatchingSimple.Dock = DockStyle.Fill;
			_setupPatchingSimple.MasterForm = this;
			_setupPatchingGraphical = new SetupPatchingGraphical();
			//_setupPatchingGraphical.Dock = DockStyle.Fill;
			_setupPatchingGraphical.MasterForm = this;

			_setupControllersSimple = new SetupControllersSimple();
			//_setupControllersSimple.Dock = DockStyle.Fill;
			_setupControllersSimple.MasterForm = this;

			activateControllersControl(_setupControllersSimple);
			activateElementControl(_setupElementsTree);
			
			radioButtonPatchingSimple.Checked = true;
			splitContainer1.SplitterDistance = elementPanelFlowLayoutPanel.Width + 10;
			splitContainer2.SplitterDistance = patchingPaneFlowLayoutPanel.Width + 6;
		}
コード例 #2
0
ファイル: DisplaySetup.cs プロジェクト: Jchuchla/vixen
        private void DisplaySetup_Load(object sender, EventArgs e)
        {
            _setupElementsTree = new SetupElementsTree(_elementTemplates, _elementSetupHelpers);
            _setupElementsTree.Dock = DockStyle.Fill;
            _setupElementsPreview = new SetupElementsPreview();
            _setupElementsPreview.Dock = DockStyle.Fill;

            _setupPatchingSimple = new SetupPatchingSimple();
            _setupPatchingSimple.Dock = DockStyle.Fill;
            _setupPatchingGraphical = new SetupPatchingGraphical();
            _setupPatchingGraphical.Dock = DockStyle.Fill;

            _setupControllersSimple = new SetupControllersSimple();
            _setupControllersSimple.Dock = DockStyle.Fill;

            radioButtonElementTree.Checked = true;
            radioButtonPatchingSimple.Checked = true;
            radioButtonControllersStandard.Checked = true;

            buttonHelp.Image = new Bitmap(Common.Resources.Properties.Resources.help, new Size(16, 16));
        }
コード例 #3
0
ファイル: DisplaySetup.cs プロジェクト: komby/vixen
        private void DisplaySetup_Load(object sender, EventArgs e)
        {
            _setupElementsTree = new SetupElementsTree(_elementTemplates, _elementSetupHelpers);
            _setupElementsTree.Dock = DockStyle.Fill;
            _setupElementsTree.MasterForm = this;
            _setupElementsPreview = new SetupElementsPreview();
            _setupElementsPreview.Dock = DockStyle.Fill;
            _setupElementsPreview.MasterForm = this;

            _setupPatchingSimple = new SetupPatchingSimple();
            _setupPatchingSimple.Dock = DockStyle.Fill;
            _setupPatchingSimple.MasterForm = this;
            _setupPatchingGraphical = new SetupPatchingGraphical();
            _setupPatchingGraphical.Dock = DockStyle.Fill;
            _setupPatchingGraphical.MasterForm = this;

            _setupControllersSimple = new SetupControllersSimple();
            _setupControllersSimple.Dock = DockStyle.Fill;
            _setupControllersSimple.MasterForm = this;

            radioButtonElementTree.Checked = true;
            radioButtonPatchingSimple.Checked = true;
            radioButtonControllersStandard.Checked = true;
        }
コード例 #4
0
ファイル: DisplaySetup.cs プロジェクト: jaredb7/vixen
        private void DisplaySetup_Load(object sender, EventArgs e)
        {
            _setupElementsTree = new SetupElementsTree(_elementTemplates, _elementSetupHelpers);
            _setupElementsTree.Dock = DockStyle.Fill;
            _setupElementsTree.MasterForm = this;

            _setupPatchingSimple = new SetupPatchingSimple();
            //_setupPatchingSimple.Dock = DockStyle.Fill;
            _setupPatchingSimple.MasterForm = this;
            _setupPatchingGraphical = new SetupPatchingGraphical();
            //_setupPatchingGraphical.Dock = DockStyle.Fill;
            _setupPatchingGraphical.MasterForm = this;

            _setupControllersSimple = new SetupControllersSimple();
            //_setupControllersSimple.Dock = DockStyle.Fill;
            _setupControllersSimple.MasterForm = this;

            activateControllersControl(_setupControllersSimple);
            activateElementControl(_setupElementsTree);

            radioButtonPatchingSimple.Checked = true;
            splitContainer1.SplitterDistance = tableLayoutPanelElementSetup.Width + 6;
            splitContainer2.SplitterDistance = (int)(tableLayoutPanelPatchingSetup.Width + (10 * ScalingTools.GetScaleFactor()));
        }