Example #1
0
        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);
        }
Example #2
0
        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);
        }
Example #3
0
 //Перекраска верхней полосы
 private void RedefineColorsOfTopLine(VNNG2011.KitColor color)
 {
     this.TopLine.Background             = color.BackColorOfTopLine;
     this.ThisLevel_TextBlock.Foreground = color.ForeColorOfTopLine;
     this.UpLevel_TextBlock.Foreground   = color.ForeColorOfTopLine;
 }