mirror of
https://github.com/kwsch/pk3DS.git
synced 2026-10-02 13:57:14 -05:00
Add base/entity selection for map export
This commit is contained in:
@@ -186,10 +186,12 @@ private void focusPanel(object sender, EventArgs e)
|
||||
|
||||
private void dclickMap(object sender, EventArgs e)
|
||||
{
|
||||
if (DialogResult.Yes != Util.Prompt(MessageBoxButtons.YesNo, "Copy image to Clipboard?"))
|
||||
return;
|
||||
|
||||
Clipboard.SetImage(Util.TrimBitmap(baseImage));
|
||||
DialogResult dr = Util.Prompt(MessageBoxButtons.YesNoCancel, "Copy image to Clipboard?",
|
||||
"Yes: Map & Overworlds" + Environment.NewLine + "No: Map Only");
|
||||
if (dr == DialogResult.No) // Map Only
|
||||
Clipboard.SetImage(Util.TrimBitmap(baseImage));
|
||||
if (dr == DialogResult.Yes)
|
||||
Clipboard.SetImage(PB_Map.Image);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user