T
trint
I have a textbox (textBox7) that isn't updating..
Is there a way, after I type new text in it, to have it update?
It seems to be fairly normal:
public class Form1
: System.Windows.Forms.Form
{
private System.Windows.Forms.TextBox textBox7;
......
private void InitializeComponent()
{
this.textBox7 = new System.Windows.Forms.TextBox();
// textBox7
//
this.textBox7.Location = new System.Drawing.Point(248, 32);
this.textBox7.Name = "textBox7";
this.textBox7.Size = new System.Drawing.Size(72, 20);
this.textBox7.TabIndex = 69;
this.textBox7.Text = "";
//
this.Controls.Add(this.textBox7);
Ok, the Form1 is idol and I type "100".
then debug and watch here:
public void getTextBox7()
{
Form1 this2watch = new Form1();
string addwatch = this.textBox7.Text;<<<Nothing is in here!
Class1.watCHTimer1 = Convert.ToInt16(addwatch);
}
thanks in advance,
Trint
Thanks,
Trint
Is there a way, after I type new text in it, to have it update?
It seems to be fairly normal:
public class Form1
: System.Windows.Forms.Form
{
private System.Windows.Forms.TextBox textBox7;
......
private void InitializeComponent()
{
this.textBox7 = new System.Windows.Forms.TextBox();
// textBox7
//
this.textBox7.Location = new System.Drawing.Point(248, 32);
this.textBox7.Name = "textBox7";
this.textBox7.Size = new System.Drawing.Size(72, 20);
this.textBox7.TabIndex = 69;
this.textBox7.Text = "";
//
this.Controls.Add(this.textBox7);
Ok, the Form1 is idol and I type "100".
then debug and watch here:
public void getTextBox7()
{
Form1 this2watch = new Form1();
string addwatch = this.textBox7.Text;<<<Nothing is in here!
Class1.watCHTimer1 = Convert.ToInt16(addwatch);
}
thanks in advance,
Trint
Thanks,
Trint