EmmaLawton
Member
- Joined
- Jun 9, 2004
- Messages
- 5
- Programming Experience
- 5-10
I have a button on a windows form. The click event is supposed to take the text property of a third party name completion control and add it as an item to a listbox. But the click event doesn't fire.
I have issues with events not firing in other applications I have been working on. Has anyone come across this sort of behaviour before?
Private Sub btnAddUser_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAddUser.Click
Dim strUser AsString
strUser = nccUser.Text
lstUsers.SuspendLayout()
lstUsers.Items.Add(nccUser.Text)
lstUsers.ResumeLayout()
EndSub
Thanks
I have issues with events not firing in other applications I have been working on. Has anyone come across this sort of behaviour before?
Private Sub btnAddUser_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAddUser.Click
Dim strUser AsString
strUser = nccUser.Text
lstUsers.SuspendLayout()
lstUsers.Items.Add(nccUser.Text)
lstUsers.ResumeLayout()
EndSub
Thanks