misu

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ HEAD  →  ?path2? @ 1
/trunk/misu/AboutForm.cs
@@ -1,5 +1,7 @@
using System;
using System.Text;
using System.Windows.Forms;
using static misu.Utilities;
 
namespace misu
{
@@ -16,9 +18,13 @@
 
#region Event Handlers
 
private void OnShown(object sender, EventArgs e)
private async void OnLoad(object sender, EventArgs e)
{
VersionTextBox.Text = $"{Constants.AssemblyName} v.{Constants.AssemblyVersion}";
var bytes = await LoadResource("AboutText.rtf");
 
var rtf = Encoding.UTF8.GetString(bytes);
 
this.Execute(() => { richTextBox1.Rtf = rtf; });
}
 
#endregion