コード例 #1
0
 void AfterDismissed()
 {
     YesSinceBtn.Dispose();
     YesButBtn.Dispose();
     NoBtn.Dispose();
     SkipBtn.Dispose();
 }
        void ReleaseDesignerOutlets()
        {
            if (ScrollView != null)
            {
                ScrollView.Dispose();
                ScrollView = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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