-
July 20th, 2021, 05:05 PM
#1
User Control LIST - Setup & Handling of events - NOOB
Hi guys,
New here, so Hi Ya'll. It's been a LONG time since I've done any C# code, so this might sound elementary and dumb, but here goes. (BTW this is WinForms)
I want to develop a control that contains various other standard controls like buttons and text boxes - I'll call it MYCONTROL. That's easy and I know how to do that, but how do I dynamically create instances of MYCONTROL so that I can:
1. Respond to their events.
2. Find out the specific instance and get access to it's data & methods.
3. Communicate / update the instance's data and fire it's methods.
4. Add & delete instances dynamically.
I think that about covers it. I'd be happy to be pointed in the right direction or to look at some example code that I can learn from. Again - I'm rusty and my skills harken for over 10 years ago so please be kind! :-)
Thanks
Doug
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|