public override object this[ string attribute ]
{
get
{
switch ( attribute.ToLower() )
{
case "glcontext":
return _glContext;
case "window":
//System.Windows.Forms.Control ctrl = System.Windows.Forms.Control.FromChildHandle( _hWindow );
//return ctrl;
return _hWindow;
default:
return null;
}
}
}