Ok in VB and VB.net I know how to control other forms and communicate with them. For example, if I want to refresh a control on another form (formB) from formA I could write something like this in the code of formA:
formB.somecontrol.requery
How do you do the equivalent thing in C# windows forms? I have two forms open (formA and formB) and I want the second form (formB) to call a method of a control on formA to refresh or requery it before formB closes itself. How do you do these sorts of things in C#.
I know this may seem like a dumb question to the gurus but I'm a VB programmer trying to learn C# and translate the concepts. Thanks in advance
formB.somecontrol.requery
How do you do the equivalent thing in C# windows forms? I have two forms open (formA and formB) and I want the second form (formB) to call a method of a control on formA to refresh or requery it before formB closes itself. How do you do these sorts of things in C#.
I know this may seem like a dumb question to the gurus but I'm a VB programmer trying to learn C# and translate the concepts. Thanks in advance