private void XUC_SetupChange_Load(object sender, EventArgs e) { _r1 = this; SetupChangeFL.vGridControl1.Appearance.RowHeaderPanel.BackColor = Color.OrangeRed; SetupChangeFR.vGridControl1.Appearance.RowHeaderPanel.BackColor = Color.LightGreen; SetupChangeRL.vGridControl1.Appearance.RowHeaderPanel.BackColor = Color.RoyalBlue; SetupChangeRR.vGridControl1.Appearance.RowHeaderPanel.BackColor = Color.Yellow; SetupChangeFL.checkedListBoxControlChanges.Appearance.BorderColor = Color.OrangeRed; SetupChangeFR.checkedListBoxControlChanges.Appearance.BorderColor = Color.LightGreen; SetupChangeRL.checkedListBoxControlChanges.Appearance.BorderColor = Color.RoyalBlue; SetupChangeRR.checkedListBoxControlChanges.Appearance.BorderColor = Color.Yellow; SetupChangeFL.checkedListBoxControlConstraints.Appearance.BorderColor = Color.OrangeRed; SetupChangeFR.checkedListBoxControlConstraints.Appearance.BorderColor = Color.LightGreen; SetupChangeRL.checkedListBoxControlConstraints.Appearance.BorderColor = Color.RoyalBlue; SetupChangeRR.checkedListBoxControlConstraints.Appearance.BorderColor = Color.Yellow; SetupChangeFL_Results.vGridControl1.Appearance.RowHeaderPanel.BackColor = Color.OrangeRed; SetupChangeFR_Results.vGridControl1.Appearance.RowHeaderPanel.BackColor = Color.LightGreen; SetupChangeRL_Results.vGridControl1.Appearance.RowHeaderPanel.BackColor = Color.RoyalBlue; SetupChangeRR_Results.vGridControl1.Appearance.RowHeaderPanel.BackColor = Color.Yellow; SetupChangeFL_Results.groupControl1.Text = "Front Left Results"; SetupChangeFR_Results.groupControl1.Text = "Front Right Results"; SetupChangeRL_Results.groupControl1.Text = "Rear Left Results"; SetupChangeRR_Results.groupControl1.Text = "Rear Right Results"; }
public XUC_SetupChange() { InitializeComponent(); // Handling the QueryControl event that will populate all automatically generated Documents this.tabbedView1.QueryControl += tabbedView1_QueryControl; _r1 = this; dockPanelResults.Visibility = DockVisibility.Hidden; dockPanelFL.Width = dockPanelFR.Width = this.Width / 2; dockPanelRL.Width = dockPanelRR.Width = this.Width / 2; }
/// <summary> /// Overloaded Constructor /// </summary> /// <param name="_setupChangeName">Name of the Setup Change</param> /// <param name="_setupChangeID">ID of the Setup Change </param> public SetupChange_GUI(string _setupChangeName, int _setupChangeID) { R1 = Kinematics_Software_New.AssignFormVariable(); ///<summary>Assinging the Name</summary> _SetupChangeName = _setupChangeName + _setupChangeID; ///<summary>Assinging the ID</summary> _SetupChangeID = _setupChangeID; ///<summary>Initializing the <see cref="SetupChange_CornerVariables"/>objects</summary> setupChangeFL_GUI = new SetupChange_CornerVariables(); setupChangeFR_GUI = new SetupChange_CornerVariables(); setupChangeRL_GUI = new SetupChange_CornerVariables(); setupChangeRR_GUI = new SetupChange_CornerVariables(); XUC_SetupChange = new XUC_SetupChange(); ///<summary>Initializing the <see cref="NavBarItem"/> Object</summary> navBarItemSetupChange = new CusNavBarItem(_setupChangeName, _setupChangeID, this); ///<summary>Initialzing the <see cref="CustomXtraTabPage"/> object</summary> TabPage_SetupChangeGUI = CustomXtraTabPage.CreateNewTabPage_ForInputs(_setupChangeName, _setupChangeID); }
public void AssignCurrentUserControlState() { _r1 = this; }