OpenSlaveWindowHandler.cs 662 B

12345678910111213141516171819202122232425
  1. using FisTools;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Diagnostics;
  5. using System.IO;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading;
  9. using System.Threading.Tasks;
  10. namespace fis.Loader.Handlers
  11. {
  12. internal class OpenSlaveWindowHandler: BaseHandler
  13. {
  14. public OpenSlaveWindowHandler() : base(LaunchMethodEnum.SlaveWindow)
  15. {
  16. }
  17. internal override void Execute()
  18. {
  19. var fileName = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "fis.exe");
  20. ToolManager.Instance.LoaderCenter.StartProcessWithFileName(fileName,"SlaveWindow", "fis.exe");
  21. }
  22. }
  23. }