Click here to Skip to main content
15,900,482 members
Home / Discussions / C#
   

C#

 
GeneralRe: Tab page to hold focus programatically Pin
Stefan Troschuetz22-Feb-07 2:42
Stefan Troschuetz22-Feb-07 2:42 
GeneralRe: Tab page to hold focus programatically Pin
Glen Harvy22-Feb-07 3:03
Glen Harvy22-Feb-07 3:03 
QuestionGet Process Names Pin
Rahul.RK21-Feb-07 23:19
Rahul.RK21-Feb-07 23:19 
AnswerRe: Get Process Names [modified] Pin
Martin#21-Feb-07 23:22
Martin#21-Feb-07 23:22 
GeneralRe: Get Process Names Pin
Rahul.RK21-Feb-07 23:40
Rahul.RK21-Feb-07 23:40 
GeneralRe: Get Process Names Pin
Martin#21-Feb-07 23:47
Martin#21-Feb-07 23:47 
AnswerRe: Get Process Names Pin
Shajeel22-Feb-07 0:12
Shajeel22-Feb-07 0:12 
GeneralRe: Get Process Names Pin
Rahul.RK22-Feb-07 0:38
Rahul.RK22-Feb-07 0:38 
Questionnew form in center of window Pin
Sunshine Always21-Feb-07 23:05
Sunshine Always21-Feb-07 23:05 
AnswerRe: new form in center of window Pin
Martin#21-Feb-07 23:08
Martin#21-Feb-07 23:08 
GeneralRe: new form in center of window Pin
Sunshine Always21-Feb-07 23:19
Sunshine Always21-Feb-07 23:19 
GeneralRe: new form in center of window Pin
Martin#21-Feb-07 23:27
Martin#21-Feb-07 23:27 
GeneralRe: new form in center of window Pin
Sunshine Always22-Feb-07 0:21
Sunshine Always22-Feb-07 0:21 
GeneralRe: new form in center of window Pin
Stefan Troschuetz21-Feb-07 23:27
Stefan Troschuetz21-Feb-07 23:27 
GeneralRe: new form in center of window Pin
Sunshine Always22-Feb-07 0:23
Sunshine Always22-Feb-07 0:23 
QuestionHow to get dll of web project in 2005 Pin
NanaAM21-Feb-07 22:50
NanaAM21-Feb-07 22:50 
QuestionHw can i make a variable visible in whole window project? Pin
Binod K21-Feb-07 22:47
Binod K21-Feb-07 22:47 
AnswerRe: Hw can i make a variable visible in whole window project? Pin
Martin#21-Feb-07 22:59
Martin#21-Feb-07 22:59 
Hello,

You could use a const or static variable.
//mainformcode
public const int constint = 100;
public static int staticint = 100;

public Form1()
{
InitializeComponent();
}

//other class
int i1 = Form1.constint;
//setting a const variable is not possible at this point (Form1.constint = 200, will not compile)

int i2 = Form1.staticint;
Form1.staticint = 200;

All the best,

Martin
GeneralRe: Hw can i make a variable visible in whole window project? Pin
Colin Angus Mackay21-Feb-07 23:36
Colin Angus Mackay21-Feb-07 23:36 
GeneralRe: Hw can i make a variable visible in whole window project? Pin
Martin#21-Feb-07 23:42
Martin#21-Feb-07 23:42 
QuestionOpening a client side document Pin
markymark8221-Feb-07 22:44
markymark8221-Feb-07 22:44 
AnswerRe: Opening a client side document Pin
Stefan Troschuetz21-Feb-07 23:13
Stefan Troschuetz21-Feb-07 23:13 
AnswerRe: Opening a client side document Pin
andre_swnpl21-Feb-07 23:15
andre_swnpl21-Feb-07 23:15 
Questiongetting bites from a file Pin
rzvme21-Feb-07 22:43
rzvme21-Feb-07 22:43 
GeneralRe: getting bites from a file Pin
andre_swnpl21-Feb-07 23:17
andre_swnpl21-Feb-07 23:17 

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.