Sei sulla pagina 1di 20

Table of Contents.

1. Program Structure of an Assignment ...2 2. Program Flows...4 3. Class definitions and relationship.. ...6 4. Procedures Validation and Explanation...7 5. Forms Snapshots.11 6. Printed File Snapshots...19 7. Test data and Test Results 20 8. Assumption Made..20 9. Enhancement that have been made to the given specification..20 10. Source Code.(Part B File).

Program Structures of an Assignment.


The structure of the Membership Management System program contains altogether eleven forms for the user interface (Contains MDI Parents Forms, MDI Child Form And Splash screen Form), and two classes to store the Event and Members data and a module. The program starts with the Splash Screen form. This Form controls the Progress bar, when the progress bar value is 100 then it shows the MDI Form named Main_form. This form contains the several Menu item such as Member Menu, Event Menu, and Print Menu and the menu item about the Programmer. In the Member Menu Item theres a sub Menu Item which are Add Member, Remove Member, Modify Member and Query Member and Exit Button .In the Event Menu Item theres a sub Menu Items which are Event Entry, Event Remove, Event Update And Event Attendance. Under the Print Menu Item theres also a Sub menu Items theirs is Print Attendance, Member List and Event Details Sub Menu. The frmAddMember form is use to get the Members and Members Type Attributes. The Member object contains Member Id, Member Name, Member Type, membership Fee, Members Address and their details. The FrmPrintMemberList Form is used to Edit the Members Details, Remove the Members and To print the Members Details. The FrmEvent_Register Form is used to get the Event and Events Details. The FrmEvent Form is used to Edit the Event Details, Remove the Events and To print the Events Details.

The FrmQuery is used to Search the Members Details. The FrmPrintAttendance is used to print Attendance of the Members Joining the Event and Frmattendance is used to Make the Attendance of the Member Who is invited and joined the Event. The Member class contains private variables to store the Members details of Members ID ,Members Details, Membership Type, Membership Fee ,Membership Join Date and Membership End Date. The Event class also contains private variables to store the Event details of Event Name, Event No, Event Fee, Event Venue ,Time, Date and Memo Fields . There are public properties which get and set the private variables, and also provide functionality for checking whether certain variables have already been set. The Membership Management System Program also contains the module name MMS_Module.

Explanation of program flow


Upon starting the program, the Splash Screen form is displayed to the user. When the Progress Bar Value is 100 then a Main Form is displayed to user. In order to add the new Member the user has to press the Add member menu from the Member Menu. Upon Clicking a New Form For Adding Member Will Be Displayed. The textbox controls are blank .Here the user has to fill all the textbox If any of the entered data is blank or is not valid, then a Message box will be shown with an error message. The error message will tell the user which details need to be corrected. Upon the Completion of Entering all The Text Box and choosing the options. User Press the Preview Button In order To check the Details. If The Result is Fine Then user Add the Member by clicking the Add member Button. If the User wants to remove the Member from the list then he/she has to choose the remove Member Menu from the Member Menu. A new form Will be Display where the user has to choose the Member from the List Box which he want to remove and after selecting the member he Press the Delete Button. If the user wants to modify the Members Details Then a New Form will be shown. The user has to select the member from the ListBox and the selected member details have to be modified through the text box Below the List Box Provide. If the User Wants to Query from the members Details then he has to choose the Query Menu from the Member Menu. Upon Pressing the Query Menu a New Form will be displayed With the Members Details, and The Option of the Query. When the user chooses the option then the Found Details will be shown below the Members Details ListBox. If Any Event has to be organized then the user choose Entry menu from the Event menu .When the entry Form is displayed then user has to fill all the textboxes with the

correct value. Upon entering all the required data user has to press the Add Event Button Which add the event details in the event File. If the user wants to Remove the Event then he has to choose the Remove Event from the Event menu which displays the Details of Event and upon selecting the event from the event ListBox which he wants to remove, the user has to press the Remove Event Button. Similarly, if the user wants to Modify the Event then he has to choose update Menu from the Event Menu of the main Form. Similarly the user can makes the attendance by choosing the Attendance from the Event Menu, Where he has to select or place the tick mark for those who have attended the event. Similarly, user can print the Member List, Event List and Attendance List of an Event by Going to the Print Menu of the Main Form.

Class definitions and relationship

Mid First Name Last Name Nick Name Member_Type Address

Member 1 1..* 1..* 0..*

Event
Event No Description Date Time Venue

Add() Modify()

Committee member

Full Member

Casual MID EntryFee

Social Event No Keynote Speaker fee 0..* Attendance MID Event No 0..*

Formal Event No
Chairperson Minutes

Status Main Duty Join Date End Date

Fee status
Min_attendance

6
Fig: Class Diagram of the Membership management System

Procedures Validation and Explationation.


A) Without Entering any textboxes or any fields are emptied then following error will be displayed.

Fig: Error Due to Blank Fields.

B) When the user enter the Character Instead of Number then following error will be displayed.

Fig: Character Instead of Number

C) When we press the Character in the Numeric field then following error message will be shown.

Fig: Character in the Numeric field

D) When the user Enter the Wrong File Name .

Fig: File Missing.

10

Forms Snapshots

Fig:Splash Screen

11

Fig: Main Form

12

Fig: Add Members and Their Details Form

13

Fig: Remove Member Form

Fig: Modify Member Form.

14

Fig: Query Member

Fig: Event Entry

15

Fig: Update Entry List

Fig: Member Attendance Form

16

Fig: Print Member List

Fig: Print Member Attendance List

17

Fig: Print Event List

Fig: About Me Form

Printed Document Snapshots

18

Fig: Printed Member List.

Fig: Printed Event List

Test data and Test Results


The following data were used to test the program:
Field Expect to cause errors Test 1 Test 2 Test 3 Expect to be accepted Test 4

19

Frmaddmember.MId Frmaddmember.First Name BirthDay Frmaddmember.nickname

Leave Blank Leave Blank Leave Blank Leave Blank

123aq./ 12345678910111 12.34.5 abcdefghjklihf

sadC123456 Niroj1 sad12.3.45 12a

12345 Niroj 12/12/2004 acdefgdhbnuyt

Assumption Made
Since the display data of the Add Member List was too large I have just display the certain data in the Display form. Expiry Date is after one year.

Enhancement that have been made to the given specification


No enhancement has been made.

20

Potrebbero piacerti anche