| | |
| | | bool userTextPresent = !string.IsNullOrEmpty(Text); |
| | | Rectangle helperTextRect = new(LEFT_PADDING - _prefix_padding, LINE_Y + ACTIVATION_INDICATOR_HEIGHT, Width - (LEFT_PADDING - _prefix_padding) - _right_padding, HELPER_TEXT_HEIGHT); |
| | | Rectangle hintRect = new(_left_padding - _prefix_padding, HINT_TEXT_SMALL_Y, Width - (_left_padding - _prefix_padding) - _right_padding, HINT_TEXT_SMALL_SIZE); |
| | | int hintTextSize = 12; |
| | | int hintTextSize = 8; |
| | | |
| | | // bottom line base |
| | | g.FillRectangle(SkinManager.DividersAlternativeBrush, 0, LINE_Y, Width, 1); |
| | |
| | | new(destRect.Width, 0), |
| | | new(0, destRect.Height), |
| | | }, |
| | | destRect, GraphicsUnit.Pixel, grayImageAttributes); |
| | | destRect, GraphicsUnit.Pixel);// 不要灰色 , grayImageAttributes); |
| | | } |
| | | |
| | | //Create a pre - processed copy of the image(RED) |
| | |
| | | new(destRect.Width, 0), |
| | | new(0, destRect.Height), |
| | | }, |
| | | destRect, GraphicsUnit.Pixel, grayImageAttributes); |
| | | destRect, GraphicsUnit.Pixel);//, grayImageAttributes); |
| | | } |
| | | |
| | | //Create a pre - processed copy of the image(RED) |