Assignment 01 MemberManagement
Assignment 01 MemberManagement
Introduction
Imagine you're an employee of a product retailer named FStore. Your manager
has asked you to develop a Windows Forms application for member
management: MemberID, MemberName, Email, Password, City, Country. The
application has a default account whose email is “[email protected]” and
password is “admin@@” that stored in the appsettings.json.
Assignment Objectives
In this assignment, you will:
Use the Visual Studio.NET to create Windows Forms and Class Library
(.dll) project.
1|Page
Create a List of persisting members
Using LinQ to Object to query data
Apply passing data in WinForms application
Apply 3-layers architecture to develop an application
Apply MPV (Model-Presenter-View) pattern in Winforms application
Apply Repository pattern and Singleton pattern in a project
Add CRUD and searching actions to WinForms application.
Apply to validate data type for all fields
Run the project and test the WinForms actions.
Main Functions
Member management: Read, Create, Update and Delete actions. Creating
and Updating member must be performed by popup dialog
Search member by ID and Name
Filter members by City and Country
Sort member list descending order by MemberName
Member authentication by Email and Password. If the user is “Admin” then
allows to perform all actions, otherwise, the normal user allowed to view
and update their pieces of information
Guidelines
3|Page
Step 02. Create a Class Library project named DataAccess
4|Page
From the File menu | Add | New Project, on the Add New Project dialog,
5|Page
5
6|Page
1
7|Page
Step 05. Create folders and add class to the projects as follows:
8|Page
Activity 04: Develop MyStoreWinApp project [03
marks]
Step 01. Add a reference to BusinessObject and DataAccess project
Step 02. Design UI for frmLogin.cs form and write codes to perform
authentication by email and password. If login is successful then show
frmMemberManagements.cs form otherwise show an error message
9|Page