예제 #1
0
        private async void Operator_ChunkContentsLoaded(object sender, ContentsLoadedEventArgs e)
        {
            if (InnerState == ViewerState.OutOfPage)
            {
                return;
            }

            await Dispatcher.RunAsync(CoreDispatcherPriority.High, () =>
            {
                DebugUtil.Log(() => "Adding " + e.Contents.Count + " contents to RemoteGrid");
                AddContentsToCollection(e.Contents);
            });
        }
예제 #2
0
 private void RemoteContentsLoader_PartLoaded(object sender, ContentsLoadedEventArgs e)
 {
     OnPartLoaded(e);
 }
예제 #3
0
 protected void OnPartLoaded(ContentsLoadedEventArgs e)
 {
     ChunkContentsLoaded?.Invoke(this, e);
 }