Results 1 to 3 of 3

Thread: [RESOLVED] [3.0/LINQ] Stupid Question

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2006
    Posts
    169

    Resolved [RESOLVED] [3.0/LINQ] Stupid Question

    So, I just started my first C# application. In VB.net you can view the form events by clicking the drop down at the top left that says "Form1 Events" and on the right drop down box by clicking the event you want to code.

    How do I view the form events in C#?

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [3.0/LINQ] Stupid Question

    That list in VB contains all the variables declared WithEvents, thus able to be included in a Handles clause. C# doesn't have WithEvents or Handles clauses, so it doesn't have that list. C# has always provided access to design time event handler creation via the Properties window, by clicking the Events button. Now that VB allows you to add a control or component at design time without creating a member variable, it provides the same functionality too.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Nov 2006
    Posts
    169

    Re: [3.0/LINQ] Stupid Question

    Found it..Thanks a lot!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width