babysmash/Shapes/CoolCircle.xaml.cs

35 строки
710 B
C#

using System;
using System.Windows;
using System.Windows.Media;
namespace BabySmash
{
/// <summary>
/// Interaction logic for CoolCircle.xaml
/// </summary>
[Serializable]
public partial class CoolCircle : IHasFace
{
public CoolCircle(Brush x) : this()
{
this.Body.Fill = x;
}
public CoolCircle()
{
this.InitializeComponent();
}
public Visibility FaceVisible
{
get
{
return Face.Visibility;
}
set
{
Face.Visibility = value;
}
}
}
}