标签:启动 event winform task info ide bar component pretty
我最终用了这个方法:
1.MainForm的构造方法中添加:
public MainForm()
{
InitializeComponent();
this.ShowInTaskbar = false;
this.Opacity = 0;
}
2.MainForm的Shown事件中添加:
private void MainForm_Shown(object sender, EventArgs e)
{
this.Hide();
this.ShowInTaskbar = true;
this.Opacity = 1;
}
标签:启动 event winform task info ide bar component pretty
原文地址:https://www.cnblogs.com/lehoho/p/9583460.html