Example #1
0
 /// <summary>
 /// Display animation gif when background task is running.
 /// </summary>
 /// <param name="message"></param>
 private void DisplayStandByGraphic(string message)
 {
     Context.IsProcessing = true;
     Context.FormTitle    = message;
     GifCtrl.StartAnimate();
 }
Example #2
0
 /// <summary>
 /// Restore original layout of program.
 /// </summary>
 private void DisplayDefaultGraphic()
 {
     GifCtrl.StopAnimate();
     Context.FormTitle    = "Sample";
     Context.IsProcessing = false;
 }
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            var streamInfo = Application.GetResourceStream(new Uri(viewModel.GifUri, UriKind.RelativeOrAbsolute));

            GifCtrl.AnimatedImageControl(streamInfo.Stream);
        }