void ReleaseDesignerOutlets() { if (UserImageView != null) { UserImageView.Dispose(); UserImageView = null; } if (UserTagLabel != null) { UserTagLabel.Dispose(); UserTagLabel = null; } if (UsernameLabel != null) { UsernameLabel.Dispose(); UsernameLabel = null; } if (FollowButton != null) { FollowButton.Dispose(); FollowButton = null; } }
private async void UsernameEntry_Unfocused(object sender, FocusEventArgs e) { if (UsernameEntry.Text == null) { await UsernameLabel.TranslateTo(5, 25, 100, Easing.Linear); UsernameLabel.TextColor = Color.Transparent; UsernameEntry.Placeholder = "Username"; } else if (UsernameEntry.Text == "") { await UsernameLabel.TranslateTo(5, 25, 100, Easing.Linear); UsernameLabel.TextColor = Color.Transparent; UsernameEntry.Placeholder = "Username"; } }
private async void UsernameEntry_Focused(object sender, FocusEventArgs e) { if (UsernameEntry.Text == null) { UsernameEntry.Placeholder = ""; await UsernameLabel.TranslateTo(5, 25, 0, null); UsernameLabel.TextColor = Color.FromHex("#1C405B"); await UsernameLabel.TranslateTo(5, 0, 100, Easing.Linear); } else if (UsernameEntry.Text == "") { UsernameEntry.Placeholder = ""; await UsernameLabel.TranslateTo(5, 25, 0, null); UsernameLabel.TextColor = Color.FromHex("#1C405B"); await UsernameLabel.TranslateTo(5, 0, 100, Easing.Linear); } }
private void PortLabel_OnKeyDown(object sender, KeyEventArgs e) { if ((e.Key >= Key.NumPad0 && e.Key <= Key.NumPad9) || (e.Key >= Key.D0 && e.Key <= Key.D9)) { } else if (e.Key == Key.Enter) { if (ViewModel.IsSocks5Proxy) { UsernameLabel.Focus(); } else { SecretLabel.Focus(); } } else { e.Handled = true; } }
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; } }
void ReleaseDesignerOutlets() { if (AddPostButton != null) { AddPostButton.Dispose(); AddPostButton = null; } if (EditUserButton != null) { EditUserButton.Dispose(); EditUserButton = null; } if (FriendsButton != null) { FriendsButton.Dispose(); FriendsButton = null; } if (HomeButton != null) { HomeButton.Dispose(); HomeButton = null; } if (ProfileButton != null) { ProfileButton.Dispose(); ProfileButton = null; } if (UserBioLabel != null) { UserBioLabel.Dispose(); UserBioLabel = null; } if (UserFollowersLabel != null) { UserFollowersLabel.Dispose(); UserFollowersLabel = null; } if (UserFollowingLabel != null) { UserFollowingLabel.Dispose(); UserFollowingLabel = null; } if (UserImageView != null) { UserImageView.Dispose(); UserImageView = null; } if (UsernameLabel != null) { UsernameLabel.Dispose(); UsernameLabel = null; } if (UserPostsCollectionView != null) { UserPostsCollectionView.Dispose(); UserPostsCollectionView = null; } if (UserPostsLabel != null) { UserPostsLabel.Dispose(); UserPostsLabel = null; } if (UserTagLabel != null) { UserTagLabel.Dispose(); UserTagLabel = null; } if (LogoutButton != null) { LogoutButton.Dispose(); LogoutButton = null; } }
void ReleaseDesignerOutlets() { if (AccountData != null) { AccountData.Dispose(); AccountData = null; } if (AccountDataSection != null) { AccountDataSection.Dispose(); AccountDataSection = null; } if (BottomConstraint != null) { BottomConstraint.Dispose(); BottomConstraint = null; } if (Cancel != null) { Cancel.Dispose(); Cancel = null; } if (ChangePassword != null) { ChangePassword.Dispose(); ChangePassword = null; } if (ChangePasswordSection != null) { ChangePasswordSection.Dispose(); ChangePasswordSection = null; } if (CheckUsername != null) { CheckUsername.Dispose(); CheckUsername = null; } if (ConfirmPassword != null) { ConfirmPassword.Dispose(); ConfirmPassword = null; } if (ConfirmPasswordLabel != null) { ConfirmPasswordLabel.Dispose(); ConfirmPasswordLabel = null; } if (DeactivateAccount != null) { DeactivateAccount.Dispose(); DeactivateAccount = null; } if (DeleteAccount != null) { DeleteAccount.Dispose(); DeleteAccount = 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 (EditImagesUploaded != null) { EditImagesUploaded.Dispose(); EditImagesUploaded = null; } if (Email != null) { Email.Dispose(); Email = null; } if (EmailLabel != null) { EmailLabel.Dispose(); EmailLabel = 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 (LocationSettings != null) { LocationSettings.Dispose(); LocationSettings = null; } if (LocationSettingsSection != null) { LocationSettingsSection.Dispose(); LocationSettingsSection = 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 (Men != null) { Men.Dispose(); Men = null; } if (MenLabel != null) { MenLabel.Dispose(); MenLabel = null; } if (MoreOptions != null) { MoreOptions.Dispose(); MoreOptions = null; } if (MoreOptionsSection != null) { MoreOptionsSection.Dispose(); MoreOptionsSection = null; } if (Name != null) { Name.Dispose(); Name = null; } if (NameLabel != null) { NameLabel.Dispose(); NameLabel = null; } if (NewPassword != null) { NewPassword.Dispose(); NewPassword = null; } if (NewPasswordLabel != null) { NewPasswordLabel.Dispose(); NewPasswordLabel = null; } if (OldPassword != null) { OldPassword.Dispose(); OldPassword = null; } if (OldPasswordLabel != null) { OldPasswordLabel.Dispose(); OldPasswordLabel = null; } if (ProfileEdit_Scroll != null) { ProfileEdit_Scroll.Dispose(); ProfileEdit_Scroll = null; } if (RippleImageEditor != null) { RippleImageEditor.Dispose(); RippleImageEditor = null; } if (RoundBottom != null) { RoundBottom.Dispose(); RoundBottom = null; } if (Save != null) { Save.Dispose(); Save = null; } if (ScrollBottomConstraint != null) { ScrollBottomConstraint.Dispose(); ScrollBottomConstraint = null; } if (ScrollBottomOuterConstraint != null) { ScrollBottomOuterConstraint.Dispose(); ScrollBottomOuterConstraint = 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; } if (ViewportConstraint != null) { ViewportConstraint.Dispose(); ViewportConstraint = null; } if (Women != null) { Women.Dispose(); Women = null; } if (WomenLabel != null) { WomenLabel.Dispose(); WomenLabel = null; } }
void ReleaseDesignerOutlets() { if (BodyContainer != null) { BodyContainer.Dispose(); BodyContainer = null; } if (ChatNameLabel != null) { ChatNameLabel.Dispose(); ChatNameLabel = null; } if (DateTimeLabel != null) { DateTimeLabel.Dispose(); DateTimeLabel = null; } if (MessageBodyLabel != null) { MessageBodyLabel.Dispose(); MessageBodyLabel = null; } if (ReadUnreadIndicator != null) { ReadUnreadIndicator.Dispose(); ReadUnreadIndicator = null; } if (SenderPhotoImageView != null) { SenderPhotoImageView.Dispose(); SenderPhotoImageView = null; } if (UnreadMessageCountBackground != null) { UnreadMessageCountBackground.Dispose(); UnreadMessageCountBackground = null; } if (UnreadMessageCountLabel != null) { UnreadMessageCountLabel.Dispose(); UnreadMessageCountLabel = null; } if (UnreadView != null) { UnreadView.Dispose(); UnreadView = null; } if (UsernameLabel != null) { UsernameLabel.Dispose(); UsernameLabel = null; } if (LastMessageBodyPhotoView != null) { LastMessageBodyPhotoView.Dispose(); LastMessageBodyPhotoView = null; } if (LastMessageBodyPhotoIcon != null) { LastMessageBodyPhotoIcon.Dispose(); LastMessageBodyPhotoIcon = null; } if (LastMessageBodyPhotoLabel != null) { LastMessageBodyPhotoLabel.Dispose(); LastMessageBodyPhotoLabel = null; } }