Add a PictureBox to the form. It will be called PictureBox1
See post: https://docs.microsoft.com/en-us/dotnet/desktop/winforms/advanced/how-to-create-a-bitmap-at-run-time?view=netframeworkdesktop-4.8
C# Top-Level Statements vs. Main Method C# Top-Level Statements vs. Main Method In C# 9 and later, you can use ...