Click here to Skip to main content
15,893,790 members
Home / Discussions / C#
   

C#

 
GeneralRe: close all XML nodes by defualt Pin
Malcolm Smart3-Aug-07 3:49
Malcolm Smart3-Aug-07 3:49 
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 
Been trying find a way to update a form ( same instance) directly from a class.My example below compiles but the form result leaves the textbox blank.
using the Form1 myform = new Form1 thing works but again leaves the form blank.

Can anyone help? I'm new to this so go easy on me.

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace test1
{
public partial class Form1 : Form
{
public string strStringVarible;

public Form1()
{
InitializeComponent();
}

private void Form1_Load(object sender, EventArgs e)
{


}

private void button1_Click(object sender, EventArgs e)
{
classtest1 clstest = new classtest1();
clstest.external_class();


}

public void accessor_method()
{
this.textBox1.Text = strStringVarible;
this.textBox1.Refresh();
}

private void textBox1_TextChanged(object sender, EventArgs e)
{

}

}
}


________________________________________________________

using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms.Design;
using System.Data;




namespace test1
{
class classtest1 : Form1
{


public void external_class()
{
this.strStringVarible = "test123";
this.accessor_method();


}




}
}


I'm new so go easy on me please
AnswerRe: Updating a form from a class ( same instance) problem Pin
Martin#3-Aug-07 1:34
Martin#3-Aug-07 1:34 
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 

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.