If e.form.Controls.contains("btn1") = False Then Dim lbl As WinForm.Button lbl = e.Form.CreateControl("btn1", ControlTypeEnum.button) lbl.Text = "Foxtable" lbl.Left = 100 lbl.Top = 100 e.Form.AddControl(lbl)End If