示例#1
0
 public static PaintColours GetPaintColoursInstance()
 {
     if (instance == null)
     {
         instance = new PaintColours();
         instance.AddNewColour(1065, 60, "Indigo");
         instance.AddNewColour(980, 65, "Orange");
         instance.AddNewColour(930, 85, "Brown");
     }
     return(instance);
 }
 public ColourHelper(AppManager appManager) : base(appManager)
 {
     pc = PaintColours.GetPaintColoursInstance();
 }