12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <Window x:Class="Saga.PlugIn.ModelCheck.WinSelectDeviceClass"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:converter="clr-namespace:SAGA.DotNetUtils.WPF.Converter;assembly=SAGA.DotNetUtils"
- xmlns:local="clr-namespace:Saga.PlugIn.ModelCheck"
- mc:Ignorable="d" Title="待建模设备" WindowStartupLocation="CenterScreen"
- ResizeMode="NoResize"
- Height="200" Width="300">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="*"></RowDefinition>
- <RowDefinition Height="60"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="50"></RowDefinition>
- <RowDefinition Height="35"></RowDefinition>
- </Grid.RowDefinitions>
- <Grid >
- <Label VerticalAlignment="Bottom" Margin="5"
- Content="请选择需建模的设备类型:"></Label>
- </Grid>
- <ComboBox Grid.Row="1" Margin="5"
- ItemsSource="{Binding Path=ClassCodes}"
- SelectedItem="{Binding Path=SelectedCode}"
- DisplayMemberPath="name"></ComboBox>
- </Grid>
- <Grid Grid.Row="1" Background="LightGray">
- <Button Width="100" Height="25" Background="White" Foreground="Black" Content="上一步"
- HorizontalAlignment="Right" Margin="0,0,115,0" VerticalAlignment="Center"
- IsCancel="True"
- ></Button>
- <Button Width="100" Height="25" Background="Black" Foreground="White" Content="确认"
- HorizontalAlignment="Right" Margin="0,0,5,0" VerticalAlignment="Center"
- Click="ButtonNext_OnClick" ></Button>
- </Grid>
- </Grid>
- </Window>
|