afterLoad事件
vars("pcontrol") = e.Form.Controls("TextBox1")
窗口全局事件Enter
If typeOf e.Sender Is winform.TextBox Then vars("pcontrol") = e.senderEnd If
按钮事件
vars("pcontrol").TextAlign = HorizontalAlignment.Center