Example #1
0
 /// <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);
 }
Example #2
0
 /// <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);
 }