Click here to Skip to main content
15,902,938 members
Home / Discussions / C#
   

C#

 
Generalwant to generate C# code Pin
rmedo8-Mar-05 2:42
rmedo8-Mar-05 2:42 
GeneralRe: want to generate C# code Pin
J4amieC8-Mar-05 3:35
J4amieC8-Mar-05 3:35 
GeneralRe: want to generate C# code Pin
rmedo8-Mar-05 3:42
rmedo8-Mar-05 3:42 
GeneralRe: want to generate C# code Pin
Werdna8-Mar-05 19:17
Werdna8-Mar-05 19:17 
GeneralPass string from Form2 to textbox of Form1 Pin
ESTAN8-Mar-05 2:42
ESTAN8-Mar-05 2:42 
GeneralRe: Pass string from Form2 to textbox of Form1 Pin
SimonS8-Mar-05 2:45
SimonS8-Mar-05 2:45 
GeneralRe: Pass string from Form2 to textbox of Form1 Pin
ESTAN8-Mar-05 3:26
ESTAN8-Mar-05 3:26 
GeneralRe: Pass string from Form2 to textbox of Form1 Pin
ESTAN9-Mar-05 3:52
ESTAN9-Mar-05 3:52 
Hellow,

I found the solution to my problem.
I resume here for in case other people were strugling with the same problem.

Form1:
make textbox1 to public
private void button1Click(object sender, System.EventArgs e)
{
Form2 _form2 = new Form2(this);
_form2.Show();
}

Form2:
private Form1 _form;
public Form2(Form1 form)
{
InitializeComponent();
_form = form;
}

So on Form2 you are able to do this: _form.textbox1.Text = "TEST";
You will see that the value in Form1 textbox1 will change to TEST

Greetings.

Generalgraphs in c# Pin
Anonymous8-Mar-05 1:54
Anonymous8-Mar-05 1:54 
GeneralRe: graphs in c# Pin
eggie58-Mar-05 1:57
eggie58-Mar-05 1:57 
GeneralRe: graphs in c# Pin
Anonymous8-Mar-05 2:17
Anonymous8-Mar-05 2:17 
GeneralRe: graphs in c# Pin
Stefan Troschuetz8-Mar-05 2:22
Stefan Troschuetz8-Mar-05 2:22 
Generalvalidator Pin
ABBASI_RA8-Mar-05 1:52
ABBASI_RA8-Mar-05 1:52 
GeneralRe: validator Pin
LongRange.Shooter8-Mar-05 2:14
LongRange.Shooter8-Mar-05 2:14 
GeneralRe: validator Pin
ABBASI_RA8-Mar-05 2:34
ABBASI_RA8-Mar-05 2:34 
GeneralRe: validator Pin
LongRange.Shooter8-Mar-05 3:03
LongRange.Shooter8-Mar-05 3:03 
GeneralC#/ORACLE Übergabe eines Strings mit Steuerzeichen Pin
Anonymous8-Mar-05 1:44
Anonymous8-Mar-05 1:44 
GeneralRe: C#/ORACLE Übergabe eines Strings mit Steuerzeichen Pin
mav.northwind8-Mar-05 1:48
mav.northwind8-Mar-05 1:48 
Generalprogram stucks cause it opened modal dialog in other application Pin
3Dizard8-Mar-05 0:38
3Dizard8-Mar-05 0:38 
GeneralRe: program stucks cause it opened modal dialog in other application Pin
Stefan Troschuetz8-Mar-05 1:23
Stefan Troschuetz8-Mar-05 1:23 
GeneralRe: program stucks cause it opened modal dialog in other application Pin
mav.northwind8-Mar-05 1:43
mav.northwind8-Mar-05 1:43 
GeneralRe: program stucks cause it opened modal dialog in other application Pin
Stefan Troschuetz8-Mar-05 1:52
Stefan Troschuetz8-Mar-05 1:52 
GeneralRe: program stucks cause it opened modal dialog in other application Pin
mav.northwind8-Mar-05 2:00
mav.northwind8-Mar-05 2:00 
GeneralRe: program stucks cause it opened modal dialog in other application Pin
3Dizard8-Mar-05 2:17
3Dizard8-Mar-05 2:17 
GeneralCursor Position Pin
chettu8-Mar-05 0:13
chettu8-Mar-05 0:13 

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.