main: On load bring to front

This commit is contained in:
Nathan Woodburn 2023-06-14 15:28:59 +10:00
parent 036819169d
commit 816e16a9aa
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -93,9 +93,10 @@ namespace FireWallet
Opacity = 1; Opacity = 1;
batchMode = false; batchMode = false;
// Pull form to front // Pull form to front
this.BringToFront(); this.WindowState = FormWindowState.Minimized;
this.Focus(); this.Show();
this.WindowState = FormWindowState.Normal;
textBoxaccountpassword.Focus(); textBoxaccountpassword.Focus();
} }
private void MainForm_Closing(object sender, FormClosingEventArgs e) private void MainForm_Closing(object sender, FormClosingEventArgs e)