[RESOLVED] Enabling button after some events
Hello there,
Suppose there are 2 textboxes and a button in the window. And the button is disabled at the startup and is unclickable. But when User types something in the both textbox the button is enabled and the user can click the button.
Please download and evaluate the project 'Login Screen.rar' from the following Link. Here is a problem i am trying to solve but I'm running out of Logic here. What i Want to do is disable the Enter Button at the startup and Enable only after something is typed in the Username textbox and password textbox. And again if focus is changed to the textbox after something is written and typed letters are erased the button is disabled again.
http://www.quickfilepost.com/downloa...2e8e9a57deb4e4
Thank You
Re: Enabling button after some events
Have you looked at any of the Model View ViewModel patterns and associated WPF samples?
If you worked through a few of those samples, you may just be able to answer your own question.
Re: Enabling button after some events