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

C#

 
GeneralRe: Good Enum Question Pin
Eric Gunnerson (msft)27-May-03 11:29
Eric Gunnerson (msft)27-May-03 11:29 
GeneralRe: Good Enum Question Pin
ralfoide27-May-03 14:08
ralfoide27-May-03 14:08 
GeneralRe: Good Enum Question Pin
Eric Gunnerson (msft)27-May-03 17:43
Eric Gunnerson (msft)27-May-03 17:43 
GeneralRe: Good Enum Question Pin
J. Dunlap27-May-03 14:11
J. Dunlap27-May-03 14:11 
GeneralRe: Good Enum Question Pin
KingTermite27-May-03 11:32
KingTermite27-May-03 11:32 
GeneralRe: Good Enum Question Pin
Rein Hillmann27-May-03 15:26
Rein Hillmann27-May-03 15:26 
GeneralRe: Good Enum Question Pin
leppie28-May-03 6:57
leppie28-May-03 6:57 
GeneralInteraction between a Form and a Class Pin
JJF00727-May-03 8:21
JJF00727-May-03 8:21 
I have a form where i call a class with and start a subroutine

Class1 Class1 = Class1();
Class1.StartSub();

In my Mainform from where i call the class there is for example a label called "label1". Now i want to change the label1 from within the Class Subroutine ...

I tried following:

in the MainForm (Form1) set the label from private to public

and then in the Class:

Form1 Form1 = new Form1();
Form1.label1.text = "test";

It compiles without any error but it doesn't change the label.

Thanks for you help!


GeneralRe: Interaction between a Form and a Class Pin
KingTermite27-May-03 14:28
KingTermite27-May-03 14:28 
GeneralWhitespaceHandling Pin
Kant27-May-03 5:30
Kant27-May-03 5:30 
GeneralRe: WhitespaceHandling Pin
Philip Fitzsimons27-May-03 22:26
Philip Fitzsimons27-May-03 22:26 
GeneralRe: WhitespaceHandling Pin
Kant28-May-03 5:01
Kant28-May-03 5:01 
GeneralRe: WhitespaceHandling Pin
Philip Fitzsimons28-May-03 5:06
Philip Fitzsimons28-May-03 5:06 
GeneralRe: WhitespaceHandling Pin
Kant28-May-03 6:13
Kant28-May-03 6:13 
GeneralRe: WhitespaceHandling Pin
Philip Fitzsimons28-May-03 6:19
Philip Fitzsimons28-May-03 6:19 
GeneralRe: WhitespaceHandling Pin
Kant28-May-03 6:38
Kant28-May-03 6:38 
GeneralDataBinding and Update Pin
DionChen27-May-03 3:36
DionChen27-May-03 3:36 
GeneralRe: DataBinding and Update Pin
..Hubert..27-May-03 6:40
..Hubert..27-May-03 6:40 
QuestionWhat's the better way to terminate the following thread? Pin
Daniel Strigl27-May-03 2:47
Daniel Strigl27-May-03 2:47 
AnswerRe: What's the better way to terminate the following thread? Pin
Tom Welch27-May-03 4:09
Tom Welch27-May-03 4:09 
QuestionStill no solution! Memory bug in Services? Pin
solidstore27-May-03 1:46
solidstore27-May-03 1:46 
AnswerRe: Still no solution! Memory bug in Services? Pin
Philip Fitzsimons27-May-03 22:27
Philip Fitzsimons27-May-03 22:27 
Generaldatasets with criteria and codedescription Pin
haezeban27-May-03 0:46
haezeban27-May-03 0:46 
GeneralRe: datasets with criteria and codedescription Pin
Rocky Moore27-May-03 22:26
Rocky Moore27-May-03 22:26 
GeneralThread.IsBackground Pin
Daniel Strigl27-May-03 0:44
Daniel Strigl27-May-03 0:44 

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.