namespace TestApp { public partial class Form1 : Form { string testrun = "one"; //public string testrun { get; set; } public string Name { get { return Name; } set { Name = testrun; } } } }
private void button1_Click(object sender, EventArgs e) { Form1 f3 = new Form1(); //f3.SomePropertyName = "hello from form2"; textBox1.Text = f3.Name; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)