misu – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | using System; |
2 | using System.Text; |
||
3 | using System.Windows.Forms; |
||
4 | using static misu.Utilities; |
||
5 | |||
6 | namespace misu |
||
7 | { |
||
8 | public partial class AboutForm : Form |
||
9 | { |
||
10 | #region Constructors, Destructors and Finalizers |
||
11 | |||
12 | public AboutForm() |
||
13 | { |
||
14 | InitializeComponent(); |
||
15 | } |
||
16 | |||
17 | #endregion |
||
18 | |||
19 | #region Event Handlers |
||
20 | |||
21 | private async void OnLoad(object sender, EventArgs e) |
||
22 | { |
||
23 | var bytes = await LoadResource("AboutText.rtf"); |
||
24 | |||
25 | var rtf = Encoding.UTF8.GetString(bytes); |
||
26 | |||
27 | this.Execute(() => { richTextBox1.Rtf = rtf; }); |
||
28 | } |
||
29 | |||
30 | #endregion |
||
31 | } |
||
32 | } |