Пример #1
0
 private void ShowAreaAndPerimeter()
 {
     if (_selectedShape != null)
     {
         SelectedShapeInfo.Text = $"Area:{_selectedShape.Area}, Perimeter:{_selectedShape.GetPerimeter()}";
     }
 }