Click here to Skip to main content
15,905,420 members
Home / Discussions / C#
   

C#

 
AnswerRe: Selecting everything with CTRL+A Pin
teknolog1231-Apr-10 1:52
teknolog1231-Apr-10 1:52 
GeneralRe: Selecting everything with CTRL+A Pin
Khaniya1-Apr-10 2:52
professionalKhaniya1-Apr-10 2:52 
QuestionDifferent number of overloaded constructors for same class in different computers [modified] Pin
free young1-Apr-10 0:31
free young1-Apr-10 0:31 
AnswerRe: Different number of overloaded constructors for same class in different computers Pin
Tej Aj1-Apr-10 1:36
Tej Aj1-Apr-10 1:36 
GeneralRe: Different number of overloaded constructors for same class in different computers Pin
free young1-Apr-10 18:21
free young1-Apr-10 18:21 
AnswerRe: Different number of overloaded constructors for same class in different computers Pin
PIEBALDconsult1-Apr-10 3:44
mvePIEBALDconsult1-Apr-10 3:44 
GeneralRe: Different number of overloaded constructors for same class in different computers Pin
free young1-Apr-10 18:25
free young1-Apr-10 18:25 
QuestionSimple Passing of Values Pin
Steve-Co31-Mar-10 23:56
Steve-Co31-Mar-10 23:56 
Hi Guys,

I normally try to answer these sort of problems myself but i seem to be really digging myself into a hole here for a relativly simple question. Would really appreciate advice.

I have my main form: Creator.cs
On this form is an btnOption whick opens another form, Option.cs, and also a run program (GO!) button.

Option.cs contains two check boxes which are, by defualt Checked = true. I am happy with this and most of the time this will be the case.

However I want my program to check OptionBox.checkboxIncludeFiles and OptionBox.checkboxIncludeFolders too see if the user has unchecked them. I am unsure of how to look at the current values of these to implement it within the main() on Creator.cs. Just to clarify I'll put my ideal set up below, it's obviously wrong but just my guess.


Also, I am assuming here but changing the checkbox value and then closing the Option.cs form, the values for the checkbox reamin changed. As you may guess I am a little confused.
Many Thanks for any help!

Steve

Creator.cs
btn_G0_Click
{
  if OptionBox.checkboxIncludeFolders.Checked == true
      Run code with loop
  else
      Run code once.
}

AnswerRe: Simple Passing of Values Pin
Khaniya1-Apr-10 0:05
professionalKhaniya1-Apr-10 0:05 
GeneralRe: Simple Passing of Values Pin
dan!sh 1-Apr-10 0:13
professional dan!sh 1-Apr-10 0:13 
AnswerRe: Simple Passing of Values Pin
dan!sh 1-Apr-10 0:10
professional dan!sh 1-Apr-10 0:10 
GeneralRe: Simple Passing of Values Pin
Steve-Co1-Apr-10 0:57
Steve-Co1-Apr-10 0:57 
GeneralRe: Simple Passing of Values Pin
dan!sh 1-Apr-10 3:14
professional dan!sh 1-Apr-10 3:14 
AnswerRe: Simple Passing of Values Pin
#realJSOP1-Apr-10 2:06
professional#realJSOP1-Apr-10 2:06 
AnswerRe: Simple Passing of Values Pin
PIEBALDconsult1-Apr-10 3:47
mvePIEBALDconsult1-Apr-10 3:47 
AnswerRe: Simple Passing of Values Pin
Steve-Co1-Apr-10 4:44
Steve-Co1-Apr-10 4:44 
QuestionFind the best sort algorithm Pin
ndkit31-Mar-10 20:39
ndkit31-Mar-10 20:39 
AnswerRe: Find the best sort algorithm Pin
Alex Manolescu31-Mar-10 21:32
Alex Manolescu31-Mar-10 21:32 
GeneralRe: Find the best sort algorithm Pin
ndkit31-Mar-10 21:42
ndkit31-Mar-10 21:42 
GeneralRe: Find the best sort algorithm Pin
Alex Manolescu1-Apr-10 0:34
Alex Manolescu1-Apr-10 0:34 
AnswerRe: Find the best sort algorithm Pin
dan!sh 31-Mar-10 21:45
professional dan!sh 31-Mar-10 21:45 
AnswerRe: Find the best sort algorithm Pin
riced1-Apr-10 1:25
riced1-Apr-10 1:25 
JokeRe: Find the best sort algorithm Pin
PIEBALDconsult1-Apr-10 6:58
mvePIEBALDconsult1-Apr-10 6:58 
AnswerRe: Find the best sort algorithm Pin
riced1-Apr-10 7:56
riced1-Apr-10 7:56 
GeneralRe: Find the best sort algorithm Pin
ndkit6-Apr-10 18:49
ndkit6-Apr-10 18:49 

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.