示例#1
0
        void ReleaseDesignerOutlets()
        {
            if (CameraButton != null)
            {
                CameraButton.Dispose();
                CameraButton = null;
            }

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

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

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

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

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

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

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

            if (UserSurname != null)
            {
                UserSurname.Dispose();
                UserSurname = null;
            }
        }
示例#2
0
 public static void MobileLogOut()
 {
     try
     {
         AppiumActions.ScrollDown();
         LogOutButton.Click();
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
示例#3
0
        void ReleaseDesignerOutlets()
        {
            if (LogOutButton != null)
            {
                LogOutButton.Dispose();
                LogOutButton = null;
            }

            if (QrCodeImage != null)
            {
                QrCodeImage.Dispose();
                QrCodeImage = null;
            }
        }
示例#4
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);
 }
示例#5
0
        void ReleaseDesignerOutlets()
        {
            if (ChoosePicture != null)
            {
                ChoosePicture.Dispose();
                ChoosePicture = null;
            }

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

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

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

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

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

            if (UserPicture != null)
            {
                UserPicture.Dispose();
                UserPicture = null;
            }
        }
示例#6
0
        void ReleaseDesignerOutlets()
        {
            if (BlurVisualEffect != null)
            {
                BlurVisualEffect.Dispose();
                BlurVisualEffect = null;
            }

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

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

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

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

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

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

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

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

            if (UsernameTextField != null)
            {
                UsernameTextField.Dispose();
                UsernameTextField = null;
            }
        }
 public void ClickLogOutButton()
 {
     LogOutButton.Click();
 }
        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;
            }
        }
示例#9
0
 /// <summary>
 /// Desc : Log Out
 /// </summary>
 public void Logoff()
 {
     LogOutMenu.Click();
     LogOutButton.Click();
 }