batch: Bring form to front after you add a new batch

This commit is contained in:
Nathan Woodburn 2023-06-24 14:39:59 +10:00
parent eea79b92d4
commit d8efdb98f7
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -24,6 +24,13 @@ namespace FireWallet
this.mainForm = mainForm;
batches = new Batch[0];
}
public void bringToFront()
{
// Minimize this form and bring it back up
this.WindowState = FormWindowState.Minimized;
this.Show();
this.WindowState = FormWindowState.Normal;
}
public void AddBatch(string domain, string operation)
{
if (operation == "BID") return;
@ -314,7 +321,7 @@ namespace FireWallet
}
applyTransparency(theme);
bringToFront();
}
private void ThemeControl(Control c)
{