private void SavePost_Click(object sender, RoutedEventArgs e)
        {
            Post post = (sender as FrameworkElement).DataContext as Post;

            m_collector.SaveOrHidePost(post, !post.IsSaved, null);
            App.BaconMan.TelemetryMan.ReportEvent(this, "PostSavedTapped");
        }
Beispiel #2
0
        private void SavePost_Click(object sender, RoutedEventArgs e)
        {
            var post = (sender as FrameworkElement)?.DataContext as Post;

            _collector.SaveOrHidePost(post, post != null && !post.IsSaved, null);
            TelemetryManager.ReportEvent(this, "PostSavedTapped");
        }
        private void SavePost_Click(object sender, RoutedEventArgs e)
        {
            Post post = (sender as FrameworkElement).DataContext as Post;

            m_collector.SaveOrHidePost(post, !post.IsSaved, null);
        }