Can I do this in C# with Drag-n-Drop?

Started by
1 comment, last by The Orange Peanut 20 years, 4 months ago
In VB6, I could select a control and then select an event (like button click or mouse down). Well, in C#, I double click a control and it automaticall puts code for an event, like when I do a button its button click. What if I want mousehover? Is the only way to do that editing the code, or can I do that with teh UI? Thanks.
Dat is off da hizzle fo shizzle dizzle
Advertisement
Greetings,

In the properties window, there is a little button with a lightning bolt on it. Click that button, then a list of all events will be displayed. Double click the event you want to add.

Just as a side note: You can also add your own events


Cheers.
Thanks.

I just want to develop GUI applications right now. When I make an app or two that functions, Ill get back into learning and make my controls at runtime, and events, too. Get into the GDI and whatnot. But not right now

Thanks again.
Dat is off da hizzle fo shizzle dizzle

This topic is closed to new replies.

Advertisement