终端一体化运控平台
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

MainWindow.xaml 1.2 KiB

2 anni fa
1234567891011121314151617181920212223
  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>