Пример #1
0
 public static ColorCenter GetInstance()
 {
     if (instance == null)
     {
         instance = new ColorCenter();
     }
     return(instance);
 }
Пример #2
0
 public override SolidColorBrush GetColorBrush()
 {
     if (UsInfo != null)
     {
         Color c = ColorCenter.GetInstance().GetRainDefectPipeColor(UsInfo.Struct_Class);
         return(new SolidColorBrush(c));
     }
     else
     {
         return(ColorCenter.GetInstance().Pipe_Rain_Fill_Color);
     }
 }
Пример #3
0
 public override SolidColorBrush GetColorBrush()
 {
     return(ColorCenter.GetInstance().Cover_Waste_Fill_Color);
 }
Пример #4
0
 public static ColorCenter GetInstance()
 {
     if (instance == null)
         instance = new ColorCenter();
     return instance;
 }
Пример #5
0
 public virtual SolidColorBrush GetColorBrush()
 {
     return(ColorCenter.GetInstance().Seleted_Fill_Color);
 }