In a windows-based application, how can we access the memebers(controls) of form1.cs class in another class within the same namespace.i need to update the controls with the data received in the other .cs class Thanx in advance.
In a windows-based application, how can we access the memebers(controls) of form1.cs class in another class within the same namespace.i need to update the controls with the data received in the other .cs class Thanx in advance.
Hello, If you have the instance of form1 in your other class. You have to set the Members to public. public otherclass() { this.myform1instance.member1.myproperty.value = ???; } If not, let us know more about your application. All the best, Martin