示例#1
0
        private ColorStates(ColorStates colorStates)
        {
            NormalColor      = colorStates.NormalColor;
            HighlightedColor = colorStates.HighlightedColor;
            PressedColor     = colorStates.PressedColor;

            CurrentColor = NormalColor;
        }
示例#2
0
 public static ColorStates Copy(ColorStates colorStates)
 {
     return(new ColorStates(colorStates));
 }