
We developed together in class a Simon game – where the computer plays random colors and you have to repeat them (be careful: one wrong color and your out!)
We learned about the UI thread and creating a new worker thread
We learned about global scope of variables
We learned about Thread.Sleep
We learned how to create MessaegBox using: MessageBox.Show(…);
We learned about WinForm theory, and Mono project
More topics covered:
- Using const, i.e. const int MAX = 4
- Setting Colors using Color., i.e. Color.Red
- Setting Text/Colors from the Form1.Designer.cs
- new Thread(() =>
{
// put your code here
}).Start(); - WinForm Framework theory – .NET versions, GDI, popularity, usage, …, read here: Winform PDF
- Mono cross-platform, read more about it here: Mono Project

Links: