Ejemplo n.º 1
0
 private void helpToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (var h = new HelpForm())
     {
         h.ShowDialog();
     }
 }
 private void helpToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (var h = new HelpForm())
     {
         h.ShowDialog();
     }
 }
 private void ShowHelpForm()
 {
     using (var helpViewer = new HelpForm())
     {
         helpViewer.Text = String.Format("{0}", "Viewing ReleaseNotes.txt ...");
         // using ascii text file for web browser viewing
         helpViewer.PopulateAsciiText(File.ReadAllText("ReleaseNotes.txt"));
         helpViewer.ShowDialog();
     }
 }
Ejemplo n.º 4
0
        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();
         }
     }
 }