Click here to Skip to main content
15,902,276 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# App to Split Files Pin
Pete O'Hanlon18-Feb-12 2:12
mvePete O'Hanlon18-Feb-12 2:12 
AnswerRe: C# App to Split Files Pin
R. Giskard Reventlov17-Feb-12 12:10
R. Giskard Reventlov17-Feb-12 12:10 
GeneralRe: C# App to Split Files Pin
stylez50017-Feb-12 12:38
stylez50017-Feb-12 12:38 
GeneralRe: C# App to Split Files Pin
SilimSayo17-Feb-12 12:43
SilimSayo17-Feb-12 12:43 
GeneralRe: C# App to Split Files Pin
stylez50017-Feb-12 12:55
stylez50017-Feb-12 12:55 
GeneralRe: C# App to Split Files Pin
stylez50017-Feb-12 12:42
stylez50017-Feb-12 12:42 
GeneralRe: C# App to Split Files Pin
Richard Andrew x6417-Feb-12 16:08
professionalRichard Andrew x6417-Feb-12 16:08 
QuestionShared Data Pin
Simon_Whale17-Feb-12 5:41
Simon_Whale17-Feb-12 5:41 
Right now due to increasing our recruitment possibilities of new staff we are moving over to C#

What is the best way that I can go about making a data collection object available to all forms in C#

In Visual Basic we can use a module and put in a friend based variable i.e. friend GlobalData as string. (the string variable is the easiest way I could explain this as an example!) This then makes the variable available to any form / class in the assembly.

Is there a way of doing this in C# or do I have to look at passing the information back and forth between each form?

Many Thanks
Simon
Lobster Thermidor aux crevettes with a Mornay sauce, served in a Provençale manner with shallots and aubergines, garnished with truffle pate, brandy and a fried egg on top and Spam - Monty Python Spam Sketch


modified 17-Feb-12 11:50am.

AnswerRe: Shared Data Pin
Pete O'Hanlon17-Feb-12 5:54
mvePete O'Hanlon17-Feb-12 5:54 
GeneralRe: Shared Data Pin
Simon_Whale17-Feb-12 6:14
Simon_Whale17-Feb-12 6:14 
AnswerRe: Shared Data Pin
BobJanova17-Feb-12 6:05
BobJanova17-Feb-12 6:05 
GeneralRe: Shared Data Pin
Simon_Whale17-Feb-12 6:10
Simon_Whale17-Feb-12 6:10 
GeneralRe: Shared Data Pin
BillWoodruff18-Feb-12 0:42
professionalBillWoodruff18-Feb-12 0:42 
GeneralRe: Shared Data Pin
Simon_Whale19-Feb-12 5:58
Simon_Whale19-Feb-12 5:58 
AnswerMessage Removed Pin
17-Feb-12 6:15
professionalN_tro_P17-Feb-12 6:15 
GeneralRe: Shared Data Pin
Simon_Whale17-Feb-12 6:27
Simon_Whale17-Feb-12 6:27 
AnswerRe: Shared Data Pin
Luc Pattyn17-Feb-12 6:39
sitebuilderLuc Pattyn17-Feb-12 6:39 
GeneralRe: Shared Data Pin
Simon_Whale17-Feb-12 6:42
Simon_Whale17-Feb-12 6:42 
Questionhelp rewriting this bit of code Pin
pmcm17-Feb-12 4:32
pmcm17-Feb-12 4:32 
AnswerRe: help rewriting this bit of code Pin
BobJanova17-Feb-12 5:22
BobJanova17-Feb-12 5:22 
GeneralRe: help rewriting this bit of code Pin
pmcm19-Feb-12 21:48
pmcm19-Feb-12 21:48 
QuestionProblem : Use Gujarati Font in TextBox Pin
raks.t.gupta17-Feb-12 3:05
raks.t.gupta17-Feb-12 3:05 
AnswerRe: Problem : Use Gujarati Font in TextBox Pin
BobJanova17-Feb-12 3:13
BobJanova17-Feb-12 3:13 
GeneralRe: Problem : Use Gujarati Font in TextBox Pin
raks.t.gupta17-Feb-12 3:19
raks.t.gupta17-Feb-12 3:19 
AnswerRe: Problem : Use Gujarati Font in TextBox Pin
Bernhard Hiller17-Feb-12 3:31
Bernhard Hiller17-Feb-12 3:31 

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.