PKHeX/PKHeX.WinForms/Misc/About.cs
Evan Dixon 52c4fbbe97 Converted PKHeX.Core to .Net Standard
Refactored and rearranged things as needed to allow the change
2017-05-11 23:34:18 -05:00

31 lines
827 B
C#

using System;
using System.Windows.Forms;
namespace PKHeX.WinForms
{
public partial class About : Form
{
public About()
{
InitializeComponent();
RTB.Text = 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 = Properties.Resources.shortcuts; // display shortcuts
B_Shortcuts.Text = "Changelog";
}
else
{
RTB.Text = Properties.Resources.changelog; // display changelog
B_Shortcuts.Text = "Shortcuts";
}
}
}
}