-
May 16th, 2010, 02:10 AM
#1
[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
Last edited by rocky_upadhaya; May 16th, 2010 at 02:29 AM.
Reason: spellings and grammers only
-
May 17th, 2010, 03:08 PM
#2
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.
-
May 17th, 2010, 07:36 PM
#3
Re: Enabling button after some events
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|