App.xaml.cs 488 B

1234567891011121314151617181920212223
  1. using System.Windows;
  2. using MatrixIO.IO;
  3. namespace TsViewer
  4. {
  5. /// <summary>
  6. /// Interaction logic for App.xaml
  7. /// </summary>
  8. public partial class App : Application
  9. {
  10. private PortabilityFactory _pf;
  11. public App()
  12. {
  13. _pf = new MpegTsPortabilityFactory(Dispatcher);
  14. }
  15. private void ApplicationExit(object sender, ExitEventArgs e)
  16. {
  17. TsViewer.Properties.Settings.Default.Save();
  18. }
  19. }
  20. }