Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a new project as a WPF application using C# in Visual Studio and name it asMTQuestion - 2 . Develop the window, to allow

Create a new project as a WPF application using C# in Visual Studio and name it asMTQuestion-2.Develop the window, to allow users to add patients to the daily schedule for a doctors office. Todo so, the UI needs: 3 input TextBoxes to enter patient information A Button to add the patient to the schedule A TextBlock to present the user with information or error messages A ListBox to display the scheduled patientsThis should look as follows:3More specifically, users should be able to: Enter the following data about each patient to be scheduled:o Patients full name: First and Last name format.o This field is required. Their medical record number:o Its required format is 5 digits, the first of which cannot be zero. E.g.,31215o This field is required. Patients Age should be a positive integer number only.o The acceptable range for an age is between 0120.o This field is required. Add the patient to the days schedule by clicking the Add to schedule button. However,the following constraints must be met:o If a patient is added to the schedule successfully, then a message (in textblock)should inform the user of that fact.o If, on the other hand, there are any validation failures, then the errors, one per line,should be presented to the user (in textblock). Display the patients schedule:o One patient per lineo In the following format, as shown in the screenshot above:oFIRSTNAME LASTNAME (i.e., in uppercase)o Followed by their medical record number in brackets.o Followed by a semicolon and their age.

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

Database Management With Website Development Applications

Authors: Greg Riccardi

1st Edition

0201743876, 978-0201743876

More Books

Students also viewed these Databases questions

Question

denigration of emotional outbursts; being reserved;

Answered: 1 week ago