private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e) { //StreamWriter history = new StreamWriter("History.txt", true); //history.WriteLine(webcontrol1.Source.ToString()); File.Delete("History.temp"); Window1 win = new Window1(); win.Close(); }
private void Window1_Closing(object sender, System.ComponentModel.CancelEventArgs e) { File.Delete("History.temp"); Window1 win = new Window1(); win.Close(); }