Click here to Skip to main content
15,891,646 members
Home / Discussions / C#
   

C#

 
GeneralRe: Using XPath in HTMLDocument Pin
Christian Graus12-Nov-06 21:39
protectorChristian Graus12-Nov-06 21:39 
GeneralRe: Using XPath in HTMLDocument Pin
jmd170126-Nov-06 13:20
jmd170126-Nov-06 13:20 
QuestionSystem.Data.OleDb & Microsoft Excel [modified] Pin
shopi3012-Nov-06 13:22
shopi3012-Nov-06 13:22 
AnswerRe: System.Data.OleDb & Microsoft Excel Pin
Anthony Mushrow13-Nov-06 12:59
professionalAnthony Mushrow13-Nov-06 12:59 
QuestionMaking a global variable Pin
Blekk12-Nov-06 12:02
Blekk12-Nov-06 12:02 
AnswerRe: Making a global variable Pin
Christian Graus12-Nov-06 12:20
protectorChristian Graus12-Nov-06 12:20 
GeneralRe: Making a global variable Pin
Blekk12-Nov-06 13:06
Blekk12-Nov-06 13:06 
GeneralRe: Making a global variable Pin
Anthony Mushrow12-Nov-06 13:12
professionalAnthony Mushrow12-Nov-06 13:12 
The way i usually do global variables is with a class, like this:


internal class Globalvars
{
internal static int variable;
Globalvars(){}
}

You just mark all the variables as internal static, and you call them like this:

Globalvars.variable

Just store variables there and access them from somewhere alse later on.
You should be able to access them from anywhere.

I don't know if this helps but.. there you go.
GeneralRe: Making a global variable Pin
Christian Graus12-Nov-06 13:57
protectorChristian Graus12-Nov-06 13:57 
AnswerRe: Making a global variable Pin
beatles169212-Nov-06 19:36
beatles169212-Nov-06 19:36 
GeneralRe: Making a global variable Pin
Blekk13-Nov-06 5:47
Blekk13-Nov-06 5:47 
GeneralRe: Making a global variable Pin
Blekk13-Nov-06 8:01
Blekk13-Nov-06 8:01 
QuestionSplitting a string message into a list of Objects Pin
kristamed12-Nov-06 11:50
kristamed12-Nov-06 11:50 
AnswerRe: Splitting a string message into a list of Objects Pin
Christian Graus12-Nov-06 12:05
protectorChristian Graus12-Nov-06 12:05 
AnswerRe: Splitting a string message into a list of Objects Pin
shopi3012-Nov-06 13:58
shopi3012-Nov-06 13:58 
AnswerRe: Splitting a string message into a list of Objects Pin
Alexandr Kovshovik12-Nov-06 20:36
Alexandr Kovshovik12-Nov-06 20:36 
QuestionHow to Set DataGridView.Rows[0].Visible To False ? Pin
hdv21212-Nov-06 10:27
hdv21212-Nov-06 10:27 
AnswerRe: How to Set DataGridView.Rows[0].Visible To False ? Pin
Christian Graus12-Nov-06 11:15
protectorChristian Graus12-Nov-06 11:15 
GeneralRe: How to Set DataGridView.Rows[0].Visible To False ? Pin
hdv21212-Nov-06 11:22
hdv21212-Nov-06 11:22 
GeneralRe: How to Set DataGridView.Rows[0].Visible To False ? Pin
Christian Graus12-Nov-06 12:06
protectorChristian Graus12-Nov-06 12:06 
GeneralRe: How to Set DataGridView.Rows[0].Visible To False ? Pin
hdv21212-Nov-06 12:23
hdv21212-Nov-06 12:23 
GeneralRe: How to Set DataGridView.Rows[0].Visible To False ? Pin
Christian Graus12-Nov-06 12:30
protectorChristian Graus12-Nov-06 12:30 
AnswerRe: How to Set DataGridView.Rows[0].Visible To False ? Pin
shopi3012-Nov-06 14:12
shopi3012-Nov-06 14:12 
QuestionMoving Other Windows Pin
Now_Loading12-Nov-06 7:42
Now_Loading12-Nov-06 7:42 
AnswerRe: Moving Other Windows Pin
Amar Chaudhary12-Nov-06 8:21
Amar Chaudhary12-Nov-06 8:21 

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.