private void CalcGeomBoundingButton_Click(object sender, EventArgs e) { if (CurrentProject != null && !InternalSet) { var bounding = CurrentProject.CalculateBoundingBox(); GeomBoundingEditor.Value = bounding; } }