B
bronco
Guest
Well, if you just pass the object reference to the child you create a rather strong dependency. Say, the child needs to run the Update method in the parent you can do two things: create an IUpdatable interface (with the Update method), implement the IUpdatable in the parent and pass the object reference from parent to child as an IUpdatable. Then you child form can be used for any parent which implement IUpdatable. Second possibility is events. Subscribe the parent to the update events from the child. (I'm using Update as an example obviously).
Continue reading...
Continue reading...