public Configure(bool show) { pipeWatcher = new PipeWatcher(this); pipeWatcher.Begin(); settings = new Settings(); InitializeComponent(); allowVisible = show; }
private void Configure_FormClosed(object sender, FormClosedEventArgs e) { try { scriptMan.Watcher.EndWatch(); PipeWatcher.SendBreakRequest(); } catch { } finally { //Environment.Exit(0); } }