Download - Part a(Table of Contents)
-
8/2/2019 Part a(Table of Contents)
1/20
Table of Contents.
1. Program Structure of an Assignment
...22. ProgramFlows...4
3. Class definitions and relationship.....6
4. Procedures Validation andExplanation...7
5. FormsSnapshots.11
6. Printed FileSnapshots...19
7. Test data and Test Results20
8. Assumption Made..209. Enhancement that have been made to the given
specification..2010. Source Code.(Part B File).
1
-
8/2/2019 Part a(Table of Contents)
2/20
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.
2
-
8/2/2019 Part a(Table of Contents)
3/20
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.
3
-
8/2/2019 Part a(Table of Contents)
4/20
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 DetailsListBox.
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
4
-
8/2/2019 Part a(Table of Contents)
5/20
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.
5
-
8/2/2019 Part a(Table of Contents)
6/20
Class definitions and relationship
6
0..*1
MemberMid
First NameLast Name
Nick NameMember_Type
Address
Add()
Modify()
EventEvent No
DescriptionDate
Time
Venue
Fig: Class Diagram of the Membership management System
ommittee member
tatus
Main Duty
oin Date
End Date
Full Member
Fee statusMin_attendance
Casual
MID
EntryFee
Attendance
MID
Event No
Social
Event No
Keynote
Speaker
fee
Formal
Event NoChairperson
Minutes
0..*
0..*
1..*
1..*
-
8/2/2019 Part a(Table of Contents)
7/20
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.
7
-
8/2/2019 Part a(Table of Contents)
8/20
B) When the user enter the Character Instead of Number then following error will be
displayed.
Fig: Character Instead of Number
8
-
8/2/2019 Part a(Table of Contents)
9/20
C) When we press the Character in the Numeric field then following error message will be
shown.
Fig: Character in the Numeric field
9
-
8/2/2019 Part a(Table of Contents)
10/20
D) When the user Enter the Wrong File Name .
Fig: File Missing.
10
-
8/2/2019 Part a(Table of Contents)
11/20
Forms Snapshots
Fig:Splash Screen
11
-
8/2/2019 Part a(Table of Contents)
12/20
Fig: Main Form
12
-
8/2/2019 Part a(Table of Contents)
13/20
Fig: Add Members and Their Details Form
13
-
8/2/2019 Part a(Table of Contents)
14/20
Fig: Remove Member Form
Fig: Modify Member Form.
14
-
8/2/2019 Part a(Table of Contents)
15/20
Fig: Query Member
Fig: Event Entry
15
-
8/2/2019 Part a(Table of Contents)
16/20
Fig: Update Entry List
Fig: Member Attendance Form
16
-
8/2/2019 Part a(Table of Contents)
17/20
Fig: Print Member List
Fig: Print Member Attendance List
17
-
8/2/2019 Part a(Table of Contents)
18/20
Fig: Print Event List
Fig: About Me Form
Printed Document Snapshots
18
-
8/2/2019 Part a(Table of Contents)
19/20
Fig: Printed Member List.
Fig: Printed Event List
Test data and Test ResultsThe following data were used to test the program:
Field
Expect to cause errors Expect to be accepted
Test 1 Test 2 Test 3 Test 4
19
-
8/2/2019 Part a(Table of Contents)
20/20
Frmaddmember.MId Leave Blank 123aq./ sadC123456 12345
Frmaddmember.FirstName Leave Blank 12345678910111 Niroj1 Niroj
BirthDay Leave Blank 12.34.5 sad12.3.45 12/12/2004
Frmaddmember.nickname Leave Blank abcdefghjklihf 12a acdefgdhbnuyt
Assumption MadeSince the display data of the Add Member List was too large I have just display the certaindata 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