Improving the logic to make sure new windows are moved to the front, so the user can't miss them.

This commit is contained in:
Robin 2015-04-17 11:20:30 +02:00
commit 9d7299e5ea
5 changed files with 52 additions and 26 deletions

View file

@ -47,7 +47,7 @@ namespace GreenshotPlugin.Controls {
trackBarJpegQuality.Value = Settings.JPGQuality;
textBoxJpegQuality.Enabled = OutputFormat.jpg.Equals(outputSettings.Format);
textBoxJpegQuality.Text = Settings.JPGQuality.ToString();
WindowDetails.ToForeground(Handle);
BringToFront = true;
}
void Button_okClick(object sender, EventArgs e) {