UserControlReal.xaml.cs
770 Bytes
using System.Windows.Controls;
namespace OS.Spin.View.MainWindowControls
{
/// <summary>
/// UserControlReal.xaml 的交互逻辑
/// </summary>
public partial class UserControlReal : UserControl
{
public UserControlReal()
{
InitializeComponent();
//画一个圆
//Ellipse e1 = new Ellipse();
//e1.Fill = new SolidColorBrush(Colors.Green);
//e1.Stroke = new SolidColorBrush(Colors.Green);
//e1.Width = 8;
//e1.Height = 8;
//e1.SetValue(Canvas.ZIndexProperty, 1);
//e1.SetValue(Canvas.LeftProperty, (double)100);
//e1.SetValue(Canvas.TopProperty, (double)80);
//this.Content = e1;
}
}
}