Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please use C# and WinForm. This task is about Delegate. please let me know if need more info about this task. In the real world,

Please use C# and WinForm. This task is about Delegate.

image text in transcribedimage text in transcribedimage text in transcribed

image text in transcribed

please let me know if need more info about this task.

In the real world, the notification management system consists of two parts, one is to allow clients to subscribe/unsubscribe the notification, and the other is to facilitate administrator(s) to publish the notification. This assignment simplifies the problem, and merges two parts as one. In this assignment, you are asked to implement a .NET WinForm application to mimic notification management system. You are required to use delegate. Your app facilitates clients to subscribe/unsubscribe notification as well as send notification to all subscribers. Your App needs to make sure that the provided email address is valid and provided cell phone number is following the specified format. After the app has been launched, following GUI (or similar one) should be presented. As there is no subscriber when the app just launches, "Publish Notification button is disabled. Notification Manager Manage subscription Publish Notification Exit After Manage Subscription button clicked, following GUI (or similar one) should be popped up to allow clients to subscribe or unsubscribe notification. If an invalid email address has been provided, error message should be provided. Manage Notification Subscription - o X Email Notification to: abc@email.com TextBox Text notification to: Subscribe Unsubscribe Back to Main Window 1 Manage Notification Subscription D Email Notification to li@hotmail.com invalide email Text notification to: Subscribe Unsubscribe Back to Main Window Manage Notification Subscription . Email Notification to li@hotmail.com Text notification to Subscribe Unsubscribe Back to Main Window | After Publish Notification button clicked, following GUI is presented to facilitate notification publish. Send Notification Notification Details: hello, this is a test notification Publish Back to Main Window Notification has been sent to following subscribers: li@hotmail.com ti@gmail.com 416-345-3456 Please make sure: 1. No duplication subscription is allowed; in other words, if user tries to subscribe using the same email to subscribe again, your app should prompt warning message. 2. Your app should be able to deal with many subscribers. [hint: use collections to hold the subscribers' information] Rubric Functionality GUI When Subscribe button is clicked, an object of SendViaEmail or/and an object of SendViaMobile is/are instantiated, and should be added to corresponding collection(s) if the email or/and mobile has/have not been subscribed before; finish the subscription When UnSubscribe button is clicked, removed the corresponding object of SendViaEmail or/and an object of SendViaMobile from corresponding collection(s) if the email or/and mobile has/have subscribed before finish un- subscription Validate email Validate mobile Publish notification Use two collections to hold SendVia Email objects and SendViaMobile objects respectively Overall (code readability, app usability, etc.) In the real world, the notification management system consists of two parts, one is to allow clients to subscribe/unsubscribe the notification, and the other is to facilitate administrator(s) to publish the notification. This assignment simplifies the problem, and merges two parts as one. In this assignment, you are asked to implement a .NET WinForm application to mimic notification management system. You are required to use delegate. Your app facilitates clients to subscribe/unsubscribe notification as well as send notification to all subscribers. Your App needs to make sure that the provided email address is valid and provided cell phone number is following the specified format. After the app has been launched, following GUI (or similar one) should be presented. As there is no subscriber when the app just launches, "Publish Notification button is disabled. Notification Manager Manage subscription Publish Notification Exit After Manage Subscription button clicked, following GUI (or similar one) should be popped up to allow clients to subscribe or unsubscribe notification. If an invalid email address has been provided, error message should be provided. Manage Notification Subscription - o X Email Notification to: abc@email.com TextBox Text notification to: Subscribe Unsubscribe Back to Main Window 1 Manage Notification Subscription D Email Notification to li@hotmail.com invalide email Text notification to: Subscribe Unsubscribe Back to Main Window Manage Notification Subscription . Email Notification to li@hotmail.com Text notification to Subscribe Unsubscribe Back to Main Window | After Publish Notification button clicked, following GUI is presented to facilitate notification publish. Send Notification Notification Details: hello, this is a test notification Publish Back to Main Window Notification has been sent to following subscribers: li@hotmail.com ti@gmail.com 416-345-3456 Please make sure: 1. No duplication subscription is allowed; in other words, if user tries to subscribe using the same email to subscribe again, your app should prompt warning message. 2. Your app should be able to deal with many subscribers. [hint: use collections to hold the subscribers' information] Rubric Functionality GUI When Subscribe button is clicked, an object of SendViaEmail or/and an object of SendViaMobile is/are instantiated, and should be added to corresponding collection(s) if the email or/and mobile has/have not been subscribed before; finish the subscription When UnSubscribe button is clicked, removed the corresponding object of SendViaEmail or/and an object of SendViaMobile from corresponding collection(s) if the email or/and mobile has/have subscribed before finish un- subscription Validate email Validate mobile Publish notification Use two collections to hold SendVia Email objects and SendViaMobile objects respectively Overall (code readability, app usability, etc.)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Sybase Database Administrators Handbook

Authors: Brian Hitchcock

1st Edition

0133574776, 978-0133574777

More Books

Students also viewed these Databases questions

Question

Explain the different types of marketing strategies.

Answered: 1 week ago

Question

Explain product positioning.

Answered: 1 week ago

Question

3. What may be the goal of the team?

Answered: 1 week ago

Question

Is how things are said consistent with what is said?

Answered: 1 week ago

Question

Has the priority order been provided by someone else?

Answered: 1 week ago