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;
}
Winform 窗体隐藏运行
最新推荐文章于 2023-03-14 09:52:30 发布