logo       

Re: Okay, Where did the IDE go for WinForms in C#?: msg#00224

org.user-groups.dotnet.padnug

Subject: Re: Okay, Where did the IDE go for WinForms in C#?



Hi Liz,

The event handlers are "attached" to the control in that "#region
Windows Form Designer generated code" section in the code behind
instead of using the VB "Handles" keyword next to the event. I've
found the easiest way to create them in C# using the IDE is to select
the control, go to the properities window and click the little
"Lightning Bolt" icon to switch from properties to events. Then you
can double click on any of the events and it will create the code for
you that way. Hope that helps!

- DG

--- In padnug@xxxxxxxxxxxxxxx, Liz Gee <lizgeee@xxxx> wrote:
> So where did it go in C#?
>
> Trying to convert code from VB.Net. Ha!
> So I should get C# Step-By-Step, but in the meantime...
> In VB.Net, when you add a DataGrid to a form, you can click on it
and it will bring up the Navigate Handler.
> I want the MouseUp, MouseLeave, KeyDown, all those things that in
VB.Net are in the upper right combobox of the Text editor in the IDE,
in VB.Net.
>
> So Mike says to go to Class view and add Method, Property, Field,
Indexer
> but where did the event hadlers go in C#?
>
> I did C# ASP.Net, but WinForms in C# are new to me, and I am lost in
the IDE.
>
> Elizabeth Gee
> Lost in IDE Space
>
>
> [Non-text portions of this message have been removed]








<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise