Windows form specifying focus to control

From , 4 Years ago, written in C#, viewed 236 times.
URL https://pastebin.vip/view/671f0311
  1. // A example event:
  2. private void btnExampleCommand_Click(object sender, EventArgs e)
  3. {
  4.  
  5.     // That's all:
  6.     this.ActiveControl = this.SomeControlObject;
  7.  
  8.     // This line focuses a control
  9.  
  10. }

Reply to "Windows form specifying focus to control"

Here you can reply to the paste above

captcha

https://burned.cc - Burn After Reading Website