2017-05-23 04:55:05 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Windows.Forms;
|
|
|
|
|
|
|
|
|
|
namespace PKHeX.WinForms.Controls
|
|
|
|
|
{
|
|
|
|
|
public partial class ContextMenuPKM : UserControl
|
|
|
|
|
{
|
2018-07-27 02:34:27 +00:00
|
|
|
|
public ContextMenuPKM() => InitializeComponent();
|
2017-05-23 04:55:05 +00:00
|
|
|
|
|
2020-10-18 18:02:39 +00:00
|
|
|
|
public event EventHandler? RequestEditorLegality;
|
|
|
|
|
public event EventHandler? RequestEditorQR;
|
|
|
|
|
public event EventHandler? RequestEditorSaveAs;
|
2017-05-23 04:55:05 +00:00
|
|
|
|
private void ClickShowLegality(object sender, EventArgs e) => RequestEditorLegality?.Invoke(sender, e);
|
|
|
|
|
private void ClickShowQR(object sender, EventArgs e) => RequestEditorQR?.Invoke(sender, e);
|
|
|
|
|
private void ClickSaveAs(object sender, EventArgs e) => RequestEditorSaveAs?.Invoke(sender, e);
|
|
|
|
|
}
|
|
|
|
|
}
|