mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-01 00:09:14 +00:00
11b2dc35d7
pkm editor, sav editor, menus, and a manager to glue the storage slots
together
decouples the pkm/sav editors from a static savefile reference.
improves dragdrop/click view/set/delete indication, hides unavailable
contextmenuitems, and fixes a few incorrect references. Box Subviewer
slots now have all the indication/events that the main save editor slots
have.
pls report behavior bugs 👍
20 lines
717 B
C#
20 lines
717 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);
|
|
}
|
|
}
|