Click here to Skip to main content
15,888,037 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
hey everybody,

The project is about making a library visual C# program.It includes two windows(that means two prime classes, I THINK!).

One to let the student enter his ID, name, dad's name, mom's name, address, how many books, mags, newspapers he wants to borrow (I'll tell it to you a few lines further)... After we enter, the info are stored in a students array that we can easily return to by entering a student's name and hitting the search button so his info will pop up & tells us his info and how many books has he borrowed.

Other thing is the "things" in the library. There's "Books" (a class), "Mags" (class they mean), & newspapers(another class)....all of them are related by the inheritance(don't really know what do it means :p)
the books are meant to be borrowed have NAME, author's name, & ISBN & the borrow deadline is 2 weeks.
The Mags has A name, issue date, & the borrow deadline is one week.
the newspapers has a name, issue date & a borrow deadline is 3 days
and any of the things in the library if a student borrowed it, it can't be available for the others.....

I hope I gave you a full idea, hope you're not feeling dizzy, an hope you can help me in my humble & little project :P
Posted
Updated 7-Jan-11 4:10am
v4
Comments
Manas Bhardwaj 7-Jan-11 4:15am    
What have you done so far?
Richard MacCutchan 7-Jan-11 4:23am    
You've got 24 hours and you don't even know how to start? I think you are being over optimistic about your own abilities and also the likelihood that someone here is going to write it for you.
Kasson 7-Jan-11 4:25am    
We are here to help you. Not to do your homework.
Abhinav S 7-Jan-11 7:56am    
Homework....
Maxdd 7 7-Jan-11 9:10am    
Let us know what you've done so far.

You have 24 hours. That's enough time, if you sit down and actually start work. Perhaps you should have started this before the Christmas break?

It is very unlikely anyone is going to just give you the code: why would we do your homework? However, your description covers most of the details:

Classes:
You need a Book , a Magazine, and a Newspaper: all of which are derived from a LibraryObject (you say that yourself, so do it - it's all in your notes). You have said what they need to contain already!
You will also need a Student class to borrow things.

Forms:
You need a main form, which lists all the objects available and lets you search for students.
You will need a second form which displayed a students loan details.

Storage:
You will need some way to persist book info, student info, loans. Since I am not on your course, I can't suggest anything - I don't know what you have done so far and don't want to confuse things.

So, sit down, finish the design, and start coding. If you have a specific problem, ask for help on that, but bear in mind that you are short on time - you may find it quicker to do it yourself...
 
Share this answer
 
Comments
#realJSOP 7-Jan-11 10:37am    
He's Syrian - he can't even blame his procrastination on the holiday break. That leaves laziness or an inate inability to prioritize.
thatraja 7-Jan-11 13:22pm    
Clever answer
Take a look here:

http://www.techotopia.com/index.php/Creating_a_Simple_C_Sharp_GUI_Application_with_Visual_Studio[^]

and here:

http://msdn.microsoft.com/en-us/library/360kwx3z(v=vs.90).aspx[^]

Here, is your start.

You still to decide where are you going to save the information. I suggest XML files or MSSQL Database.
 
Share this answer
 
hi i have project as you are....my project is due 2nd week of FEB
i made quite a progress however myDesigns are not yet finish


the nly problem i have is about the LOGin and the borrowning system..
i already remade my database now with relationship...(MS ACCESS) can you give me insights??? i'll upload my codes and project
 
Share this answer
 
Comments
CHill60 17-Jan-14 19:59pm    
You have posted this as a solution to a 3 year old question. No one is going to do your homework for you
You may find this helpful
The DX Airways project and source code[^]

It's not a solution to your problem, but it should give you some idea about solving it...

Good luck
Espen Harlinn
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900