mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-12-28 01:21:49 +01:00
Revert "Fix minimize to taskbar option"
This reverts commit b9af99295b
.
This commit is contained in:
parent
b9af99295b
commit
ffa3eb08ab
@ -898,14 +898,16 @@ Properties.Resources.DS4Update, MessageBoxButtons.YesNo, MessageBoxIcon.Question
|
||||
|
||||
protected void Form_Resize(object sender, EventArgs e)
|
||||
{
|
||||
if (FormWindowState.Minimized == WindowState && MinToTaskbar)
|
||||
if (FormWindowState.Minimized == WindowState && !MinToTaskbar)
|
||||
{
|
||||
Hide();
|
||||
ShowInTaskbar = false;
|
||||
FormBorderStyle = FormBorderStyle.None;
|
||||
}
|
||||
else if (FormWindowState.Normal == WindowState && MinToTaskbar)
|
||||
|
||||
else if (FormWindowState.Normal == WindowState && !MinToTaskbar)
|
||||
{
|
||||
//mAllowVisible = true;
|
||||
Show();
|
||||
ShowInTaskbar = true;
|
||||
FormBorderStyle = FormBorderStyle.Sizable;
|
||||
|
Loading…
Reference in New Issue
Block a user