MainWindow.xaml 1.2 KB

12345678910111213141516171819202122232425
  1. <Window x:Class="Test.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:Test"
  7. mc:Ignorable="d"
  8. Title="厂商库管理" Height="450" Width="800">
  9. <Grid>
  10. <Grid.RowDefinitions>
  11. <RowDefinition></RowDefinition>
  12. <RowDefinition></RowDefinition>
  13. <RowDefinition></RowDefinition>
  14. <RowDefinition></RowDefinition>
  15. <RowDefinition></RowDefinition>
  16. <RowDefinition></RowDefinition>
  17. </Grid.RowDefinitions>
  18. <TextBlock TextWrapping="NoWrap" TextTrimming="CharacterEllipsis" VerticalAlignment="Center" Width="30"></TextBlock>
  19. <Button Grid.Row="1" Content="生产商" Click="Manu_Click"></Button>
  20. <Button Grid.Row="2" Content="供应商" Click="Button_Click"></Button>
  21. <Button Grid.Row="3" Content="维修商" Click="Button_Click_1"></Button>
  22. <Button Grid.Row="4" Content="保险商" Click="Button_Click_2"></Button>
  23. </Grid>
  24. </Window>