CST1620 C# Programming
Week 2
We cover chapter 3 in the book - Using GUI Objects and the Visual Studio IDE.
The book uses Windows Forms for creating a GUI throughout the book, which is a very popular way of creating a GUI.
However, we will also explore using WPF (Windows Presentation Foundation), which is a newer, more flexible
way to create a GUI.
Watch this YouTube video on creating a WPF app.
Intro to WPF: Learn the basics and best practices of WPF for C#
Watch the class lecture recording for the week. We do the in class exercise in the recording.
Homework Labs:
Lab Chap 3 Ex 4 EggsInteractiveGUI - due in one week
Write a GUI program named EggsInteractiveGUI that allows a user to input the number of eggs produced in a month by each of five chickens. Sum the eggs, then display the total in dozens and eggs. For example, a total of 127 eggs is 10 dozen and 7 eggs.
Note: This program UI is to be created using Window Forms.
My example - EggsInteractiveGUI.exe
Submit three things to the D2L dropbox for this lab:
1) Screenshot of your running program with data. Make sure you capture your entire desktop.
2) Screenshot of as much of your code as possible.
3) The entire solution folder as a ZIP file. This folder should contain your entire project and solution.
Lab Chap 3 Ex 4 EggsInteractiveWPF - due in one week
Write a GUI program named EggsInteractiveGUI that allows a user to input the number of eggs produced in a month by each of five chickens. Sum the eggs, then display the total in dozens and eggs. For example, a total of 127 eggs is 10 dozen and 7 eggs.
Note: This program UI is to be created using Windows Presentation Foundation.
My example - EggsInteractiveWPF.exe
Submit three things to the D2L dropbox for this lab:
1) Screenshot of your running program with data. Make sure you capture your entire desktop.
2) Screenshot of as much of your code as possible.
3) The entire solution folder as a ZIP file. This folder should contain your entire project and solution.