Esempio n. 1
0
 private void InitialiseAllStrings()
 {
     FirstNameTextField.Placeholder = Application.LocalizedString("FirstName");
     FirstNameLabel.Text            = Application.LocalizedString("FirstName");
     LastNameTextField.Placeholder  = Application.LocalizedString("LastName");
     LastNameLabel.Text             = Application.LocalizedString("LastName");
     EmailTextField.Placeholder     = Application.LocalizedString("EmailAddress");
     EmailTitleLabel.Text           = Application.LocalizedString("EmailParam");
     SaveButton.SetTitle(Application.LocalizedString("Save"), UIControlState.Normal);
     AboutButton.SetTitle(Application.LocalizedString("AboutParam"), UIControlState.Normal);
     LogOutButton.SetTitle(Application.LocalizedString("Logout"), UIControlState.Normal);
     ModifyUserImageButton.SetTitle(Application.LocalizedString("ModifyImage"), UIControlState.Normal);
     PhoneNumberLabel.Text = Application.LocalizedString("PhoneNumber");
     UpdatePasswordButton.SetTitle(Application.LocalizedString("PasswordParam"), UIControlState.Normal);
 }
        void ReleaseDesignerOutlets()
        {
            if (AboutButton != null)
            {
                AboutButton.Dispose();
                AboutButton = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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