I know in good ol' VB.NET you can do something like this and it does exactly what I'd want it to do in C# (this not being the real names, hyperthetically):
Form1.TextBox1.Text = "Eyyyyy"
But in C#, afaik the only way I can set the Text property of a TextBox in another form is like so (the TextBox being declared public of course):
frmMain formMain = new frmMain(); formMain.rtxBBCode.Text = templateInfo[2]; formMain.Show();
Is there a way I can do this, without needing to create another instance of frmMain? Thanks in advance.

New Topic/Question
Reply




MultiQuote





|