Click here to Skip to main content
15,908,455 members
Home / Discussions / C#
   

C#

 
AnswerRe: Date And Time Pin
NaNg1524118-May-06 2:37
NaNg1524118-May-06 2:37 
QuestionDataGridView - row height bigger than grid's height Pin
Pedro Miguel Pereira17-May-06 5:08
Pedro Miguel Pereira17-May-06 5:08 
Question2.0 gridview Pin
fmardani17-May-06 4:48
fmardani17-May-06 4:48 
QuestionPassing enum as a parameter Pin
dayakar_dn17-May-06 4:43
dayakar_dn17-May-06 4:43 
AnswerRe: Passing enum as a parameter Pin
NaNg1524117-May-06 5:07
NaNg1524117-May-06 5:07 
QuestionToolStripComboBox problem Pin
Wjousts17-May-06 3:47
Wjousts17-May-06 3:47 
QuestionCheckbox control Pin
jackalfb17-May-06 3:31
jackalfb17-May-06 3:31 
AnswerRe: Checkbox control Pin
stancrm17-May-06 3:45
stancrm17-May-06 3:45 
Hello...

I'm sorry, but I don't no exactly what you want. But I think I can solve the problem.

In the method :
private void checkbox1_CheckedChanged(object sender, System.EventArgs e)
{
   rbutton=true;
}

you must change it to :
private void checkbox1_CheckedChanged(object sender, System.EventArgs e)
{
   if(checkbox1.Checked)
   {
      rbutton=true;
   }
   else
   {
      rbutton=false;
   }
}

or
private void checkbox1_CheckedChanged(object sender, System.EventArgs e)
{
   rbutton = this.checkbox1.Checked;
}


Because double click event does not exists in checkbox. That's why, just use .Checked or not to enable or disable drawing.
GeneralRe: Checkbox control Pin
jackalfb17-May-06 4:38
jackalfb17-May-06 4:38 
GeneralRe: Checkbox control Pin
microsoc17-May-06 20:04
microsoc17-May-06 20:04 
GeneralRe: Checkbox control Pin
jackalfb20-May-06 1:36
jackalfb20-May-06 1:36 
AnswerRe: Checkbox control Pin
Wjousts17-May-06 3:49
Wjousts17-May-06 3:49 
AnswerRe: Checkbox control Pin
jackalfb17-May-06 4:33
jackalfb17-May-06 4:33 
QuestionLooping through form elements Pin
Brendan Vogt17-May-06 3:23
Brendan Vogt17-May-06 3:23 
AnswerRe: Looping through form elements Pin
stancrm17-May-06 3:34
stancrm17-May-06 3:34 
AnswerRe: Looping through form elements Pin
Wjousts17-May-06 3:53
Wjousts17-May-06 3:53 
GeneralRe: Looping through form elements: THANKS Pin
Brendan Vogt17-May-06 4:22
Brendan Vogt17-May-06 4:22 
GeneralRe: Looping through form elements: THANKS Pin
Wjousts17-May-06 4:33
Wjousts17-May-06 4:33 
GeneralRe: Looping through form elements: THANKS Pin
J4amieC17-May-06 4:34
J4amieC17-May-06 4:34 
QuestionRe: Looping through form elements Pin
Brendan Vogt17-May-06 4:34
Brendan Vogt17-May-06 4:34 
AnswerRe: Looping through form elements Pin
Wjousts17-May-06 5:31
Wjousts17-May-06 5:31 
GeneralRe: Looping through form elements Pin
J4amieC17-May-06 5:47
J4amieC17-May-06 5:47 
GeneralRe: Looping through form elements Pin
Brendan Vogt17-May-06 22:52
Brendan Vogt17-May-06 22:52 
AnswerRe: Looping through form elements Pin
stancrm18-May-06 2:50
stancrm18-May-06 2:50 
QuestionRe: Looping through form elements Pin
Brendan Vogt18-May-06 3:29
Brendan Vogt18-May-06 3:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.