Click here to Skip to main content
15,888,984 members
Home / Discussions / C#
   

C#

 
GeneralRe: reinterpret_cast in C# Pin
S. Senthil Kumar12-May-05 3:31
S. Senthil Kumar12-May-05 3:31 
GeneralRe: reinterpret_cast in C# Pin
mav.northwind12-May-05 23:16
mav.northwind12-May-05 23:16 
Questionconverting long to string, string to long? Pin
george ivanov11-May-05 22:47
george ivanov11-May-05 22:47 
AnswerRe: converting long to string, string to long? Pin
V.11-May-05 23:27
professionalV.11-May-05 23:27 
AnswerRe: converting long to string, string to long? Pin
Indagro11-May-05 23:31
Indagro11-May-05 23:31 
Generalthe one who know vb.net and cSharp Pin
Rizwan Bashir11-May-05 22:41
Rizwan Bashir11-May-05 22:41 
GeneralRe: the one who know vb.net and cSharp Pin
S. Senthil Kumar12-May-05 3:37
S. Senthil Kumar12-May-05 3:37 
GeneralRe: the one who know vb.net and cSharp Pin
Luis Alonso Ramos12-May-05 12:18
Luis Alonso Ramos12-May-05 12:18 
Rizwan Bashir wrote:
I added codefile but could not add global variables in it

C# does not support global variables. You could create a class with public static fields, and it's the same effect. But I'd recommend you to design your app so you don't require them.
class Globals
{
    public static MainForm mainForm;
}
// ... and from anywhere in your app...
MessageBox.Show(Globals.mainForm, .....);
-- LuisR



Luis Alonso Ramos
Intelectix - Chihuahua, Mexico

Not much here: My CP Blog!

GeneralRe: the one who know vb.net and cSharp Pin
mav.northwind12-May-05 23:37
mav.northwind12-May-05 23:37 
GeneralRe: the one who know vb.net and cSharp Pin
Rizwan Bashir13-May-05 2:22
Rizwan Bashir13-May-05 2:22 
Generalopen .exe file Pin
eng.mohamed11-May-05 22:40
eng.mohamed11-May-05 22:40 
GeneralRe: open .exe file Pin
Polis Pilavas12-May-05 0:15
Polis Pilavas12-May-05 0:15 
GeneralNew to remote procedure calls, please help... Pin
AfzalHassen11-May-05 22:16
AfzalHassen11-May-05 22:16 
GeneralOOP concept - C# Pin
Anonymous11-May-05 21:34
Anonymous11-May-05 21:34 
GeneralRe: OOP concept - C# Pin
Peter Vertes12-May-05 12:15
Peter Vertes12-May-05 12:15 
GeneralRe: OOP concept - C# Pin
Anonymous12-May-05 23:18
Anonymous12-May-05 23:18 
QuestionHow to get streaming details from Flash Communication Server using C# Pin
vinu.netguy11-May-05 20:14
vinu.netguy11-May-05 20:14 
QuestionHow to make it happen Windows Control's Event in Code Pin
ye win zaw11-May-05 19:34
ye win zaw11-May-05 19:34 
AnswerRe: How to make it happen Windows Control's Event in Code Pin
Indagro12-May-05 0:02
Indagro12-May-05 0:02 
GeneralRe: How to make it happen Windows Control's Event in Code Pin
ye win zaw12-May-05 0:13
ye win zaw12-May-05 0:13 
GeneralWin form user controls Pin
skrishnasarma11-May-05 19:11
skrishnasarma11-May-05 19:11 
GeneralRe: Win form user controls Pin
Christian Graus11-May-05 19:31
protectorChristian Graus11-May-05 19:31 
GeneralDisplay datetime in C# Pin
hvan220311-May-05 17:58
hvan220311-May-05 17:58 
GeneralRe: Display datetime in C# Pin
Kodanda Pani11-May-05 18:46
Kodanda Pani11-May-05 18:46 
GeneralRe: Display datetime in C# Pin
Christian Graus11-May-05 18:55
protectorChristian Graus11-May-05 18:55 

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.