Click here to Skip to main content
13,044,935 members (39,217 online)
Rate this:
Please Sign up or sign in to vote.
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 6-Jan-11 22:08pm
Updated 7-Jan-11 4:10am
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
Maxdd 7 7-Jan-11 9:10am
Let us know what you've done so far.
Yusuf 7-Jan-11 9:47am
we are here to help. What have you done so far?
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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:

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.

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.

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...
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
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

Take a look here:[^]

and here:[^]

Here, is your start.

You still to decide where are you going to save the information. I suggest XML files or MSSQL Database.
Rate this: bad
Please Sign up or sign in to vote.

Solution 4

hi i have project as you 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
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
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

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

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170713.1 | Last Updated 17 Jan 2014
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100