Beispiel #1
0
 public TextBoxAdorner()
 {
     InitializeComponent();
     lbPlaceholder.FontSize   = txtBox.FontSize - 1;
     lbPlaceholder.FontStyle  = FontStyles.Italic;
     lbPlaceholder.Foreground = UiEnhancer.GetSolidBrush(Color.FromRgb(0xAA, 0xAA, 0xAA));
 }
 private void wrapper_MouseEnter(object sender, MouseEventArgs e)
 {
     this.Background = UiEnhancer.GetSolidBrush(Color.FromRgb(0xf0, 0xf0, 0xf0));
 }