TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Moose Pickard
NA
64
70.4k
Where should I put my top level code?
Oct 3 2010 6:43 AM
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
Reply
Answers (
12
)
Alternative of DataWindow in C#
add new tab in every new opened form