private void mainNotifyIcon_MouseDoubleClick
(object sender,MouseEventArgs e)
{
this.Show();
}
//这样写不行,show()方法不能把窗体设为当前活动窗体
(object sender,MouseEventArgs e)
{
this.Show();
}
//这样写不行,show()方法不能把窗体设为当前活动窗体
调试欢乐多
private static extern int SetForegroundWindow(IntPtr hwnd);
SetForegroundWindow(this.Handle );
只能用上面的方法吗?