Click here to Skip to main content
15,893,588 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hy Pleas say me what does equal these codes in win32 project ?

C#
btnSave.Enable = False


and

C#
if(txtPassword == "")
MessageBox.Show("pleas enter your password . ");
Posted
Updated 22-Sep-12 20:00pm
v2
Comments
Sergey Alexandrovich Kryukov 23-Sep-12 2:05am    
No, thank you for asking. The question, unfortunately, does not seem to make any sense at all.
--SA

1 solution

If I get your question properly:

This will tell you how to enable/disable a window:
http://msdn.microsoft.com/en-us/library/5kbfsahf.aspx[^]
In the second link look for the answer from SvenC:
http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/2f269c13-97ab-44e4-b853-17561dc90226[^]

And for messageboxes...
http://msdn.microsoft.com/en-us/library/3tt9e94f.aspx#Y0[^]

Oh, and to know if a string is empty or not...
http://stackoverflow.com/questions/4077940/c-check-if-string-is-empty[^]

Good luck...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900