您的位置:首页 > 其它

Winform 窗体隐藏运行

2011-04-23 16:59 246 查看
public Form1()

{

InitializeComponent();

this.ShowInTaskbar = false;

this.WindowState = FormWindowState.Minimized;

}

private void Form1_Shown(object sender, EventArgs e)

{

this.Hide();

this.WindowState = FormWindowState.Normal;

this.ShowInTaskbar = true;

}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: