Home > Back-end >  How to write a simple login interface code
How to write a simple login interface code

Time:09-23





The first piece of code
If one is not fill in account password, then click on the prompt for the account or password cannot be empty

The second piece of code
Click Button2 pop up out of the small window to confirm, click confirm that closes the program

I am a student
Points not much thank you

CodePudding user response:

Fyi:
C + + Builder startup LOGO with password login window (two ways)
http://blog.163.com/tab_98/blog/static/119240972016875574643/

CodePudding user response:

If (Edit1 - & gt; The Text. The Empty ()) ShowMessage (" please enter account!" );
If (Edit2 - & gt; The Text. The Empty ()) ShowMessage (" please input password!" );

CodePudding user response:

The student is likely to be my boy! Upstairs is given the first piece of code,
The second section:
If (MessageBox (NULL, "text", "the caption", MB_YESNO)==ID_YES)
This - & gt; Close ();

CodePudding user response:

Below is extracted from the database user name, password, login
  • Related