X-Aim – Diff between revs 1 and 3
?pathlinks?
Rev 1 | Rev 3 | |||
---|---|---|---|---|
- | 1 | using System; |
||
1 | using System.Reflection; |
2 | using System.Reflection; |
|
2 | using System.Windows.Forms; |
3 | using System.Windows.Forms; |
|
3 | |
4 | |
|
4 | namespace X_Aim |
5 | namespace X_Aim |
|
5 | { |
6 | { |
|
6 | public partial class About : Form |
7 | public partial class About : Form |
|
7 | { |
8 | { |
|
8 | public About() |
9 | public About() |
|
9 | { |
10 | { |
|
10 | InitializeComponent(); |
11 | InitializeComponent(); |
|
11 | } |
12 | } |
|
- | 13 | |
||
- | 14 | #region Event Handlers |
||
12 | |
15 | |
|
13 | private void OnLoad(object sender, System.EventArgs e) |
16 | private void OnLoad(object sender, EventArgs e) |
|
14 | { |
17 | { |
|
15 | label1.Text = $"v{Assembly.GetEntryAssembly().GetName().Version}"; |
18 | label1.Text = $"v{Assembly.GetEntryAssembly().GetName().Version}"; |
|
16 | |
19 | |
|
17 | |
20 | |
|
18 | using (var manifestResourceStream = |
21 | using (var manifestResourceStream = |
|
19 | Assembly.GetExecutingAssembly().GetManifestResourceStream("X_Aim.txt.aboutText.rtf")) |
22 | Assembly.GetExecutingAssembly().GetManifestResourceStream("X_Aim.txt.aboutText.rtf")) |
|
20 | { |
23 | { |
|
21 | richTextBox1.LoadFile(manifestResourceStream, RichTextBoxStreamType.RichText); |
24 | richTextBox1.LoadFile(manifestResourceStream, RichTextBoxStreamType.RichText); |
|
22 | } |
25 | } |
|
23 | } |
26 | } |
|
- | 27 | |
||
- | 28 | #endregion |
||
24 | } |
29 | } |
|
25 | } |
30 | } |
|
26 | |
31 | |
|
27 |
|
32 |
|
|
28 | |
33 | |
|
29 | |
34 | |
|
30 | |
35 | |