internal void Launch(string url, string ws, Point position, Size size) { var locator = new BrowserLocator(); var browser = locator.Find(); if (browser != null) { _process = new Process(); var info = new ProcessStartInfo( browser.Executable, browser.GetArguments(url + "/site/index.html?channel="+ws, position, size) ); info.WindowStyle = ProcessWindowStyle.Minimized; info.UseShellExecute = false; info.RedirectStandardOutput = true; info.RedirectStandardError = true; _process.StartInfo = info; _process.Start(); } }
internal void Launch(string url, string ws, Point position, Size size) { var locator = new BrowserLocator(); var browser = locator.Find(); if (browser != null) { _process = new Process(); var info = new ProcessStartInfo( browser.Executable, browser.GetArguments(url + "/site/index.html?channel=" + ws, position, size) ); info.WindowStyle = ProcessWindowStyle.Minimized; info.UseShellExecute = false; info.RedirectStandardOutput = true; info.RedirectStandardError = true; _process.StartInfo = info; _process.Start(); } }