public override void Activate(bool activate, ref string act)
{
if(this.Disposed == true)
{
throw new ObjectDisposedException(this.GetType().Name);
}
base.Activate(activate, ref act);
if(activate == true)
{
// sets the gui state based on the current choice the window contains
UpdateChoice();
}
}