The following code example demonstrates how to set the DefaultFocus property to display a specified control on a form as the control with input focus when the form loads.

 
  • 下面的代码示例演示如何设置DefaultFocus属性,以在加载窗体后将窗体上的指定控件显示为具有输入焦点的控件。
今日热词
目录 附录 查词历史