//! region to dispose used form
        #region DisposeForm

        void DisposeRegisterForm()
        {
            RegisterForm f = this.ScenarioForm["RegisterForm"] as RegisterForm;

            if (f != null)
            {
                f.Dispose();
            }
        }
        void Cleanup()
        {
            BypassForm   BF = ScenarioForm["BypassForm"] as BypassForm;
            RegisterForm RF = ScenarioForm["RegisterForm"] as RegisterForm;

            if (BF != null)
            {
                BF.Dispose();
            }
            if (RF != null)
            {
                RF.Dispose();
            }
            ScenarioForm.Clear();
        }