subject

Create a WPF application named FirstInitialLastNameW3 Your application should include the following in your Window: Title of Window – Escape the Form Font Family – your choice (readable and not the default) Font Size –15 min 20 max (but not too large to fit into controls) Size – Width 600 – Height - 300 1 Grid with 5 equal columns (Column 1 and Column 3 are dividers) Margin for grid should be 10 on all sides 3 TextBoxes - created in XAML – one in each column centered All 3 textboxes Horizontal Alignment – Center Vertical Alignment – Center Width/Height – 100/50 Name – Descriptive with tbx prefix 3 Labels to identify the 3 textboxes Horizontal Alignment – Center Vertical Alignment – Top Width/Height – 100/50 1 Button Button – created in XAML Name – btnCheck Content – ""Check Code"" Vertical Alignment – bottom of the middle column Horizontal Alignment - centered Width/Height 100/30 CODE 3 global integer variables Window_Loaded Event Setup a random number variable Set each of your global integer variables to a random number between 0 and 9 Display a message box with the title ""Instructions"" and ""Enter a digit 0-9 in each box to guess the code to escape the form"" btnCheck Click event 3 integer variables Parse the data from all three textboxes and place in the 3 variables Use a series of if/else statements to accomplish the following: If the number entered in the first textbox is equal to the random number generated for the first variable Set the background color of the first textbox to blue Set the IsEnabled property to false. If the number entered in the first textbox is NOT equal to the random number generated for the first variable Clear the first textbox Repeat the above steps for the other two textboxes/random numbers If the user gets all 3 numbers correct there should be a message box letting them know they escaped. Add an appropriate title and message.

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 18:00, ladyree8721
Which of the following physical laws can make the flow of water seem more realistic? a. motion b. gravity c. fluid dynamics d. thermodynamics
Answers: 2
image
Computers and Technology, 22.06.2019 20:00, ksanchez2100
Need asap assignment directions: think of an organization (business, religious institution, volunteer organization, sports team) with which you have been involved. imagine outfitting it with an it infrastructure. prepare a plan for what you would do to support outfitting it. draw a map of a network connecting all the individuals, give them pcs and printers, and lay out the design as best you can. the purpose is to begin working with these concepts, not to build a perfect network.
Answers: 2
image
Computers and Technology, 22.06.2019 20:00, jc624826
What side length would you specify if you were required to create a regular hexagonal plate that was composed of 33 cm(squared) of sheet metal? dimension the side length to 0.1 cm
Answers: 2
image
Computers and Technology, 24.06.2019 02:10, sIatt
Consider the usual algorithm to convert an infix expression to a postfix expression. suppose that you have read 10 input characters during a conversion and that the stack now contains these symbols: (5 points) | | | + | | ( | bottom |_*_| now, suppose that you read and process the 11th symbol of the input. draw the stack for the case where the 11th symbol is
Answers: 2
You know the right answer?
Create a WPF application named FirstInitialLastNameW3 Your application should include the following...

Questions in other subjects:

Konu
Geography, 06.04.2021 02:20