Click here to Skip to main content
15,884,986 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: CheckBox initial value Pin
mostofmonty28-Aug-09 4:17
mostofmonty28-Aug-09 4:17 
GeneralRe: CheckBox initial value Pin
Luc Pattyn28-Aug-09 4:24
sitebuilderLuc Pattyn28-Aug-09 4:24 
GeneralRe: CheckBox initial value Pin
mostofmonty28-Aug-09 4:32
mostofmonty28-Aug-09 4:32 
GeneralRe: CheckBox initial value Pin
Luc Pattyn28-Aug-09 4:45
sitebuilderLuc Pattyn28-Aug-09 4:45 
GeneralRe: CheckBox initial value Pin
DaveyM6928-Aug-09 5:17
professionalDaveyM6928-Aug-09 5:17 
QuestionLogin Page as Popup after session Expired Pin
basantakumar28-Aug-09 2:47
basantakumar28-Aug-09 2:47 
AnswerRe: Login Page as Popup after session Expired Pin
Henry Minute28-Aug-09 8:25
Henry Minute28-Aug-09 8:25 
QuestionDoes exist this user control. Pin
Fired.Fish.Gmail28-Aug-09 2:40
Fired.Fish.Gmail28-Aug-09 2:40 
AnswerRe: Does exist this user control. Pin
Henry Minute28-Aug-09 8:26
Henry Minute28-Aug-09 8:26 
GeneralRe: Does exist this user control. Pin
Fired.Fish.Gmail28-Aug-09 16:10
Fired.Fish.Gmail28-Aug-09 16:10 
GeneralRe: Does exist this user control. Pin
Henry Minute29-Aug-09 3:11
Henry Minute29-Aug-09 3:11 
GeneralRe: Does exist this user control. Pin
Fired.Fish.Gmail30-Aug-09 4:48
Fired.Fish.Gmail30-Aug-09 4:48 
QuestionInstalling a service ? Pin
Mohammad Dayyan28-Aug-09 2:36
Mohammad Dayyan28-Aug-09 2:36 

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.