Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
12
Reply
Where should I put my top level code?
Moose Pickard
Oct 3 2010 6:43 AM
3.2k
Reply
Hi
I'v got with my program this far to start using top level code.
If you look at my scheme you can see the top level is program:
http://tempuri.org/tempuri.html
I need to know where should I put the exchangeCar, login, logout method.
I tried to put them in program.cs, but it gives me "cannot declare instance members in static class" error
I tried to put it in the form.cs but this gives me some inconsistent accessibility error.
I want to know where should I put the methods? Program.cs, Form.cs or create another superclass?
Thank you
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
12
)
Next Recommended Forum
Alternative of DataWindow in C#
add new tab in every new opened form