private void StartApplication() { string path = Path.Combine(ioManager.CurrentDirectory, settings.FSTPath); if (!ioManager.FileExists(path)) { view.UpdateStatus("Cannot find Forex Strategy Trader!"); return; } view.UpdateStatus("- loading application..."); ioManager.RunFile(path, settings.Arguments); }
private void StartApplication() { view.UpdateStatus("- loading application..."); string path = Path.Combine(ioManager.CurrentDirectory, settings.FSTPath); if (ioManager.FileExists(path)) { ioManager.RunFile(path, settings.Arguments); } else { view.UpdateStatus("Error: cannot find FST!"); } }