Click here to Skip to main content
15,913,773 members
Home / Discussions / C#
   

C#

 
QuestionConfig Files Pin
CodingYoshi23-Jan-09 10:59
CodingYoshi23-Jan-09 10:59 
AnswerRe: Config Files Pin
Wendelius23-Jan-09 11:03
mentorWendelius23-Jan-09 11:03 
GeneralRe: Config Files Pin
CodingYoshi23-Jan-09 11:23
CodingYoshi23-Jan-09 11:23 
GeneralRe: Config Files Pin
Not Active23-Jan-09 11:29
mentorNot Active23-Jan-09 11:29 
QuestionActing on an indeterminate checkbox checkstate Pin
Lodeclaw23-Jan-09 10:34
Lodeclaw23-Jan-09 10:34 
AnswerRe: Acting on an indeterminate checkbox checkstate Pin
DaveyM6923-Jan-09 10:38
professionalDaveyM6923-Jan-09 10:38 
GeneralRe: Acting on an indeterminate checkbox checkstate Pin
Lodeclaw23-Jan-09 10:41
Lodeclaw23-Jan-09 10:41 
GeneralRe: Acting on an indeterminate checkbox checkstate Pin
DaveyM6923-Jan-09 10:57
professionalDaveyM6923-Jan-09 10:57 
Set the CheckBoxes ThreeState property to true, then use a switch to determine the search scope.
switch (checkBox1.CheckState)
{
    case CheckState.Checked:
        // do your thing
        break;
    case CheckState.Indeterminate:
        // do some other thing
        break;
    default: // Unchecked
        // do the Hokey Cokey
        break;
}
If you want the action to take place when the CheckBox is clicked, use the CheckStateChanged event, not the CheckedChanged as the latter doesn't respond to Indeterminate.

Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)

GeneralRe: Acting on an indeterminate checkbox checkstate Pin
Lodeclaw23-Jan-09 11:01
Lodeclaw23-Jan-09 11:01 
GeneralRe: Acting on an indeterminate checkbox checkstate Pin
DaveyM6923-Jan-09 11:14
professionalDaveyM6923-Jan-09 11:14 
Questioncreate propertie list<> [modified] Pin
khaled_basher23-Jan-09 10:17
khaled_basher23-Jan-09 10:17 
AnswerRe: create propertie list<> Pin
DaveyM6923-Jan-09 10:20
professionalDaveyM6923-Jan-09 10:20 
GeneralRe: create propertie list<> Pin
khaled_basher23-Jan-09 10:35
khaled_basher23-Jan-09 10:35 
GeneralRe: create propertie list<> Pin
Guffa23-Jan-09 10:38
Guffa23-Jan-09 10:38 
GeneralRe: create propertie list<> Pin
khaled_basher23-Jan-09 10:51
khaled_basher23-Jan-09 10:51 
GeneralRe: create propertie list<> Pin
DaveyM6923-Jan-09 11:10
professionalDaveyM6923-Jan-09 11:10 
GeneralRe: create propertie list<> [modified] Pin
khaled_basher23-Jan-09 11:32
khaled_basher23-Jan-09 11:32 
GeneralRe: create propertie list<> Pin
DaveyM6923-Jan-09 11:52
professionalDaveyM6923-Jan-09 11:52 
QuestionSAPI 5 Dictation, how do I define a limited domain grammar? Pin
brossen23-Jan-09 9:48
brossen23-Jan-09 9:48 
QuestionDeploying Database Pin
ziwez023-Jan-09 9:21
ziwez023-Jan-09 9:21 
AnswerRe: Deploying Database Pin
EliottA23-Jan-09 9:23
EliottA23-Jan-09 9:23 
GeneralRe: Deploying Database PinPopular
User 665823-Jan-09 9:57
User 665823-Jan-09 9:57 
JokeRe: Deploying Database Pin
PIEBALDconsult23-Jan-09 12:58
mvePIEBALDconsult23-Jan-09 12:58 
GeneralRe: Deploying Database Pin
ziwez016-Feb-09 21:16
ziwez016-Feb-09 21:16 
AnswerRe: Deploying Database Pin
Ennis Ray Lynch, Jr.23-Jan-09 9:47
Ennis Ray Lynch, Jr.23-Jan-09 9:47 

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.