public RemoveOwnedForm ( |
||
ownedForm | A |
|
리턴 | void |
public void RemoveOwnedForm(Form ownedForm)
{
Form[] tForms = new Form[OwnedForms.Length - 1];
int tIndex = 0;
foreach (Form f in OwnedForms)
{
if (!f.Equals(ownedForm))
{
tForms[tIndex] = f;
tIndex++;
}
}
OwnedForms = tForms;
}