PKHeX/PKHeX.WinForms/Misc/About.cs
Kurt 595c7eb4c5 Split winforms to separate project
resources still are associated with winforms, eh
program still runs fine and I've replicated the mono build options. lmk
if this breaks stuff
2017-01-07 23:54:09 -08:00

31 lines
842 B
C#

using System;
using System.Windows.Forms;
namespace PKHeX.WinForms
{
public partial class About : Form
{
public About()
{
InitializeComponent();
RTB.Text = Core.Properties.Resources.changelog;
}
private void B_Close_Click(object sender, EventArgs e)
{
Close();
}
private void B_Shortcuts_Click(object sender, EventArgs e)
{
if (B_Shortcuts.Text == "Shortcuts")
{
RTB.Text = Core.Properties.Resources.shortcuts; // display shortcuts
B_Shortcuts.Text = "Changelog";
}
else
{
RTB.Text = Core.Properties.Resources.changelog; // display changelog
B_Shortcuts.Text = "Shortcuts";
}
}
}
}