X-Aim – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 using System.Reflection;
2 using System.Windows.Forms;
3  
4 namespace X_Aim
5 {
6 public partial class About : Form
7 {
8 public About()
9 {
10 InitializeComponent();
11 }
12  
13 private void OnLoad(object sender, System.EventArgs e)
14 {
15 label1.Text = $"v{Assembly.GetEntryAssembly().GetName().Version}";
16  
17  
18 using (var manifestResourceStream =
19 Assembly.GetExecutingAssembly().GetManifestResourceStream("X_Aim.txt.aboutText.rtf"))
20 {
21 richTextBox1.LoadFile(manifestResourceStream, RichTextBoxStreamType.RichText);
22 }
23 }
24 }
25 }