Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
0
Reply
Getting events from user controls to main application. VB.net windows
Juan Collado
Apr 7 2010 1:28 PM
2.5k
Reply
Ok so I'm finally starting to take advantage of user controls but not grasping some needed concepts.
I am now using three buttons on my application that I have changed the appearance with background image.
I want to use a usercontrol for those three buttons since they will be used by many applications. I want to avoid having to change the appearance on all of them rather than one place.
My problem is that I do not know which button was clicked on the user control.
The three buttons are 1) btReset 2) btSubmit 3) btNextRecord
I need th main application to know when one of the button is clicked so i can call the appropiate codes which is on the main application.
Hope this is not too basic to ask.
Thanks
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
Text on Progress bar
Suspend Combo Box Event