Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem1 Create a WPF application to create a handout for May 2020 graduation. A user must be able to input all information about themselves, their

image text in transcribed

Problem1 Create a WPF application to create a handout for May 2020 graduation. A user must be able to input all information about themselves, their degree, and the address where they want their diploma sent. After they have input all this information and click a button to submit their information, validate that all information provided by the user meets the data type associated with it (e.g. ints should be whole numbers, strings should not be empty, etc.). If any of the information is invalid, do not add the student to the handout and notify the user of ALL incorrect information, in whatever way you think is best for the user. Once a student has successfully submitted their information for the handout, add their important information to a ListBox. When added to the listbox, it should show the object as follows: "FirstName LastName, Major, Special Distinction." (For this homework, lets assume that all students only graduate with 1 major) + + + Address StreetNumber : int StreetName : string State: string City : string Zipcode : int Address() Address ( streetnumber : int, streetname : string, state : string, city : string, zipcode : int) + + + + + + + + + + + Student FirstName : string LastName : string Major : string GPA : double Address : Address Student () Student (firstName : string, lastName : string, major : string, gpa : double ) CalculateDistinction (): string SetAddress ( streetNumber : int, streetName: string, state : string, city : string, zipcode : int) : void ToString(): string Calculate Distinction - Calculates the special distinction of the student. 3:40-3.59 cum laude, 3.60-3.79 magna cum laude, 3.80-4.00 summa cum laude SetAddress - Creates a new Address object and assigns it to the instances Address property. ToString-Should be able to figure this out from the problem description. + + + Problem1 Create a WPF application to create a handout for May 2020 graduation. A user must be able to input all information about themselves, their degree, and the address where they want their diploma sent. After they have input all this information and click a button to submit their information, validate that all information provided by the user meets the data type associated with it (e.g. ints should be whole numbers, strings should not be empty, etc.). If any of the information is invalid, do not add the student to the handout and notify the user of ALL incorrect information, in whatever way you think is best for the user. Once a student has successfully submitted their information for the handout, add their important information to a ListBox. When added to the listbox, it should show the object as follows: "FirstName LastName, Major, Special Distinction." (For this homework, lets assume that all students only graduate with 1 major) + + + Address StreetNumber : int StreetName : string State: string City : string Zipcode : int Address() Address ( streetnumber : int, streetname : string, state : string, city : string, zipcode : int) + + + + + + + + + + + Student FirstName : string LastName : string Major : string GPA : double Address : Address Student () Student (firstName : string, lastName : string, major : string, gpa : double ) CalculateDistinction (): string SetAddress ( streetNumber : int, streetName: string, state : string, city : string, zipcode : int) : void ToString(): string Calculate Distinction - Calculates the special distinction of the student. 3:40-3.59 cum laude, 3.60-3.79 magna cum laude, 3.80-4.00 summa cum laude SetAddress - Creates a new Address object and assigns it to the instances Address property. ToString-Should be able to figure this out from the problem description. + + +

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

SQL Database Programming

Authors: Chris Fehily

1st Edition

1937842312, 978-1937842314

More Books

Students also viewed these Databases questions