Click here to Skip to main content
15,914,165 members
Home / Discussions / C#
   

C#

 
AnswerRe: Change richtextbox colors - C# Pin
OrkanA29-Aug-09 4:57
OrkanA29-Aug-09 4:57 
QuestionDataBinding removal error Pin
kanchoette28-Aug-09 4:29
kanchoette28-Aug-09 4:29 
AnswerRe: DataBinding removal error Pin
Keith Barrow28-Aug-09 4:34
professionalKeith Barrow28-Aug-09 4:34 
GeneralRe: DataBinding removal error Pin
kanchoette30-Aug-09 4:21
kanchoette30-Aug-09 4:21 
QuestionI need to resize a large image of more than 2MEGABYTE and I can not upload it to the program Pin
gilvani28-Aug-09 3:54
gilvani28-Aug-09 3:54 
AnswerRe: I need to resize a large image of more than 2MEGABYTE and I can not upload it to the program Pin
Luc Pattyn28-Aug-09 4:07
sitebuilderLuc Pattyn28-Aug-09 4:07 
AnswerRe: I need to resize a large image of more than 2MEGABYTE and I can not upload it to the program Pin
OriginalGriff28-Aug-09 5:10
mveOriginalGriff28-Aug-09 5:10 
GeneralRe: I need to resize a large image of more than 2MEGABYTE and I can not upload it to the program Pin
gilvani28-Aug-09 7:02
gilvani28-Aug-09 7:02 
GeneralRe: I need to resize a large image of more than 2MEGABYTE and I can not upload it to the program Pin
Dave Kreskowiak28-Aug-09 7:12
mveDave Kreskowiak28-Aug-09 7:12 
GeneralRe: I need to resize a large image of more than 2MEGABYTE and I can not upload it to the program Pin
gilvani28-Aug-09 7:28
gilvani28-Aug-09 7:28 
GeneralRe: I need to resize a large image of more than 2MEGABYTE and I can not upload it to the program Pin
Dan Neely28-Aug-09 8:37
Dan Neely28-Aug-09 8:37 
GeneralRe: I need to resize a large image of more than 2MEGABYTE and I can not upload it to the program Pin
Dave Kreskowiak28-Aug-09 12:07
mveDave Kreskowiak28-Aug-09 12:07 
GeneralRe: I need to resize a large image of more than 2MEGABYTE and I can not upload it to the program Pin
gilvani28-Aug-09 8:53
gilvani28-Aug-09 8:53 
GeneralRe: I need to resize a large image of more than 2MEGABYTE and I can not upload it to the program Pin
OriginalGriff28-Aug-09 8:27
mveOriginalGriff28-Aug-09 8:27 
GeneralRe: I need to resize a large image of more than 2MEGABYTE and I can not upload it to the program Pin
gilvani28-Aug-09 8:56
gilvani28-Aug-09 8:56 
GeneralRe: I need to resize a large image of more than 2MEGABYTE and I can not upload it to the program Pin
DaveyM6928-Aug-09 13:24
professionalDaveyM6928-Aug-09 13:24 
QuestionProblem in connect with Remote server?? Pin
RA|-|UL PATEL28-Aug-09 3:32
RA|-|UL PATEL28-Aug-09 3:32 
AnswerRe: Problem in connect with Remote server?? Pin
Searril28-Aug-09 3:57
Searril28-Aug-09 3:57 
AnswerRe: Problem in connect with Remote server?? Pin
DoctorMick28-Aug-09 5:31
DoctorMick28-Aug-09 5:31 
GeneralRe: Problem in connect with Remote server?? Pin
RA|-|UL PATEL28-Aug-09 18:01
RA|-|UL PATEL28-Aug-09 18:01 
QuestionCheckBox initial value [SOLVED] Pin
mostofmonty28-Aug-09 3:20
mostofmonty28-Aug-09 3:20 
This is part of my program that activates the mouse movement sensor once a checkbox is ticked.

What i want is for it to be activated by default.

I've tried editing the checkbox in designer view of the form, setting the value to true, but the mouse movement is still not picked up until the checkbox is unchecked then rechecked.

Im new to C#, im assuming it's something to do with "CheckedChanged"....?

This is the code for the checkbox:

private void checkBoxOnMouseMove_CheckedChanged(object sender, EventArgs e)
        {
            if (checkBoxOnMouseMove.Checked)
            {
                HookManager.MouseMove += HookManager_MouseMove;
            }
            else
            {
                HookManager.MouseMove -= HookManager_MouseMove;
            }


Any help at all would be greatly appreciated Smile | :)

modified on Friday, August 28, 2009 9:34 AM

AnswerRe: CheckBox initial value Pin
Manas Bhardwaj28-Aug-09 3:26
professionalManas Bhardwaj28-Aug-09 3:26 
AnswerRe: CheckBox initial value Pin
DaveyM6928-Aug-09 3:28
professionalDaveyM6928-Aug-09 3:28 
GeneralRe: CheckBox initial value Pin
mostofmonty28-Aug-09 3:31
mostofmonty28-Aug-09 3:31 
GeneralRe: CheckBox initial value Pin
Luc Pattyn28-Aug-09 4:09
sitebuilderLuc Pattyn28-Aug-09 4:09 

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.