Files
2024-05-24 12:39:15 +02:00

96 lines
4.2 KiB
XML

<EgtWPFLib5:EgtCustomWindow x:Class="OnlyProdProjectTypeWndV"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:EgtWPFLib5="clr-namespace:EgtWPFLib5;assembly=EgtWPFLib5"
WindowStyle="None" ResizeMode="NoResize"
SizeToContent="WidthAndHeight"
MinWidth="500"
WindowStartupLocation="CenterOwner"
IsClosable="False"
IsMinimizable="False"
IsResizable="False"
Title="ProjectType"
Style="{StaticResource OnlyProd_EgtCustomWindow}">
<StackPanel Margin="5,5,5,0">
<Border Grid.Row="1"
Style="{StaticResource OnlyProdProjectTypeWndV_Border}">
<Grid Margin="5">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="1*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid Grid.Row="0"
Style="{StaticResource OnlyProdProjectType_Grid}">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="1*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<TextBlock Grid.Row="0"
Grid.ColumnSpan="2"
Text="{Binding ChooseMachine_Msg}"
Style="{StaticResource OptionTextBlock}"/>
<Rectangle Grid.Row="1"
Height="22"/>
<ComboBox Grid.Row="2"
ItemsSource="{Binding MachineList}"
DisplayMemberPath="Name"
SelectedItem="{Binding SelMachine}"
SelectedValuePath="Name"
Style="{StaticResource OnlyProdCalcPanel_ComboBox}"/>
</Grid>
<Grid Grid.Row="1"
Visibility="{Binding IsBoth_Visibility}"
Style="{StaticResource OnlyProdProjectType_Grid}">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="1*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<TextBlock Grid.Row="0"
Grid.ColumnSpan="2"
Text="{Binding ChooseType_Msg}"
Style="{StaticResource OptionTextBlock}"/>
<Rectangle Grid.Row="1"
Height="22"/>
<ComboBox Grid.Row="2"
ItemsSource="{Binding TypeList}"
SelectedItem="{Binding nSelType}"
Style="{StaticResource OnlyProdCalcPanel_ComboBox}"/>
</Grid>
<Grid Grid.Row="2"
Margin="5">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="1*"/>
</Grid.ColumnDefinitions>
<Button Grid.Column="1"
Content="Ok"
Command="{Binding Ok_Command}"
IsDefault="True"
Style="{StaticResource OnlyProdEgtWPFLib5_InputButton}"/>
<Button Grid.Column="3"
Content="Cancel"
IsCancel="True"
Style="{StaticResource OnlyProdEgtWPFLib5_InputButton}"/>
</Grid>
</Grid>
</Border>
</StackPanel>
</EgtWPFLib5:EgtCustomWindow>