c# how to get a value from another class variable code example
Example: access label from another class c#
//Form1
public static Form1 form = null;
public Form1()
{
InitializeComponent();
form = this;
}
// Your Class
Form1.form.label1.Text = "Hello, World!";