private void InitialiseAllStrings() { ModifySeekiosImageButton.SetTitle(Application.LocalizedString("ModifyImage"), UIControlState.Normal); SeekiosNameLabel.Text = Application.LocalizedString("SeekiosName"); SeekiosNameTextField.Placeholder = Application.LocalizedString("MyNameIs"); IMEILabel.Text = Application.LocalizedString("IMEINumber"); SeekiosIMEITextField.Placeholder = Application.LocalizedString("IMEIPlaceholder"); PinLabel.Text = Application.LocalizedString("PinCode"); SeekiosPinCodeTextField.Placeholder = Application.LocalizedString("PinPlaceholder"); SaveButton.SetTitle(Application.LocalizedString("Save"), UIControlState.Normal); DeleteButton.SetTitle(Application.LocalizedString("Delete"), UIControlState.Normal); NotificationTrackingLabel.Text = Application.LocalizedString("NotificationNewLocationTracking"); NotificationZoneLabel.Text = Application.LocalizedString("NotificationNewLocationOutOfZone"); NotificationDontMoveLabel.Text = Application.LocalizedString("NotificationNewLocationMoved"); }
void ReleaseDesignerOutlets() { if (BuySeekiosButton != null) { BuySeekiosButton.Dispose(); BuySeekiosButton = null; } if (DeleteButton != null) { DeleteButton.Dispose(); DeleteButton = null; } if (IMEILabel != null) { IMEILabel.Dispose(); IMEILabel = null; } if (MaxSizeSeekiosIMEILabel != null) { MaxSizeSeekiosIMEILabel.Dispose(); MaxSizeSeekiosIMEILabel = null; } if (MaxSizeSeekiosNameLabel != null) { MaxSizeSeekiosNameLabel.Dispose(); MaxSizeSeekiosNameLabel = null; } if (MaxSizeSeekiosPinCodeLabel != null) { MaxSizeSeekiosPinCodeLabel.Dispose(); MaxSizeSeekiosPinCodeLabel = null; } if (ModifySeekiosImageButton != null) { ModifySeekiosImageButton.Dispose(); ModifySeekiosImageButton = null; } if (NeedUpdateButton != null) { NeedUpdateButton.Dispose(); NeedUpdateButton = null; } if (NotificationDontMoveLabel != null) { NotificationDontMoveLabel.Dispose(); NotificationDontMoveLabel = null; } if (NotificationDontMoveSwitch != null) { NotificationDontMoveSwitch.Dispose(); NotificationDontMoveSwitch = null; } if (NotificationTrackingLabel != null) { NotificationTrackingLabel.Dispose(); NotificationTrackingLabel = null; } if (NotificationTrackingSwitch != null) { NotificationTrackingSwitch.Dispose(); NotificationTrackingSwitch = null; } if (NotificationZoneLabel != null) { NotificationZoneLabel.Dispose(); NotificationZoneLabel = null; } if (NotificationZoneSwitch != null) { NotificationZoneSwitch.Dispose(); NotificationZoneSwitch = null; } if (PinLabel != null) { PinLabel.Dispose(); PinLabel = null; } if (SaveButton != null) { SaveButton.Dispose(); SaveButton = null; } if (ScrollView != null) { ScrollView.Dispose(); ScrollView = null; } if (SeekiosImageView != null) { SeekiosImageView.Dispose(); SeekiosImageView = null; } if (SeekiosIMEITextField != null) { SeekiosIMEITextField.Dispose(); SeekiosIMEITextField = null; } if (SeekiosNameLabel != null) { SeekiosNameLabel.Dispose(); SeekiosNameLabel = null; } if (SeekiosNameTextField != null) { SeekiosNameTextField.Dispose(); SeekiosNameTextField = null; } if (SeekiosPinCodeTextField != null) { SeekiosPinCodeTextField.Dispose(); SeekiosPinCodeTextField = null; } }