8ca6e89d
Tuo Wenbo
20211021
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
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;
}
}
}
|