Skip to content

Commit

Permalink
Add feature to bring window to front when double-clicked
Browse files Browse the repository at this point in the history
  • Loading branch information
iysaleh committed May 29, 2024
1 parent 9546c75 commit c5c5c07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions OpenAdhanForWindowsX/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ private void NotifyIcon_MouseDoubleClick(object sender, MouseEventArgs e)
{
Show();
this.WindowState = FormWindowState.Normal;
this.Activate(); // Brings the form to the front.
notifyIcon.Visible = true;
this.timer1.Start();
}
Expand Down

0 comments on commit c5c5c07

Please sign in to comment.