void ReleaseDesignerOutlets()
 {
     if (LoginButton != null)
     {
         LoginButton.Dispose();
         LoginButton = null;
     }
     if (PasswordLabel != null)
     {
         PasswordLabel.Dispose();
         PasswordLabel = null;
     }
     if (PasswordTextField != null)
     {
         PasswordTextField.Dispose();
         PasswordTextField = null;
     }
     if (UserIDLabel != null)
     {
         UserIDLabel.Dispose();
         UserIDLabel = null;
     }
     if (UserIDTextField != null)
     {
         UserIDTextField.Dispose();
         UserIDTextField = null;
     }
 }
Пример #2
0
        void ReleaseDesignerOutlets()
        {
            if (BaseView != null)
            {
                BaseView.Dispose();
                BaseView = null;
            }

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

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

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

            if (SelectBarButton != null)
            {
                SelectBarButton.Dispose();
                SelectBarButton = null;
            }
        }
Пример #3
0
        void ReleaseDesignerOutlets()
        {
            if (BackButton != null)
            {
                BackButton.Dispose();
                BackButton = null;
            }

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

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

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

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

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

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

            if (SignUpButton != null)
            {
                SignUpButton.Dispose();
                SignUpButton = null;
            }
        }
Пример #5
0
        private void LoginButton_Click(object sender, EventArgs e)
        {
            string user = UsernameTextBox.Text;
            string pass = PasswordTextBox.Text;

            if (newlogin.Verify(user, pass))
            {
                //login to dashboard
                if (newlogin.IspwdReset())
                {
                    //show new/confirm password textboxes and update password
                    PasswordLabel.Hide();
                    NewPasswordLabel.Show();

                    ConfirmPasswordLabel.Show();
                    ConfirmPasswordTextBox.Show();
                    PasswordTextBox.Text = "";
                    MessageBox.Show("Please update your password.");

                    LoginButton.Hide();
                    ConfirmLoginButton.Show();
                }
                else
                {
                    //MessageBox.Show("Login successfull!");
                    this.Hide();
                    Dashboard db = new Dashboard(newlogin.GetUserID());
                    db.Show();
                }
            }
        }
Пример #6
0
 private void Username_OnKeyDown(object sender, KeyEventArgs e)
 {
     if (e.Key == Key.Enter)
     {
         PasswordLabel.Focus();
     }
 }
Пример #7
0
        void ReleaseDesignerOutlets()
        {
            if (HeadImage != null)
            {
                HeadImage.Dispose();
                HeadImage = null;
            }

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

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

            if (PasswordText != null)
            {
                PasswordText.Dispose();
                PasswordText = null;
            }
        }
 private void PasswordLabel_MouseClick(object sender, MouseEventArgs e)
 {
     Password.Enabled = true;
     Password.Focus();
     PasswordLabel.Hide();
     PasswordLabel.Enabled = false;
     CheckCapslock();
 }
Пример #9
0
        void ReleaseDesignerOutlets()
        {
            if (PasswordLabel != null)
            {
                PasswordLabel.Dispose();
                PasswordLabel = null;
            }

            if (UserNameLabel != null)
            {
                UserNameLabel.Dispose();
                UserNameLabel = null;
            }
        }
Пример #10
0
        void ReleaseDesignerOutlets()
        {
            if (CancelButton != null)
            {
                CancelButton.Dispose();
                CancelButton = null;
            }

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

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

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

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

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

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

            if (UsernameLabel != null)
            {
                UsernameLabel.Dispose();
                UsernameLabel = null;
            }
        }
Пример #11
0
        private async void PasswordEntry_Unfocused(object sender, FocusEventArgs e)
        {
            if (PasswordEntry.Text == null)
            {
                await PasswordLabel.TranslateTo(5, 25, 100, Easing.Linear);

                PasswordLabel.TextColor   = Color.Transparent;
                PasswordEntry.Placeholder = "Password";
            }
            else if (PasswordEntry.Text == "")
            {
                await PasswordLabel.TranslateTo(5, 25, 100, Easing.Linear);

                PasswordLabel.TextColor   = Color.Transparent;
                PasswordEntry.Placeholder = "Password";
            }
        }
Пример #12
0
        private async void PasswordEntry_Focused(object sender, FocusEventArgs e)
        {
            if (PasswordEntry.Text == null)
            {
                PasswordEntry.Placeholder = "";
                await PasswordLabel.TranslateTo(5, 25, 0, null);

                PasswordLabel.TextColor = Color.FromHex("#1C405B");
                await PasswordLabel.TranslateTo(5, 0, 100, Easing.Linear);
            }
            else if (PasswordEntry.Text == "")
            {
                PasswordEntry.Placeholder = "";
                await PasswordLabel.TranslateTo(5, 25, 0, null);

                PasswordLabel.TextColor = Color.FromHex("#1C405B");
                await PasswordLabel.TranslateTo(5, 0, 100, Easing.Linear);
            }
        }
Пример #13
0
        void ReleaseDesignerOutlets()
        {
            if (FirstNameLabel != null)
            {
                FirstNameLabel.Dispose();
                FirstNameLabel = null;
            }

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

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

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

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

            if (SignUpButton != null)
            {
                SignUpButton.Dispose();
                SignUpButton = null;
            }
        }
Пример #14
0
        void ReleaseDesignerOutlets()
        {
            if (ServerLabel != null)
            {
                ServerLabel.Dispose();
                ServerLabel = null;
            }

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

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

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

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

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

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

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

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

            if (CustomProxyButton != null)
            {
                CustomProxyButton.Dispose();
                CustomProxyButton = null;
            }
        }
Пример #15
0
        void ReleaseDesignerOutlets()
        {
            if (BottomConstraint != null)
            {
                BottomConstraint.Dispose();
                BottomConstraint = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (UsernameLabel != null)
            {
                UsernameLabel.Dispose();
                UsernameLabel = null;
            }
        }
Пример #16
0
 void InitLabels()
 {
     UsernameLabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig()
     {
         Rect        = new Rect(4f, 80f, 431f, 150f),
         Text        = "Username",
         RenderStyle = new GUIStyle
         {
             fontSize  = 15,
             fontStyle = FontStyle.Bold,
             alignment = TextAnchor.MiddleCenter,
             normal    =
             {
                 textColor = Color.white
             }
         }
     }, 15);
     TitleLabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig()
     {
         Rect        = new Rect(107f, 4f, 431f, 150f),
         Text        = string.Format("<b>LMS {0} [<color=#83b6ef>Critical OPS</color></b>] - Authentication", LMS_Meta.getMetaValue("VER")),
         RenderStyle = new GUIStyle
         {
             fontSize  = 23,
             fontStyle = FontStyle.Bold,
             alignment = TextAnchor.MiddleCenter,
             normal    =
             {
                 textColor = Color.white
             }
         }
     }, 15);
     UsernameRenderer = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig()
     {
         Rect        = new Rect(120f, 80f, 461f, 150f),
         RenderStyle = new GUIStyle
         {
             fontSize  = 14,
             fontStyle = FontStyle.Bold,
             alignment = TextAnchor.MiddleCenter,
             normal    =
             {
                 textColor = Color.cyan
             }
         }
     }, 1);
     PasswordLabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig()
     {
         Rect        = new Rect(4f, 120f, 431f, 150f),
         Text        = "Password",
         RenderStyle = new GUIStyle
         {
             fontSize  = 15,
             fontStyle = FontStyle.Bold,
             alignment = TextAnchor.MiddleCenter,
             normal    =
             {
                 textColor = Color.white
             }
         }
     }, 15);
     PasswordRenderer = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig()
     {
         Rect        = new Rect(120f, 120f, 461f, 150f),
         RenderStyle = new GUIStyle
         {
             fontSize  = 14,
             fontStyle = FontStyle.Bold,
             alignment = TextAnchor.MiddleCenter,
             normal    =
             {
                 textColor = Color.cyan
             }
         }
     }, 1);
     LoginText = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig()
     {
         Rect        = new Rect(150f, 165f, 370f, 190f),
         Text        = "Login",
         RenderStyle = new GUIStyle
         {
             fontSize  = 16,
             fontStyle = FontStyle.Bold,
             alignment = TextAnchor.MiddleCenter,
             normal    =
             {
                 textColor = Color.white
             }
         }
     }, 15);
     ErrorLabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig()
     {
         Rect        = new Rect(210f, 260f, 431f, 150f),
         Text        = "ERROR HERE",
         RenderStyle = new GUIStyle
         {
             fontSize  = 14,
             fontStyle = FontStyle.Bold,
             alignment = TextAnchor.MiddleRight,
             normal    =
             {
                 textColor = Color.cyan
             }
         }
     }, 15);
     DiscordLabel = InstantiateChild <LMS_GuiBaseLabel>(new LMS_GuiConfig()
     {
         Rect        = new Rect(10f, 185f, 340f, 250f),
         Text        = LMS_GuiBaseLabelBoundaries.WrapText("Don't own the hack? Click here to join our discord and purchase it!", 14, 200f),
         RenderStyle = new GUIStyle
         {
             fontSize  = 14,
             fontStyle = FontStyle.Bold,
             alignment = TextAnchor.MiddleCenter,
             normal    =
             {
                 textColor = Color.white
             }
         }
     }, 15);
     InitLabelDefault(UsernameLabel);
     InitLabelDefault(TitleLabel);
     InitLabelDefault(UsernameRenderer);
     InitLabelDefault(PasswordLabel);
     InitLabelDefault(PasswordRenderer);
     InitLabelDefault(LoginText);
     InitLabelDefault(ErrorLabel);
     InitLabelDefault(DiscordLabel);
     UsernameLabel.SetRenderMode(E_ColorFlags.FIXED);
     TitleLabel.SetRenderMode(E_ColorFlags.FIXED);
     UsernameRenderer.SetRenderMode(E_ColorFlags.FIXED);
     PasswordLabel.SetRenderMode(E_ColorFlags.FIXED);
     PasswordRenderer.SetRenderMode(E_ColorFlags.FIXED);
     ErrorLabel.SetRenderMode(E_ColorFlags.FIXED);
     DiscordLabel.SetFlags("UNDERLINE", LMS_GuiBaseLabelBoundaries.WrapText("_____ ___ ___ _____ _____ ____ __ ____ ___ _______ ___ ________ ___", 14, 200f));
 }
Пример #17
0
		void ReleaseDesignerOutlets ()
		{
			if (AddressLabel != null) {
				AddressLabel.Dispose ();
				AddressLabel = null;
			}

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

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

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

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

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

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

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

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

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

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

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

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

			if (UserText != null) {
				UserText.Dispose ();
				UserText = null;
			}
		}
Пример #18
0
        void ReleaseDesignerOutlets()
        {
            if (CancelButton != null)
            {
                CancelButton.Dispose();
                CancelButton = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (UserNameTextbox != null)
            {
                UserNameTextbox.Dispose();
                UserNameTextbox = null;
            }
        }
Пример #21
0
        void ReleaseDesignerOutlets()
        {
            if (AddressLabel != null)
            {
                AddressLabel.Dispose();
                AddressLabel = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (UserText != null)
            {
                UserText.Dispose();
                UserText = null;
            }
        }
Пример #22
0
 public void ClickPasswordLabel()
 {
     PasswordLabel.Click();
 }
Пример #23
0
        void ReleaseDesignerOutlets()
        {
            if (AddressHelp != null)
            {
                AddressHelp.Dispose();
                AddressHelp = null;
            }

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

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

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

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

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

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

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

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

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

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