Exemplo n.º 1
0
 //隐藏窗口 按钮
 private void HideWindow_Click(object sender, EventArgs e)
 {
     if (notifyIcon_360.Visible == true ||
         notifyIcon_360bug.Visible == true ||
         NotifyIcon_TrayCheat.Visible == true)
     {
         WindowsForm.OnClickHide(currentWindowPtr);
     }
 }
Exemplo n.º 2
0
 //隐藏窗口
 private void ToolStripMenu_Hide_Click(object sender, EventArgs e)
 {
     //如果图标都不存在了, 则不能隐藏窗口
     if (notifyIcon_360.Visible == true ||
         notifyIcon_360bug.Visible == true ||
         NotifyIcon_TrayCheat.Visible == true)
     {
         WindowsForm.OnClickHide(currentWindowPtr);
     }
 }