Beispiel #1
0
 private void Box_GotFocus(object sender, EventArgs e)
 {
     IsInput       = true;
     Box.BackColor = ColorUtil.Blend(BgColor, Color.SteelBlue);
     Timer.AddTrigger(20, () =>
     {
         var txt = ThreadSafe.GetTextControl(Box);
         ThreadSafe.SetSelectTextBox(Box, 0, txt.Length);
     });
 }