예제 #1
0
        private void EditProfileBT_Click(object sender, RoutedEventArgs e)
        {
            var DataUser = ((Button)sender);
            var Data     = ((InstaUserInfo)DataUser.DataContext);

            EditFr.Navigate(typeof(EditProfile.EditProfile), Data);
        }
예제 #2
0
        private void MainGr_ManipulationDelta(object sender, ManipulationDeltaRoutedEventArgs e)
        {
            if (e.IsInertial && !_isSwiped)
            {
                var swipedDistance = e.Cumulative.Translation.Y;

                if (Math.Abs(swipedDistance) <= 2)
                {
                    return;
                }
                _isSwiped = true;
                if (swipedDistance > 0)
                {
                    //SwipeableTextBlock.Text = "Down Swiped";
                }
                else
                {
                    CarouVideo.Pause();
                    StoryViews.PauseStartTimer(true);
                    if (CarouselItem.User.UserName == AppCore.InstaApi.GetLoggedUser().UserName)
                    {
                        EditFr.Navigate(typeof(StoryViewersView), CarouselItem.Id);
                    }
                    //SwipeableTextBlock.Text = "Up Swiped";
                }
            }
        }
예제 #3
0
 public RecentActivityView()
 {
     this.InitializeComponent();
     EditFr.Navigate(typeof(Page));
     OnNavigatedTo();
     //RecentActivity
     //var RecentActivity = await AppCore.InstaApi.GetRecentActivityAsync(PaginationParameters.MaxPagesToLoad(1));
 }
예제 #4
0
 public SearchPage()
 {
     this.InitializeComponent();
     Current = this;
     EditFr.Navigate(typeof(Page));
     GridAuto = GridAutoSuggest;
     Loaded  += SearchPage_Loaded;
 }
예제 #5
0
        void LVI_Tapped(object sender, TappedRoutedEventArgs e)
        {
            switch ((sender as ListViewItem).Content.ToString())
            {
            case "Story Settings":
                EditFr.Navigate(typeof(StorySettingsView));
                break;

            case "Change Password":
                EditFr.Navigate(typeof(ChangePasswordView));
                break;

            case "Two Factor Authentication":
                EditFr.Navigate(typeof(TwoFactorSettingsView));
                break;

            case "Posts You've Liked":
                EditFr.Navigate(typeof(LikedFeedsView));
                break;

            default:
                break;
            }
        }
예제 #6
0
 public MainSettingsView()
 {
     InitializeComponent();
     EditFr.Navigate(typeof(Page));
 }
예제 #7
0
 private void PeopleList_ItemClick(object sender, ItemClickEventArgs e)
 {
     EditFr.Navigate(typeof(UserProfileView), e.ClickedItem);
 }
예제 #8
0
 public ProfileView()
 {
     InitializeComponent();
     EditFr.Navigate(typeof(Page));
     ProfileViewModel.PropertyChanged += ProfileViewModel_PropertyChanged;
 }
예제 #9
0
 //int _tapscount = 0;
 public CarouselItemUCStories()
 {
     this.InitializeComponent();
     EditFr.Navigate(typeof(Page));
     this.DataContextChanged += CarouselItemUC_DataContextChanged;
 }
예제 #10
0
 void Followers_Tapped(object sender, TappedRoutedEventArgs e) => EditFr.Navigate(typeof(UserFollowersView), UserProfileViewModel.User.UserName);
예제 #11
0
 private void FollowReqItem_Tapped(object sender, TappedRoutedEventArgs e)
 {
     EditFr.Navigate(typeof(FollowRequestsView), PendingUsers);
 }
예제 #12
0
 private void Followers_Click(object sender, RoutedEventArgs e)
 {
     EditFr.Navigate(typeof(UserFollowersView), UserProfileViewModel.User.UserName);
 }
예제 #13
0
 public ProfileView()
 {
     this.InitializeComponent();
     EditFr.Navigate(typeof(Page));
 }
예제 #14
0
 private void Following_Tapped(object sender, TappedRoutedEventArgs e)
 {
     EditFr.Navigate(typeof(UserFollowingsView), UserProfileViewModel.User.UserName);
 }
예제 #15
0
 private void Followers_Tapped(object sender, TappedRoutedEventArgs e)
 {
     EditFr.Navigate(typeof(UserFollowersView), AppCore.InstaApi.GetLoggedUser().UserName);
 }
예제 #16
0
 void AdaptiveGridViewControl_ItemClick(object sender, ItemClickEventArgs e) => EditFr.Navigate(typeof(SinglePostView), e.ClickedItem);
예제 #17
0
 private void Settings_Click(object sender, RoutedEventArgs e)
 {
     EditFr.Navigate(typeof(MainSettingsView));
 }
예제 #18
0
 public ProfileView()
 {
     InitializeComponent();
     EditFr.Navigate(typeof(Page));
     DataContextChanged += ProfileView_DataContextChanged;
 }
예제 #19
0
 private void AdaptiveGridViewControl_ItemClick(object sender, ItemClickEventArgs e)
 {
     EditFr.Navigate(typeof(SinglePostView), e.ClickedItem as InstaMedia);
 }
예제 #20
0
 public LikedFeedsView()
 {
     this.InitializeComponent();
     EditFr.Navigate(typeof(Page));
 }
예제 #21
0
 public UserProfileView()
 {
     this.InitializeComponent();
     EditFr.Navigate(typeof(Page));
     DataContextChanged += UserProfileViewDataContextChanged;
 }
예제 #22
0
 public UserProfileView()
 {
     InitializeComponent();
     EditFr.Navigate(typeof(Page));
 }