mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-18 08:23:12 +00:00
52c4fbbe97
Refactored and rearranged things as needed to allow the change
31 lines
827 B
C#
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";
|
|
}
|
|
}
|
|
}
|
|
}
|