1
2
3
4
5
6
7
8
9
10
11
12
13
|
bool offen = false;
for (int i = 0; i < this.MdiChildren.Length; i++)
{
if ( typeof(ChildKlasse) == this.MdiChildren[i].GetType())
offen = true;
}
if (offen == false)
{
ChildKlasse Test = new ChildKlasse ();
Test.MdiParent = this;
Test.Show();
}
|