void ReleaseDesignerOutlets()
 {
     if (AvatarImg != null)
     {
         AvatarImg.Dispose();
         AvatarImg = null;
     }
     if (DateLbl != null)
     {
         DateLbl.Dispose();
         DateLbl = null;
     }
     if (Disclosure != null)
     {
         Disclosure.Dispose();
         Disclosure = null;
     }
     if (MessageLbl != null)
     {
         MessageLbl.Dispose();
         MessageLbl = null;
     }
     if (NameLbl != null)
     {
         NameLbl.Dispose();
         NameLbl = null;
     }
 }
Exemple #2
0
        void ReleaseDesignerOutlets()
        {
            if (DateLbl != null)
            {
                DateLbl.Dispose();
                DateLbl = null;
            }

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

            if (TitleLbl != null)
            {
                TitleLbl.Dispose();
                TitleLbl = null;
            }
        }
        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;
            }
        }