internal static KitColor[] GetColorsOfCountry(int CountryCode) { DataRow[] s = TableOfKitColorsOfCountry.Select("Страна = " + CountryCode); KitColor[] c = new KitColor[s.Length]; for (int i = 0; i < s.Length; i++) { c[i] = new KitColor(s[i]); } return(c); }
internal static KitColor[] GetColorsOfClub(int ClubCode) { DataRow[] s = TableOfKitColorsOfClub.Select("Клуб = " + ClubCode); KitColor[] c = new KitColor[s.Length]; for (int i = 0; i < s.Length; i++) { c[i] = new KitColor(s[i]); } return(c); }
//Перекраска верхней полосы private void RedefineColorsOfTopLine(VNNG2011.KitColor color) { this.TopLine.Background = color.BackColorOfTopLine; this.ThisLevel_TextBlock.Foreground = color.ForeColorOfTopLine; this.UpLevel_TextBlock.Foreground = color.ForeColorOfTopLine; }