The program does not run as expected
(account input 1, password input 2, the window will be hidden. If you input the wrong password, label3 will prompt an error). If I input the correct password of the account and press enter, there will be no change. If you input the wrong password in label3, there will be no error.
Account number is label1. Password is label2, please be label3, box after account number is textbox1, box after password is textbox2
You need to set your own events in order to follow the idea you designed to execute, only the idea, no implementation is no way to achieve the expected
I didn't understand it, but I solved it, thank you
Do you have a defined listening event? In your code, all the listening response content is not, how can there be a response
Go to Design mode, double-click on your winform and append a load event Form1_Load, or go to designer.cs and write your own
Like textBox change event or something