edit form item from class C#

C#
TextBox t = Application.OpenForms["Form1"].Controls["textBox1"] as TextBox;
Source

Also in C#: