示例#1
0
        public async override void EndInit()
        {
            base.EndInit();
            RequestTB.IsEnabled = false;
            await Task.Delay(500);

            RequestTB.IsEnabled = true;
            RequestTB.Focus();
        }
示例#2
0
 protected override void OnActivated(EventArgs e)
 {
     base.OnActivated(e);
     RequestTB.Focus();
 }