49 строки
990 B
C#
49 строки
990 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.Windows;
|
|
using System.Windows.Controls;
|
|
using System.Windows.Data;
|
|
using System.Windows.Documents;
|
|
using System.Windows.Input;
|
|
using System.Windows.Media;
|
|
using System.Windows.Media.Imaging;
|
|
using System.Windows.Navigation;
|
|
using System.Windows.Shapes;
|
|
|
|
namespace BabySmash
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for CoolHeart.xaml
|
|
/// </summary>
|
|
[Serializable]
|
|
public partial class CoolHeart : IHasFace
|
|
{
|
|
public CoolHeart(Brush x)
|
|
: this()
|
|
{
|
|
this.Body.Fill = x;
|
|
}
|
|
|
|
public CoolHeart()
|
|
{
|
|
this.InitializeComponent();
|
|
}
|
|
|
|
#region IHasFace Members
|
|
|
|
public Visibility FaceVisible
|
|
{
|
|
get
|
|
{
|
|
return Face.Visibility;
|
|
}
|
|
set
|
|
{
|
|
Face.Visibility = value;
|
|
}
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
} |