SC Application Block - Support for Multiple Forms

Topics: CAB & Smart Client Software Factory
Mar 11, 2005 at 6:00 PM
originally posted by: Taniwha

I am deploying the Smart Client Application Block. My application deploys the Single Document Interface (SDI) with multiple forms (see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwinforms/html/reaworapps1.asp )
and the calling form could be one of many?

The Application block example store a single form to the controller.
I am having difficulty deciding

(1) if a new Controller should be assigned to each form, or

(2) have one controller which all the forms share.

Logic says I should favor option 2, but then I having difficulty in calling the correct form when the data returns.


Any ideas would be appreciated?

__Allan