public int GetChildIndex(idWindow window)
{
if(this.Disposed == true)
{
throw new ObjectDisposedException(this.GetType().Name);
}
int count = _drawWindows.Count;
for(int find = 0; find < count; find++)
{
if(_drawWindows[find].Window == window)
{
return find;
}
}
return -1;
}