Start

These eight lessons open the course with the smallest possible application: a project file, a program file, a loop and one form. They also settle the ground rules, because this course is built on Linux and WinForms needs Windows. After them, a reader knows what every later page means by built, not run, and knows why the course still has plenty to prove by running.

001 What WinForms is and where it fits the stack, Win32 under it, WPF, MAUI and ASP.NET Core, a first program that builds Open 002 The project file for net10.0-windows TargetFramework, UseWindowsForms, EnableWindowsTargeting, and the real NETSDK1136 and CS0234 of a wrong setting Open 003 Program.cs and ApplicationConfiguration.Initialize Main, STAThread, the generated Initialize and the four properties behind it, the real CS0246 of a missing using Open 004 The message loop and Application.Run one thread, the queue, Run with a form and with an ApplicationContext, Exit, ExitThread, FormClosing Open 005 A form written by hand Text, ClientSize, StartPosition, FormBorderStyle, MinimumSize, Load and Shown, an initialiser against a constructor Open 006 Form1.cs, Form1.Designer.cs and Form1.resx what the designer writes, read as code: InitializeComponent, the z-order, the resx, and the same form by hand Open 007 The offline feed and the restore the targeting pack, the nuget.config, a build from the feed, the real NU1101 of a project without one Open 008 What can and cannot be checked on Linux the build succeeds, the run prints You must install or update .NET and exits 150, what is installed, what runs Open

Lessons