Hi @Kaz ,
Avoid manually modifying the code in the Form.Designer.vb
file, it will be automatically generated by Visual Studio.
Add the following code in your Form1.vb file.
Private Sub Button9_Click(sender As Object, e As EventArgs) Handles Button9.Click End Sub
Best Regards.
Jiachen Li
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.