C#.net code help

davidcantor
3StarLounger
Posts: 247
Joined: 05 Nov 2012, 19:40

C#.net code help

Post by davidcantor »

code1.gif
when i run this code I get an error on line :

Code: Select all

private void Form1_load(object sender,EventArgs e)
error is on void Expected class, delegate, enum, interface or struct

what does this mean?
You do not have the required permissions to view the files attached to this post.

User avatar
HansV
Administrator
Posts: 78493
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: C#.net code help

Post by HansV »

Don't hold your breath - the focus of this forum is on VB and VBA. I'm not sure we have a C# expert on board...
Best wishes,
Hans

User avatar
rory
5StarLounger
Posts: 817
Joined: 24 Jan 2010, 15:56

Re: C#.net code help

Post by rory »

Do you actually have a Form1 in the project? Where is that code located?
Regards,
Rory