G
Guest
Cant access a object that is in the same class it seems...
With a new c# win. app. project in vis studio 2k5, if I want to access a
richTextBox that was defined in Form1.Designer.cs. (richTextBox1).
I write a simple line in program.cs
richTextBox1.Text="Test 1.1";
Essentially richTextBox1 is unknown to program.cs ?
so I figured there was a proper name to this textbox
Form1.richTextBox1 ?
So my question is how to access objects from the partial class Form1 ?
With a new c# win. app. project in vis studio 2k5, if I want to access a
richTextBox that was defined in Form1.Designer.cs. (richTextBox1).
I write a simple line in program.cs
richTextBox1.Text="Test 1.1";
Essentially richTextBox1 is unknown to program.cs ?
so I figured there was a proper name to this textbox
Form1.richTextBox1 ?
So my question is how to access objects from the partial class Form1 ?