Windows Application C#
-
In a C# Windows Application Project, On Checking both 2 Check Boxes, a Button Should be Enabled, If any one is Unchecked, Button should be Disabled. Presently ON Form_Load The Same Button should be Disabled.This is working fine.Project Done using Visual Studio 2012. Please Help me Someone Prashanth.B.S
-
In a C# Windows Application Project, On Checking both 2 Check Boxes, a Button Should be Enabled, If any one is Unchecked, Button should be Disabled. Presently ON Form_Load The Same Button should be Disabled.This is working fine.Project Done using Visual Studio 2012. Please Help me Someone Prashanth.B.S
Handle the CheckBox.CheckChanged event: CheckBox.CheckedChanged Event (System.Windows.Forms)[^] - you can use the same handler for both boxes - and check the Checked status of each to set the Enabled property of the button:
myTextBox.Enabled = checkbox1.Checked && checkbox2.Checked;
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
-
In a C# Windows Application Project, On Checking both 2 Check Boxes, a Button Should be Enabled, If any one is Unchecked, Button should be Disabled. Presently ON Form_Load The Same Button should be Disabled.This is working fine.Project Done using Visual Studio 2012. Please Help me Someone Prashanth.B.S
Where is your code, what have you done so far? Relatively simple all you need it to manage the FormLoad and checkbox events.
-
In a C# Windows Application Project, On Checking both 2 Check Boxes, a Button Should be Enabled, If any one is Unchecked, Button should be Disabled. Presently ON Form_Load The Same Button should be Disabled.This is working fine.Project Done using Visual Studio 2012. Please Help me Someone Prashanth.B.S
Member 13062505 wrote:
This is working fine
Glad to hear you got it working. Pretty simple, isn't it. :thumbsup:
There are two kinds of people in the world: those who can extrapolate from incomplete data. There are only 10 types of people in the world, those who understand binary and those who don't.