mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-27 14:30:56 +00:00
595c7eb4c5
resources still are associated with winforms, eh program still runs fine and I've replicated the mono build options. lmk if this breaks stuff
31 lines
842 B
C#
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";
|
|
}
|
|
}
|
|
}
|
|
}
|