|
<Window x:Class="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">
<StackPanel>
<WrapPanel>
<Button Content="Voronoi diagram" Height="35" HorizontalAlignment="Left" Margin="5" Name="btn_Voronoi" VerticalAlignment="Top" Width="163" />
<Button Content="Create bondary rectangle" Height="35" HorizontalAlignment="Left" Margin="5" Name="btn_Retangle" VerticalAlignment="Top" Width="172" />
<Button Content="Clear" Height="35" HorizontalAlignment="Left" Margin="5" Name="btnClear" VerticalAlignment="Top" Width="106" />
</WrapPanel>
<Border BorderBrush="Black" BorderThickness="5" Width="457">
<Canvas Height="234" Background="Whitesmoke" MouseDown="Canvas1_MouseDown" MouseMove="Canvas1_MouseMove" Margin="0" Name="Canvas1" VerticalAlignment="Top" Width="447" />
</Border>
<StatusBar Height="24">
<StatusBarItem Name="stLines" Content="Number of lines added: 0" HorizontalAlignment="Right" ></StatusBarItem>
<StatusBarItem Name="stPosition" Content="(0;0)" HorizontalAlignment="Right" ></StatusBarItem>
</StatusBar>
</StackPanel>
</Window>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.