Answered step by step
Verified Expert Solution
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 asMTQuestionDevelop the window, to allow users to add patients to the daily schedule for a doctors office. Todo so the UI needs: 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:More 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 digits, the first of which cannot be zero. Ego This field is required. Patients Age should be a positive integer number only.o The acceptable range for an age is between 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 textblockshould 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 ie in uppercaseo 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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started