|
-
Oct 4th, 2006, 05:30 PM
#1
[RESOLVED] [1.0/1.1] What's in C# as Handles in VB?
Hello,
When we create a function or Sub, say Button1.Click, then at the end [Handles Button1.Click] is appended. So if I make a custom function or Sub and append the Handles Button1.Click at its end, clicking the button will call the function automatically.
I could not remember how I implemented this thing in C#. Please could somebody tell me??
Thank you.
-
Oct 4th, 2006, 05:35 PM
#2
Re: [1.0/1.1] What's in C# as Handles in VB?
Button1.Click += New EventHandler(method_name);
-
Oct 4th, 2006, 06:03 PM
#3
Re: [1.0/1.1] What's in C# as Handles in VB?
Thank you, and I even sorted out my problem.
Thank you again.
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
|