WinSelectDeviceClass.xaml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <Window x:Class="Saga.PlugIn.ModelCheck.WinSelectDeviceClass"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:converter="clr-namespace:SAGA.DotNetUtils.WPF.Converter;assembly=SAGA.DotNetUtils"
  7. xmlns:local="clr-namespace:Saga.PlugIn.ModelCheck"
  8. mc:Ignorable="d" Title="待建模设备" WindowStartupLocation="CenterScreen"
  9. ResizeMode="NoResize"
  10. Height="200" Width="300">
  11. <Grid>
  12. <Grid.RowDefinitions>
  13. <RowDefinition Height="*"></RowDefinition>
  14. <RowDefinition Height="60"></RowDefinition>
  15. </Grid.RowDefinitions>
  16. <Grid>
  17. <Grid.RowDefinitions>
  18. <RowDefinition Height="50"></RowDefinition>
  19. <RowDefinition Height="35"></RowDefinition>
  20. </Grid.RowDefinitions>
  21. <Grid >
  22. <Label VerticalAlignment="Bottom" Margin="5"
  23. Content="请选择需建模的设备类型:"></Label>
  24. </Grid>
  25. <ComboBox Grid.Row="1" Margin="5"
  26. ItemsSource="{Binding Path=ClassCodes}"
  27. SelectedItem="{Binding Path=SelectedCode}"
  28. DisplayMemberPath="name"></ComboBox>
  29. </Grid>
  30. <Grid Grid.Row="1" Background="LightGray">
  31. <Button Width="100" Height="25" Background="White" Foreground="Black" Content="上一步"
  32. HorizontalAlignment="Right" Margin="0,0,115,0" VerticalAlignment="Center"
  33. IsCancel="True"
  34. ></Button>
  35. <Button Width="100" Height="25" Background="Black" Foreground="White" Content="确认"
  36. HorizontalAlignment="Right" Margin="0,0,5,0" VerticalAlignment="Center"
  37. Click="ButtonNext_OnClick" ></Button>
  38. </Grid>
  39. </Grid>
  40. </Window>