终端一体化运控平台
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

24 lines
1.2 KiB

  1. <Window x:Class="WPFDemo.MainWindow"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="clr-namespace:WPFDemo"
  7. mc:Ignorable="d"
  8. Title="MainWindow" Height="450" Width="800">
  9. <Grid>
  10. <Grid.RowDefinitions>
  11. <RowDefinition Height="60"></RowDefinition>
  12. <RowDefinition></RowDefinition>
  13. </Grid.RowDefinitions>
  14. <StackPanel Orientation="Horizontal">
  15. <Button Width="120" Height="30" Content="ADD" Click="Button_Click" />
  16. <Button Width="120" Height="30" Content="DRAW LINE" Click="Button_Click_1" />
  17. <Button Width="120" Height="30" Content="LOAD" Click="Button_Click_2" />
  18. <Button Width="120" Height="30" Content="SAVE" Click="Button_Click_3" />
  19. <Button Width="120" Height="30" Content="CLR" Click="Button_Click_4" />
  20. </StackPanel>
  21. <local:SiloPanel x:Name="sp" Grid.Row="1" PanelHeight="1030" PanelWidth="2000"/>
  22. </Grid>
  23. </Window>