public PopulateRichText ( Stream streamRtfNotes = null, bool wordWrap = true ) : void | ||
streamRtfNotes | Stream | |
wordWrap | bool | |
return | void |
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(); } } }
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(); } } }