<Window x:Class="WpfApplication5.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="350" Width="525">
<Canvas Width="500" Height=" 300" Name="canvas">
<Rectangle Canvas.Left="12" Canvas.Top="131" Height="100" Name="r1" Stroke="Black" Width="200" MouseMove="ellipse1_MouseMove" MouseLeftButtonUp="ellipse1_MouseLeftButtonUp" MouseLeftButtonDown="ellipse1_MouseLeftButtonDown" Fill="#FF5C4444" />
<Rectang
WPF拖拽图形及其连线
最新推荐文章于 2024-07-18 20:08:47 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)