Click here to Skip to main content
15,894,297 members
Home / Discussions / C#
   

C#

 
GeneralRe: close all XML nodes by defualt Pin
hamid_m3-Aug-07 3:54
hamid_m3-Aug-07 3:54 
GeneralRe: close all XML nodes by defualt Pin
PIEBALDconsult4-Aug-07 4:34
mvePIEBALDconsult4-Aug-07 4:34 
AnswerRe: close all XML nodes by defualt Pin
hamid_m4-Aug-07 5:16
hamid_m4-Aug-07 5:16 
QuestionAsynchronous UDPClient BeginReceive Method Pin
martin_hughes2-Aug-07 23:59
martin_hughes2-Aug-07 23:59 
AnswerRe: Asynchronous UDPClient BeginReceive Method Pin
Guffa3-Aug-07 1:52
Guffa3-Aug-07 1:52 
GeneralRe: Asynchronous UDPClient BeginReceive Method Pin
martin_hughes3-Aug-07 2:38
martin_hughes3-Aug-07 2:38 
QuestionUpdating a form from a class ( same instance) problem Pin
Hardboiled862-Aug-07 23:58
Hardboiled862-Aug-07 23:58 
AnswerRe: Updating a form from a class ( same instance) problem Pin
Martin#3-Aug-07 1:34
Martin#3-Aug-07 1:34 
Hello,

What you did is:
You have a Form named "Form1" (which derives from System.Windows.Forms.Form).
Than you have a Form named "classtest" (which derives from your Form1).
Hardboiled86 wrote:
private void button1_Click(object sender, EventArgs e)
{
classtest1 clstest = new classtest1();
clstest.external_class();


}

At the button Click, you instanciate a new Form (classtest1), which means that now two Forms are in memory (one that you see, and the new second one).
You call the method "external_class" from your second Form, which calls "accessor_method" also from your second Form.

So it should be clear that your first Form, which is visible will not change.

Look at this excellent Article from Colin Angus Mackay[^]

Hope it helps!

All the best,

Martin

AnswerRe: Updating a form from a class ( same instance) problem Pin
Chintan.Desai3-Aug-07 2:57
Chintan.Desai3-Aug-07 2:57 
QuestionAVI frames to JPG or BMP conversion using C# Pin
sriathma2-Aug-07 23:46
sriathma2-Aug-07 23:46 
Questionopen file which can see inside of it Pin
nhathoang2-Aug-07 23:24
nhathoang2-Aug-07 23:24 
AnswerRe: open file which can see inside of it Pin
Christian Graus2-Aug-07 23:27
protectorChristian Graus2-Aug-07 23:27 
AnswerRe: open file which can see inside of it Pin
Manoj Kumar Rai2-Aug-07 23:53
professionalManoj Kumar Rai2-Aug-07 23:53 
GeneralRe: open file which can see inside of it Pin
nhathoang3-Aug-07 0:02
nhathoang3-Aug-07 0:02 
AnswerRe: open file which can see inside of it Pin
Chintan.Desai3-Aug-07 2:58
Chintan.Desai3-Aug-07 2:58 
QuestionCreate a telephone directory Pin
sgeorgije2-Aug-07 22:49
sgeorgije2-Aug-07 22:49 
AnswerRe: Create a telephone directory Pin
Christian Graus2-Aug-07 23:06
protectorChristian Graus2-Aug-07 23:06 
GeneralRe: Create a telephone directory Pin
sgeorgije2-Aug-07 23:12
sgeorgije2-Aug-07 23:12 
GeneralRe: Create a telephone directory Pin
Christian Graus2-Aug-07 23:21
protectorChristian Graus2-Aug-07 23:21 
AnswerRe: Create a telephone directory Pin
Manoj Kumar Rai2-Aug-07 23:15
professionalManoj Kumar Rai2-Aug-07 23:15 
GeneralRe: Create a telephone directory Pin
Colin Angus Mackay2-Aug-07 23:45
Colin Angus Mackay2-Aug-07 23:45 
GeneralRe: Create a telephone directory Pin
Manoj Kumar Rai3-Aug-07 0:00
professionalManoj Kumar Rai3-Aug-07 0:00 
AnswerRe: Create a telephone directory Pin
Malcolm Smart2-Aug-07 23:40
Malcolm Smart2-Aug-07 23:40 
AnswerRe: Create a telephone directory Pin
sgeorgije3-Aug-07 1:04
sgeorgije3-Aug-07 1:04 
QuestionDetect certain substrings multiple times? Pin
dianenacario2-Aug-07 22:24
dianenacario2-Aug-07 22:24 

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.