private void glCanvas1_KeyPress(object sender, KeyPressEventArgs e)
{
if (e.KeyChar == '1')
{
var frmPropertyGrid = new FormProperyGrid(this.scene);
frmPropertyGrid.Show();
}
else if (e.KeyChar == '2')
{
var frmPropertyGrid = new FormProperyGrid(this.glCanvas1);
frmPropertyGrid.Show();
}
else if (e.KeyChar == '3')
{
var frmPropertyGrid = new FormProperyGrid(this);
frmPropertyGrid.Show();
}
}