There are loads of approaches to this, although it seems as though you're trying to have two completely different screens in the one place, when you might as well have two forms, or tab pages or something like that.
Anyway, are there only two cases? In each case, is the set of controls visible...