mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-23 10:53:10 +00:00
cce4707604
Handle all warnings obviously the usage of null! could potentially be avoided if the object init wasn't such garbage, but here we are with years of old junk and lack of abstraction in the GUI project
17 lines
691 B
C#
17 lines
691 B
C#
using System;
|
|
using System.Windows.Forms;
|
|
|
|
namespace PKHeX.WinForms.Controls
|
|
{
|
|
public partial class ContextMenuPKM : UserControl
|
|
{
|
|
public ContextMenuPKM() => InitializeComponent();
|
|
|
|
public event EventHandler? RequestEditorLegality;
|
|
public event EventHandler? RequestEditorQR;
|
|
public event EventHandler? RequestEditorSaveAs;
|
|
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);
|
|
}
|
|
}
|