Esempio n. 1
0
        void ReleaseDesignerOutlets()
        {
            if (AddDieButton != null)
            {
                AddDieButton.Dispose();
                AddDieButton = null;
            }

            if (BackgroundView != null)
            {
                BackgroundView.Dispose();
                BackgroundView = null;
            }

            if (CancelButton != null)
            {
                CancelButton.Dispose();
                CancelButton = null;
            }

            if (DieTableView != null)
            {
                DieTableView.Dispose();
                DieTableView = null;
            }

            if (HeaderLabel != null)
            {
                HeaderLabel.Dispose();
                HeaderLabel = null;
            }

            if (HeaderView != null)
            {
                HeaderView.Dispose();
                HeaderView = null;
            }

            if (ModButton != null)
            {
                ModButton.Dispose();
                ModButton = null;
            }

            if (ModView != null)
            {
                ModView.Dispose();
                ModView = null;
            }

            if (OKButton != null)
            {
                OKButton.Dispose();
                OKButton = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (AddSkillButton != null)
            {
                AddSkillButton.Dispose();
                AddSkillButton = null;
            }

            if (AuraButton != null)
            {
                AuraButton.Dispose();
                AuraButton = null;
            }

            if (AvailableSkillsTable != null)
            {
                AvailableSkillsTable.Dispose();
                AvailableSkillsTable = null;
            }

            if (BaseAtkButton != null)
            {
                BaseAtkButton.Dispose();
                BaseAtkButton = null;
            }

            if (BaseView != null)
            {
                BaseView.Dispose();
                BaseView = null;
            }

            if (CMBButton != null)
            {
                CMBButton.Dispose();
                CMBButton = null;
            }

            if (CMDButton != null)
            {
                CMDButton.Dispose();
                CMDButton = null;
            }

            if (DescriptionView != null)
            {
                DescriptionView.Dispose();
                DescriptionView = null;
            }

            if (GearButton != null)
            {
                GearButton.Dispose();
                GearButton = null;
            }

            if (KnownSkillsTable != null)
            {
                KnownSkillsTable.Dispose();
                KnownSkillsTable = null;
            }

            if (LanguagesButton != null)
            {
                LanguagesButton.Dispose();
                LanguagesButton = null;
            }

            if (ModView != null)
            {
                ModView.Dispose();
                ModView = null;
            }

            if (RacialModsButton != null)
            {
                RacialModsButton.Dispose();
                RacialModsButton = null;
            }

            if (SkillDetailButton != null)
            {
                SkillDetailButton.Dispose();
                SkillDetailButton = null;
            }

            if (SkillDetailSelectButton != null)
            {
                SkillDetailSelectButton.Dispose();
                SkillDetailSelectButton = null;
            }

            if (SkillsView != null)
            {
                SkillsView.Dispose();
                SkillsView = null;
            }

            if (SQButton != null)
            {
                SQButton.Dispose();
                SQButton = null;
            }
        }