private void редакторHtmlToolStripMenuItem_Click(object sender, EventArgs e) { hedit = new HtmlEditorForm(); hedit.Show(); }
//просмотр исходного кода private void sourceToolStripMenuItem_Click(object sender, EventArgs e) { String source=("source.html"); StreamWriter writer =File.CreateText(source); writer.Write(getCurrentBrowser().DocumentText); writer.Close(); hedit = new HtmlEditorForm(source); hedit.Show(); File.Delete(source); // Process.Start("c:\\Program Files\\Notepad++\\notepad++.exe", source); }