예제 #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);
 }
예제 #2
0
 public ColourHelper(AppManager appManager) : base(appManager)
 {
     pc = PaintColours.GetPaintColoursInstance();
 }