|
-
May 5th, 2016, 02:03 AM
#1
Thread Starter
New Member
Return Owner from Sender Object
Hi all,
I'm trying to dynamically retrieve the owner of a sender object.
Let's say I have Form1, Form2, Button1 and Button2.
I click Button1 on Form1 which Creates a New Form2 with Button2
On creation, I want to dynamically AddHandler of Button2 which Shows a MessageBox with the Name of Form2.
I've sorted everything so far apart from how to get this information back
Essentially, in reality, I suppose all I'm trying to do is add the handler of msgbox(me.name) to Button2
Does anyone have any ideas?
Thanks
Tags for this Thread
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
|