更新时间:2023-12-06 09:01:10
我也得到了同样的问题。我有一个替代的解决方案如下所述:
I've also got the same problem. I got an alternative solution as described below:
和做了以下
And did the following
private void timer1_Tick(object sender, EventArgs e)
{
if ((int)MdiChildren.GetLength(0) > 0)
{
panel1.Visible = false;
}
else
{
panel1.Visible = true;
}
}