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