private void forThisDialogToolStripMenuItem_Click(object sender, EventArgs e) { HTMLViewer h = new HTMLViewer("help.html"); h.Text = Shared.PROGRAM_TITLE + " - Help"; h.ShowDialog(this); }
private void button1_Click(object sender, EventArgs e) { HTMLViewer h = new HTMLViewer(licenseUrl); h.Text = this.Text; h.Size = new Size(600, 400); h.ShowDialog(this); }