Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!