Merge pull request #138 from agustinmorantes/HideWindow
Hide window instead of showing as tool window on desktop (thanks agustinmorantes)
This commit is contained in:
commit
ca85360ffc
1 changed files with 2 additions and 1 deletions
|
@ -51,11 +51,12 @@ namespace BetterJoyForCemu {
|
|||
this.WindowState = FormWindowState.Minimized;
|
||||
notifyIcon.Visible = true;
|
||||
notifyIcon.ShowBalloonTip(1);
|
||||
this.FormBorderStyle = FormBorderStyle.FixedToolWindow;
|
||||
this.ShowInTaskbar = false;
|
||||
this.Hide();
|
||||
}
|
||||
|
||||
private void ShowFromTray() {
|
||||
this.Show();
|
||||
this.WindowState = FormWindowState.Normal;
|
||||
this.ShowInTaskbar = true;
|
||||
this.FormBorderStyle = FormBorderStyle.FixedSingle;
|
||||
|
|
Loading…
Add table
Reference in a new issue