public static ColorCenter GetInstance() { if (instance == null) { instance = new ColorCenter(); } return(instance); }
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); } }
public override SolidColorBrush GetColorBrush() { return(ColorCenter.GetInstance().Cover_Waste_Fill_Color); }
public static ColorCenter GetInstance() { if (instance == null) instance = new ColorCenter(); return instance; }
public virtual SolidColorBrush GetColorBrush() { return(ColorCenter.GetInstance().Seleted_Fill_Color); }