private void tuopan_MouseClick(object sender, MouseEventArgs e)
{
this.Visible = true;
this.Show(); this.ShowInTaskbar = true;
this.WindowState = System.Windows.Forms.FormWindowState.Normal;
this.tuopan.Visible = false;
} private void tuopan_DoubleClick(object sender, EventArgs e)
{
this.Visible = true;
this.Show(); this.ShowInTaskbar = true;
this.WindowState = System.Windows.Forms.FormWindowState.Normal;
this.tuopan.Visible = false;
} private void scdb_SizeChanged(object sender, EventArgs e)
{
if (this.WindowState == System.Windows.Forms.FormWindowState.Minimized)
{
this.Hide();
this.ShowInTaskbar = false;
this.tuopan.Visible = true;
}
}
为什么有时托盘图标不小心多按了几下,图标就没了,程序还在运行
{
this.Visible = true;
this.Show(); this.ShowInTaskbar = true;
this.WindowState = System.Windows.Forms.FormWindowState.Normal;
this.tuopan.Visible = false;
} private void tuopan_DoubleClick(object sender, EventArgs e)
{
this.Visible = true;
this.Show(); this.ShowInTaskbar = true;
this.WindowState = System.Windows.Forms.FormWindowState.Normal;
this.tuopan.Visible = false;
} private void scdb_SizeChanged(object sender, EventArgs e)
{
if (this.WindowState == System.Windows.Forms.FormWindowState.Minimized)
{
this.Hide();
this.ShowInTaskbar = false;
this.tuopan.Visible = true;
}
}
为什么有时托盘图标不小心多按了几下,图标就没了,程序还在运行
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货