X-Aim – Rev 3

Subversion Repositories:
Rev:
using System;
using System.Reflection;
using System.Windows.Forms;

namespace X_Aim
{
    public partial class About : Form
    {
        public About()
        {
            InitializeComponent();
        }

        #region Event Handlers

        private void OnLoad(object sender, EventArgs e)
        {
            label1.Text = $"v{Assembly.GetEntryAssembly().GetName().Version}";


            using (var manifestResourceStream =
                Assembly.GetExecutingAssembly().GetManifestResourceStream("X_Aim.txt.aboutText.rtf"))
            {
                richTextBox1.LoadFile(manifestResourceStream, RichTextBoxStreamType.RichText);
            }
        }

        #endregion
    }
}

Generated by GNU Enscript 1.6.5.90.