If e.Sender.name="Label1"
Dim fnt As New Font("黑体",20,FontStyle.Underline)
Dim X As Integer=System.Windows.Forms.Cursor.Position.X
Dim Y As Integer=System.Windows.Forms.Cursor.Position.Y
e.Form.Controls("Label1").Visible=False
Dim lbl As WinForm.Label=e.Form.CreateControl("放大",ControlTypeEnum.Label)
lbl.Visible=True
lbl.text = "Foxtable"
lbl.Left = x
lbl.Top = y
lbl.Font=fnt
e.Form.AddControl(lbl)
End If