//事件: 双击托盘栏图标, 还原窗口 private void NotifyIcon_TrayCheat_MouseDoubleClick(object sender, MouseEventArgs e) { if (e.Button == MouseButtons.Left) { WindowsForm.OnClickRestore(currentWindowPtr); } }
//还原窗口 private void ToolStripMenu_Restore_Click(object sender, EventArgs e) { WindowsForm.OnClickRestore(currentWindowPtr); }