TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Ilkin Turk
NA
349
161.2k
c# event
Jan 4 2013 4:54 PM
Hello
How to add an event to method parameters?
for example -> void CreateButton(string text,string name,Color col,
eventhandler
){}
So, when creating dynamically any button i want add predefined event to this button.
Button btn = new Button();
btn.click +=? the event which I added to parameter.
Thanks in advance
Reply
Answers (
2
)
C# obtain data from file name
Copy values from word file and save in Sql Server database