mirror of
https://github.com/Nathanwoodburn/FireWallet.git
synced 2024-11-10 09:18:15 +11:00
batch: Bring form to front after you add a new batch
This commit is contained in:
parent
eea79b92d4
commit
d8efdb98f7
@ -24,6 +24,13 @@ namespace FireWallet
|
|||||||
this.mainForm = mainForm;
|
this.mainForm = mainForm;
|
||||||
batches = new Batch[0];
|
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)
|
public void AddBatch(string domain, string operation)
|
||||||
{
|
{
|
||||||
if (operation == "BID") return;
|
if (operation == "BID") return;
|
||||||
@ -314,7 +321,7 @@ namespace FireWallet
|
|||||||
}
|
}
|
||||||
applyTransparency(theme);
|
applyTransparency(theme);
|
||||||
|
|
||||||
|
bringToFront();
|
||||||
}
|
}
|
||||||
private void ThemeControl(Control c)
|
private void ThemeControl(Control c)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user