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;
     }
 }
예제 #2
0
        void Handle_SlideCompleted(object sender, System.EventArgs e)
        {
            Axolotl.CleanTank();

            MessageLbl.Text    = "All Clean";
            MessageLbl.Opacity = 1;
            MessageLbl.FadeTo(0, 1000);
        }
예제 #3
0
 void ShowMessage(bool Error, string Message)
 {
     if (MessageLbl.InvokeRequired)
     {
         ShowMessage_d CALL_d = new ShowMessage_d(ShowMessage);
         MessageLbl.Invoke(CALL_d, new object[] { Error, Message });
     }
     else
     {
         MessageLbl.Text = Message;
         if (Error)
         {
             MessageLbl.ForeColor = Color.Red;
         }
         else
         {
             MessageLbl.ForeColor = Color.Black;
         }
         LoadProgressBar.Visible = false;
         LoadLL.Enabled          = true;
     }
 }
        void ReleaseDesignerOutlets()
        {
            if (ActivityExplainerLbl != null)
            {
                ActivityExplainerLbl.Dispose();
                ActivityExplainerLbl = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (StatusText != null)
            {
                StatusText.Dispose();
                StatusText = null;
            }
        }
예제 #5
0
        void ReleaseDesignerOutlets()
        {
            if (ActivityExplainerLbl != null)
            {
                ActivityExplainerLbl.Dispose();
                ActivityExplainerLbl = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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