Exemplo n.º 1
0
		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;
		}
Exemplo n.º 2
0
        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));
        }
Exemplo n.º 3
0
        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;
        }
Exemplo n.º 4
0
        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()));
        }