App.xaml.cs 568 B

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