App.xaml.cs 589 B

123456789101112131415161718192021222324252627
  1. using System.Windows;
  2. using MECF.Framework.RT.Core.Applications;
  3. using SorterRT.Modules;
  4. namespace VirgoRT.Instances
  5. {
  6. /// <summary>
  7. /// Interaction logic for App.xaml
  8. /// </summary>
  9. public partial class App : Application
  10. {
  11. protected override void OnStartup(StartupEventArgs e)
  12. {
  13. base.OnStartup(e);
  14. RtApplication.Instance.Initialize(new RtInstance());
  15. }
  16. protected override void OnExit(ExitEventArgs e)
  17. {
  18. RtApplication.Instance.Terminate();
  19. base.OnExit(e);
  20. }
  21. }
  22. }