MainWindow.xaml 1.0 KB

12345678910111213141516171819202122
  1. <Window x:Class="WpfApp1.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:WpfApp1"
  7. mc:Ignorable="d"
  8. Title="MainWindow" Height="450" Width="800">
  9. <Grid>
  10. <Grid.RowDefinitions>
  11. <RowDefinition Height="60"/>
  12. <RowDefinition Height="60"/>
  13. <RowDefinition Height="60"/>
  14. <RowDefinition Height="60"/>
  15. <RowDefinition Height="*"/>
  16. </Grid.RowDefinitions>
  17. <Label Grid.Row="0" x:Name="Label0" Content=""></Label>
  18. <Label Grid.Row="1" x:Name="Label1" Content=""></Label>
  19. <Label Grid.Row="2" x:Name="Label2" Content=""></Label>
  20. <Button Grid.Row="4" Width="100" Height="60" Content="测试" Click="Button_Click"/>
  21. </Grid>
  22. </Window>