Beispiel #1
0
        private void LoadArticle()
        {
            var action = Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () =>
            {
                ContentCollection.BeginLoad(LiPTT.CurrentArticle);
                ArticleHeader.DataContext        = LiPTT.CurrentArticle;
                SplitViewPaneContent.DataContext = LiPTT.CurrentArticle;

                ControlVisible = true;
            });
        }
Beispiel #2
0
 private void InitBoard(PTTClient sender, LiPttEventArgs e)
 {
     if (e.State == PttState.Board)
     {
         LiPTT.PttEventEchoed -= InitBoard;
         var action = Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () =>
         {
             ContentCollection.BeginLoad();
         });
     }
 }