My app has forms A and B.

Is it possible for a dll to load one of those forms depending on a variable passed to it by the app.