/// <summary> /// Code to change the colour of all the controls on the usercontrol /// </summary> public void ChangeColour() { ColourChange.ColourPanel(pnlMain); ColourChange.ColourPanel(pnlTitle); ColourChange.ColourLabel(lblTitle); ColourChange.ColourDGV(dgvLeaguePositions); }
/// <summary> /// code that changes the colour of the controls /// </summary> public void colourChange() { ColourChange.ColourSplitPanel(spnlFixtures); ColourChange.ColourSplitPanel(spnlHeader); ColourChange.ColourLabel(lblFixtures); ColourChange.ColourLabel(lblResults); ColourChange.ColourDGV(dgvFixtures); ColourChange.ColourDGV(dgvResults); ColourChange.ColourPanel(pnlAdmin); ColourChange.ColourPanel(pnlEditing); ColourChange.ColourPanel(pnlEditMode); ColourChange.ColourTextbox(txtHomeTeam); ColourChange.ColourTextbox(txtAwayTeam); ColourChange.ColourLabel(lblAwayGoals); ColourChange.ColourLabel(lblAwayTime); ColourChange.ColourLabel(lblDate); ColourChange.ColourLabel(lblHomeGoals); ColourChange.ColourLabel(lblTime); ColourChange.ColourLabel(lblHomeTeam); ColourChange.ColourNumericUD(nudAwayGoals); ColourChange.ColourNumericUD(nudHomeGoals); ColourChange.ColourDTP(dtpDate); ColourChange.ColourDTP(dtpTime); ColourChange.ColourButton(cmdAccept); ColourChange.ColourButton(cmdAdd); ColourChange.ColourButton(cmdAddResult); ColourChange.ColourButton(cmdCancel); ColourChange.ColourButton(cmdDelete); ColourChange.ColourButton(cmdEdit); }
/// <summary> /// code that changes the colour of all controls /// </summary> public void colourChange() { ColourChange.ColourPanel(pnlHeader); ColourChange.ColourPanel(pnlPlayerInformation); ColourChange.ColourPanel(pnlPlayers); ColourChange.ColourPanel(pnlCommands); ColourChange.ColourPanel(pnlStandard); ColourChange.ColourPanel(pnlEdit); ColourChange.ColourDGV(dgvTeamDetails); ColourChange.ColourLabel(lblTeamDetails); ColourChange.ColourLabel(lblPlayerInformation); ColourChange.ColourLabel(lblForname); ColourChange.ColourLabel(lblSurname); ColourChange.ColourLabel(lblDoB); ColourChange.ColourLabel(lblRole); ColourChange.ColourTextbox(txtForname); ColourChange.ColourTextbox(txtSurname); ColourChange.ColourTextbox(txtRole); ColourChange.ColourDTP(dtpDateOfBirth); ColourChange.ColourButton(cmdAccept); ColourChange.ColourButton(cmdCancel); ColourChange.ColourButton(cmdAdd); ColourChange.ColourButton(cmdUpdate); ColourChange.ColourButton(cmdDelete); }
/// <summary> /// code that changes the colour of all controls /// </summary> public void colourChange() { ColourChange.ColourSplitPanel(splitContainer1); ColourChange.ColourPanel(pnlAdmin); ColourChange.ColourPanel(pnlEdit); ColourChange.ColourPanel(pnlStandard); ColourChange.ColourTextbox(txtStadium); ColourChange.ColourTextbox(txtTeamName); ColourChange.ColourLabel(lblCurrentTeams); ColourChange.ColourLabel(lblStadium); ColourChange.ColourLabel(lblTeamName); ColourChange.ColourDGV(dgvTeams); ColourChange.ColourButton(cmdAdd); ColourChange.ColourButton(cmdCancel); ColourChange.ColourButton(cmdConfirm); ColourChange.ColourButton(cmdDelete); ColourChange.ColourButton(cmdDelete); ColourChange.ColourButton(cmdUpdate); }
/// <summary> /// code that changes the colour of the controls /// </summary> public void colourChange() { ColourChange.ColourSplitPanel(splitContainer1); ColourChange.ColourPanel(pnlAdmin); ColourChange.ColourPanel(pnlEdit); ColourChange.ColourPanel(pnlStandard); ColourChange.ColourTextbox(txtLeagueName); ColourChange.ColourTextbox(txtSponsor); ColourChange.ColourNumericUD(nudCapacity); ColourChange.ColourLabel(lblCapacity); ColourChange.ColourLabel(lblCurrentLeagues); ColourChange.ColourLabel(lblLeagueName); ColourChange.ColourLabel(lblSponsor); ColourChange.ColourDGV(dgvLeagues); ColourChange.ColourButton(cmdAdd); ColourChange.ColourButton(cmdCancel); ColourChange.ColourButton(cmdConfirm); ColourChange.ColourButton(cmdDelete); ColourChange.ColourButton(cmdUpdate); }
/// <summary> /// code that changes the colour of the controls /// </summary> public void colourChange() { ColourChange.ColourSplitPanel(splitContainer1); ColourChange.ColourPanel(pnlAdmin); ColourChange.ColourPanel(pnlEdit); ColourChange.ColourPanel(pnlStandard); ColourChange.ColourTextbox(txtUsername); ColourChange.ColourTextbox(txtPassword); ColourChange.ColourTextbox(txtPasswordVerfic); ColourChange.ColourCombobox(cboAccess); ColourChange.ColourLabel(lblAccess); ColourChange.ColourLabel(lblCurrentLogins); ColourChange.ColourLabel(lblPassword); ColourChange.ColourLabel(lblPasswordVerific); ColourChange.ColourLabel(lblUsername); ColourChange.ColourDGV(dgvPasswords); ColourChange.ColourButton(cmdAdd); ColourChange.ColourButton(cmdCancel); ColourChange.ColourButton(cmdConfirm); ColourChange.ColourButton(cmdDelete); ColourChange.ColourButton(cmdDelete); ColourChange.ColourButton(cmdUpdate); }