Пример #1
0
        public static bool AreCustomPaletteColoursEmpty()
        {
            CustomColourSettingsManager customPaletteColourManager = new CustomColourSettingsManager();

            if (customPaletteColourManager.GetCustomColourOne() == Color.Empty || customPaletteColourManager.GetCustomColourTwo() == Color.Empty || customPaletteColourManager.GetCustomColourThree() == Color.Empty || customPaletteColourManager.GetCustomColourFour() == Color.Empty || customPaletteColourManager.GetCustomColourFive() == Color.Empty || customPaletteColourManager.GetCustomColourSix() == Color.Empty)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Пример #2
0
        public static void WriteARGBColoursToFile(string colourFilePath)
        {
            CustomColourSettingsManager manager = new CustomColourSettingsManager();

            StreamWriter writer = new StreamWriter(colourFilePath);
        }