Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Requirements: Create one WPF solution and name it as MTYourFirstnameLastname and add new projects for each question you attempt. Instructions: Question 1 : ( 1

Requirements:
Create one WPF solution and name it as "MTYourFirstnameLastname" and add new projects for each question you attempt.
Instructions:
Question 1:
(10 marks)
Create a new WPF project using C# in Visual Studio and name it as "MTQuestion-1".
Add a label, textbox, and button inside a Question 1 groupbox as follows:
1
Question 1:
Zipcode:
Clicking on the button should issue a MessageBox indicating whether the user has entered in the textbox is a valid Canada zip code text, where valid Canada zip codes must be in one of the following 2 formats:
6 Digits with a white spate after 3 characters.
@ E.g.: K1A6H3
6 Digits, without any white space.
E.g.: K1A2H3
Question 2:
(20 marks)
Create a new project as a WPF application using C# in Visual Studio and name it as "MTQuestion-2".
Develop the window, to allow users to add patients to the daily schedule for a doctor's office. To do 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 patients
This should look as follows:Please enter valid medical record number in the format (12345).Please enter valid integer between 0 and 120 for an age.2
image text in transcribed

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

Flash XML Applications Use AS2 And AS3 To Create Photo Galleries Menus And Databases

Authors: Joachim Schnier

1st Edition

0240809173, 978-0240809175

More Books

Students also viewed these Databases questions