babysmash/Shapes/CoolSquare.xaml.cs

35 строки
707 B
C#
Исходник Обычный вид История

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