C#C
C#3y ago
Pillow

✅ Button doesn't trigger function for it

According to https://learn.microsoft.com/en-us/visualstudio/ide/create-csharp-winform-visual-studio?view=vs-2022 I think this should work, but it doesn't. Here's the code:
private void btnClick1_Click(object sender, EventArgs e)
        {
            MessageBox.Show("Hello, world.");
        }

and the properties for the button (default except for the name and text which are changed)
(btw, nothing happens when I click it if that wasn't clear)
image.png
Was this page helpful?