how do i resolve this error message
add_click is not a member of 'system.windows.forms.button'
code:
'
'cmdCancel
'
Me.cmdCancel.Location = New System.Drawing.Point(424, 232)
Me.cmdCancel.Name = "cmdCancel"
Me.cmdCancel.TabIndex = 9
Me.cmdCancel.Text = "Cancel"
Me.cmdCancel.add_Click(New EventHandler(AddressOf Me.cmdCancel_Click))