private void queriesButton_Click(object sender, EventArgs e) { mm.RemoteControl rc = new mm.RemoteControl(); rc.Initialize(); AxisAlignedBox3f bounds = new AxisAlignedBox3f(); rc.SelectionBoundingBox(ref bounds); Vector3f Min = bounds.Min, Max = bounds.Max; outputTextBox.Text = String.Format("Bounding Box [{0},{1},{2}] [{3},{4},{5}]", Min[0], Min[1], Min[2], Max[0], Max[1], Max[2]); rc.Shutdown(); }