private void helpToolStripMenuItem_Click(object sender, EventArgs e) { using (var h = new HelpForm()) { h.ShowDialog(); } }
private void ShowHelpForm() { Assembly assembly = Assembly.GetExecutingAssembly(); using (Stream streamBetaInfo = assembly.GetManifestResourceStream("RocksmithToolkitGUI.Resources.BetaInfo.rtf")) { using (var helpViewer = new HelpForm()) { helpViewer.Text = String.Format("{0}", "TOOLKIT BETA RELEASE MESSAGE ..."); helpViewer.PopulateRichText(streamBetaInfo); helpViewer.ShowDialog(); } } }