WinSelectDeviceClass.xaml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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="43"></RowDefinition>
  15. </Grid.RowDefinitions>
  16. <Grid Margin="10,0">
  17. <Grid.RowDefinitions>
  18. <RowDefinition Height="*"></RowDefinition>
  19. <RowDefinition Height="*"></RowDefinition>
  20. </Grid.RowDefinitions>
  21. <Grid >
  22. <Label VerticalAlignment="Bottom"
  23. Content="请选择需建模的设备类型:"></Label>
  24. </Grid>
  25. <ComboBox Grid.Row="1" Height="23" VerticalAlignment="Top"
  26. ItemsSource="{Binding Path=ClassCodes}"
  27. SelectedItem="{Binding Path=SelectedCode}"
  28. DisplayMemberPath="name"></ComboBox>
  29. </Grid>
  30. <Grid Grid.Row="1" Background="#F0F0F0">
  31. <WrapPanel HorizontalAlignment="Right">
  32. <Button Width="82" Height="23"
  33. Content="上一步"
  34. HorizontalAlignment="Right" Margin="0,10,6,10" VerticalAlignment="Center"
  35. IsCancel="True"
  36. ></Button>
  37. <Button Width="82" Height="23" Content="确认"
  38. HorizontalAlignment="Right" Margin="0,10,10,10" VerticalAlignment="Center"
  39. Click="ButtonNext_OnClick" ></Button>
  40. </WrapPanel>
  41. </Grid>
  42. </Grid>
  43. </Window>