/// <summary> /// Code that changes the colour of objects on the form /// </summary> private void colourChange() { ColourChange.ColourForm(this); ColourChange.ColourButton(cmdStandard); ColourChange.ColourButton(cmdHighContrast); ColourChange.ColourButton(cmdRed); }
/// <summary> /// Code to change the colour of all objects and usercontrols /// </summary> private void colourchange() { ColourChange.ColourForm(this); ColourChange.ColourMenuStrip(menuStrip1); leagueView1.ChangeColour(); fixtureView1.colourChange(); teamView1.colourChange(); }
/// <summary> /// code to change all of the colours on the form /// </summary> private void colourchange() { ColourChange.ColourForm(this); ColourChange.ColourButton(cmdLogin); ColourChange.ColourLabel(lblUsername); ColourChange.ColourLabel(lblPassword); ColourChange.ColourLabel(lblVerifyPassword); ColourChange.ColourTextbox(txtUsername); ColourChange.ColourTextbox(txtPassword); ColourChange.ColourTextbox(txtVerifyPassword); }
/// <summary> /// Change the form's colour by changing the colour of all controls and passing the command down to the usercontrols /// </summary> private void colourchange() { ColourChange.ColourForm(this); ColourChange.ColourMenuStrip(menuStrip1); fixtureView1.colourChange(); leagueDetailsView1.colourChange(); leagueView1.ChangeColour(); passwordControlView1.colourChange(); teamDetailsView1.colourChange(); teamView1.colourChange(); leagueTeamAssignmentView1.colourChange(); }