/// <summary> /// 获取正在绘制的背景色 /// </summary> /// <returns></returns> protected override long GetPaintingBackColor() { if (Native.PushedControl == this) { return(COLOR.Reverse(null, CDraw.PCOLORS_BACKCOLOR8)); } else if (Native.HoveredControl == this) { return(COLOR.RatioColor(null, CDraw.PCOLORS_BACKCOLOR8, 0.95)); } else { return(CDraw.PCOLORS_BACKCOLOR8); } }