Click here to Skip to main content
15,912,329 members
Home / Discussions / C#
   

C#

 
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 
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 
Steve-Co wrote:
How do I assign the boolean variable to a delegate and how to I pass it to Creator.cs?


You do not need to do this. You need to handle the check changed event of the checkboxes in Creator.cs. In the event handler, assign the check state to a boolean variable declared in the Creator.cs. Something like this:
class Creator{

public bool includeSubFolder = true; // Since the default checked state for the checkboxes is checked

private void CheckChangedEventHandlerMethod(object sender, CheckChangedEventArgs e){

CheckBox chk = sender as CheckBox;

if(chk != null){
includeSubFolder = chk.Checked;
}

}
}
*


Steve-Co wrote:
Anything is useful, I'm having a look at delegate tutorials now.


This[^] is what I found right now. It is for a web control, but the concept remains the same.

Hope it helps. Smile | :)

*Code might not work since I typed it right here and not in VS. Please bear.
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 
Question(C#).Net Backup application for Sharepoint Pin
JurieBurie31-Mar-10 20:37
JurieBurie31-Mar-10 20:37 
QuestionHow to build C# program to solve 8-Puzzle with best first search algorithm ? Pin
nguyencuonginfo31-Mar-10 19:58
nguyencuonginfo31-Mar-10 19:58 
AnswerRe: How to build C# program to solve 8-Puzzle with best first search algorithm ? Pin
Khaniya31-Mar-10 20:20
professionalKhaniya31-Mar-10 20:20 
AnswerRe: How to build C# program to solve 8-Puzzle with best first search algorithm ? Pin
PIEBALDconsult31-Mar-10 20:26
mvePIEBALDconsult31-Mar-10 20:26 
GeneralRe: How to build C# program to solve 8-Puzzle with best first search algorithm ? Pin
J4amieC31-Mar-10 21:27
J4amieC31-Mar-10 21:27 

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.