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

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

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

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

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

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

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

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

            if (Tableview != null)
            {
                Tableview.Dispose();
                Tableview = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (ButtonCreateAlert != null)
            {
                ButtonCreateAlert.Dispose();
                ButtonCreateAlert = null;
            }

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

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

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

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

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

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

            if (TableViewDontMove != null)
            {
                TableViewDontMove.Dispose();
                TableViewDontMove = null;
            }
        }
 private void InitialiseAllStrings()
 {
     MobileNotificationLabel.Text = Application.LocalizedString("MobileNotification");
     NotifActivatedLabel.Text     = Application.LocalizedString("NotifActivatedDontMove");
     EmailAlertLabel.Text         = Application.LocalizedString("EmailAlert");
     ButtonCreateAlert.SetTitle(Application.LocalizedString("CreateButton"), UIControlState.Normal);
     EmptyAlertButton.SetTitle(Application.LocalizedString("NoEmailAlertConfigured"), UIControlState.Normal);
     if (App.Locator.ModeDontMove.LsAlertsModeDontMove?.Count > 0)
     {
         NextButton.SetTitle(Application.LocalizedString("Next"), UIControlState.Normal);
     }
     else
     {
         NextButton.SetTitle(Application.LocalizedString("Skip"), UIControlState.Normal);
     }
 }
Exemple #4
0
 public void InitialiseAllStrings()
 {
     MobileNotificationLabel.Text = Application.LocalizedString("MobileNotification");
     NotifActivatedLabel.Text     = Application.LocalizedString("NotifActivatedZone");
     EmailAlertLabel.Text         = Application.LocalizedString("EmailAlert");
     AddAlertButton.SetTitle(Application.LocalizedString("CreateButton"), UIControlState.Normal);
     NextButton.SetTitle(Application.LocalizedString("Next"), UIControlState.Normal);
     EmptyAlertButton.SetTitle(Application.LocalizedString(Application.LocalizedString("NoEmailAlertConfigured")), UIControlState.Normal);
     PreviousButton.SetTitle(Application.LocalizedString("Previous"), UIControlState.Normal);
     if (App.Locator.ModeZone.LsAlertsModeZone?.Count > 0)
     {
         NextButton.SetTitle(Application.LocalizedString("Next"), UIControlState.Normal);
     }
     else
     {
         NextButton.SetTitle(Application.LocalizedString("Skip"), UIControlState.Normal);
     }
 }