W
wpmccormick
What is the cleanest way to gain access to object methods and
properties across classes and files in the same namespace?
Example: A form object frmForm in file frmForm.cs creates obj1 defined
in file obj1.cs, which in turn creates obj2 and obj3 defined in obj2.cs
and obj3.cs, respectively.
What is the canonical way for frmForm to access obj2 and obj3? For obj3
to access frmForm?
properties across classes and files in the same namespace?
Example: A form object frmForm in file frmForm.cs creates obj1 defined
in file obj1.cs, which in turn creates obj2 and obj3 defined in obj2.cs
and obj3.cs, respectively.
What is the canonical way for frmForm to access obj2 and obj3? For obj3
to access frmForm?