Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
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 23:08pm
obzajd425
Edited 7-Jan-11 5:10am
v4
Comments
Kasson at 7-Jan-11 4:25am
   
We are here to help you. Not to do your homework.
Richard MacCutchan at 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.
Manas Bhardwaj at 7-Jan-11 4:15am
   
What have you done so far?
Abhinav S at 7-Jan-11 7:56am
   
Homework....
Maxdd 7 at 7-Jan-11 9:10am
   
Let us know what you've done so far.
Yusuf at 7-Jan-11 9:47am
   
we are here to help. What have you done so far?
Rate this: bad
good
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:
 
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...
  Permalink  
Comments
thatraja at 7-Jan-11 13:22pm
   
Clever answer
   
He's Syrian - he can't even blame his procrastination on the holiday break. That leaves laziness or an inate inability to prioritize.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

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

Solution 4

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
  Permalink  
Comments
CHill60 at 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
good
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
  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 545
1 OriginalGriff 285
2 Shweta N Mishra 244
3 Mathew Soji 225
4 BillWoodruff 200
0 OriginalGriff 6,153
1 Sergey Alexandrovich Kryukov 5,758
2 DamithSL 4,958
3 Manas Bhardwaj 4,539
4 Maciej Los 3,735


Advertise | Privacy | Mobile
Web03 | 2.8.1411019.1 | Last Updated 17 Jan 2014
Copyright © CodeProject, 1999-2014
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