Files
2023-01-17 16:00:22 +01:00

950 lines
57 KiB
XML

<EgtWPFLib5:EgtCustomWindow x:Class="OptionsV"
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"
Title="{Binding Title}" Icon="/Resources/EgtDOOR.ico"
TitleBarBrush="{StaticResource EgaltechBlue1}"
BorderBrush="{StaticResource EgaltechBlue1}"
WindowStyle="None" ResizeMode="NoResize" TitleBarHeight="30"
IsResizable="True" IsMovable="True"
IsMinimizable="False" WindowStartupLocation="CenterScreen" ShowInTaskbar="False"
CloseCommand="{Binding CloseOptionsCommand,Mode=OneWay,UpdateSourceTrigger=PropertyChanged}">
<EgtWPFLib5:EgtCustomWindow.InputBindings>
<KeyBinding Key="F1" Command="{Binding OptionGuideCmd}"/>
<KeyBinding Key="Esc" Command="{Binding CloseOptionsCommand}"/>
</EgtWPFLib5:EgtCustomWindow.InputBindings>
<Grid Margin="3,3,3,3">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="1*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="6.25*"/>
<!--<RowDefinition Height="3.0*"/>-->
<RowDefinition Height="6.7*"/>
<RowDefinition Height="1.5*"/>
<RowDefinition Height="1.5*"/>
<RowDefinition Height="1.5*"/>
<RowDefinition Height="1*"/>
</Grid.RowDefinitions>
<TabControl Grid.ColumnSpan="4" SelectedIndex="{Binding SelectedTabGeneral}" Margin="0,3,0,0">
<TabItem Header="{Binding GeneralOption}">
<Grid Margin="3,3,3,3">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="1*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="3.25*"/>
<RowDefinition Height="3.0*"/>
</Grid.RowDefinitions>
<!--Seclta della lingua-->
<GroupBox Header="{Binding CurrentLanguageMsg}">
<UniformGrid Rows="2">
<ComboBox ItemsSource="{Binding LanguageList, Mode=OneWay}"
DisplayMemberPath="Name" SelectedItem="{Binding SelectedLanguage}"
Style="{StaticResource DoorParamsCmBx}"
Margin="5,0,5,0"/>
<TextBlock Text="{Binding LanguageAdvertMsg}" TextWrapping="Wrap"
TextAlignment="Center" Margin="5,0,5,0"/>
</UniformGrid>
</GroupBox>
<!--Seclta del'unità dei misura-->
<GroupBox Header="{Binding CurrentUnitMeasure}" Grid.Column="1" Margin="5,0,0,0">
<UniformGrid Rows="2">
<ComboBox ItemsSource="{Binding MeasureUnitList}" SelectedItem="{Binding SelectedMeasureUnit}"
Grid.Column="1" VerticalAlignment="Center"
Style="{StaticResource DoorParamsCmBx}"
Margin="5,0,5,0"/>
<TextBlock Text="{Binding MeasureUnit}" TextWrapping="Wrap"
TextAlignment="Center" Margin="5,0,5,0"/>
</UniformGrid>
</GroupBox>
<!--Seclta della modalità di avvio del programma-->
<GroupBox Header="{Binding OptionStart}" Grid.Column="2" Margin="5,0,0,0">
<UniformGrid Rows="2">
<ComboBox ItemsSource="{Binding OptionLauncher}" SelectedIndex="{Binding SelectedOptionLauncher}"
VerticalAlignment="Center"
Style="{StaticResource DoorParamsCmBx}"
Margin="5,0,5,0"/>
<TextBlock Text="{Binding StartUpMsg}" TextWrapping="Wrap"
TextAlignment="Center" Margin="5,0,5,0"/>
</UniformGrid>
</GroupBox>
<!--Scelta posizionamento macchina-->
<GroupBox Header="{Binding BevelMsg}" Grid.Column="3" Margin="5,0,0,0">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="5*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="2*"/>
<RowDefinition Height="2*"/>
<RowDefinition Height="4*"/>
</Grid.RowDefinitions>
<TextBlock Text="{Binding DispConfiguration}" Grid.Column="0" Grid.ColumnSpan="2"
Grid.Row="0" Grid.RowSpan="2"
TextWrapping="Wrap" TextAlignment="Center" Margin="5,0,5,0"
VerticalAlignment="Center"
Visibility="{Binding BevelConfiguration}"/>
<CheckBox HorizontalAlignment="Center" VerticalAlignment="Center"
IsEnabled="{Binding DispositionIsEnable}"
Name="BevelUp"
Style="{StaticResource DoorParamsChBx}"
IsChecked="{Binding BevelUpIsChecked}"
Visibility="{Binding BySwingConfiguration}"/>
<TextBlock Text="{Binding BevelUpMsg}" Grid.Column="1"
VerticalAlignment="Center"
Visibility="{Binding BySwingConfiguration}"/>
<CheckBox Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Center"
IsEnabled="{Binding DispositionIsEnable}"
Name="BevelDown"
Style="{StaticResource DoorParamsChBx}"
IsChecked="{Binding BevelDownIsChecked}"
Visibility="{Binding BySwingConfiguration}"/>
<TextBlock Text="{Binding BevelDownMsg}" Grid.Column="1" Grid.Row="1"
VerticalAlignment="Center"
Visibility="{Binding BySwingConfiguration}"/>
<TextBlock Text="{Binding MachinePositionMsg}" Grid.Column="0" Grid.ColumnSpan="2" Grid.Row="2"
TextWrapping="Wrap" TextAlignment="Center" Margin="5,0,5,0"/>
</Grid>
</GroupBox>
<!--Scelta Template-->
<GroupBox Header="{Binding TemplateMsg}" Grid.Row="1" Grid.Column="0" >
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="5*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="2*"/>
<RowDefinition Height="3*"/>
</Grid.RowDefinitions>
<CheckBox HorizontalAlignment="Center" VerticalAlignment="Center"
Style="{StaticResource DoorParamsChBx}"
IsChecked="{Binding EnableTemplate}"/>
<TextBlock Text="{Binding EnableTemplateMsg}" Grid.Column="1"
VerticalAlignment="Center"/>
<TextBlock Text="{Binding ImpTempMsg}" Grid.Column="0" Grid.ColumnSpan="2" Grid.Row="1"
TextWrapping="Wrap" TextAlignment="Center" Margin="5,0,5,0"/>
</Grid>
</GroupBox>
<!--Scelta Order-->
<GroupBox Header="{Binding OrderMsg}" Grid.Row="1" Grid.Column="1" Margin="5,0,0,0">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="5*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="2*"/>
<RowDefinition Height="3*"/>
</Grid.RowDefinitions>
<CheckBox HorizontalAlignment="Center" VerticalAlignment="Center"
Style="{StaticResource DoorParamsChBx}"
IsChecked="{Binding EnableOrder}"/>
<TextBlock Text="{Binding EnableOrderMsg}" Grid.Column="1"
VerticalAlignment="Center"/>
<TextBlock Text="{Binding OpenOrderMsg}" Grid.Column="0" Grid.ColumnSpan="2" Grid.Row="1"
TextWrapping="Wrap" TextAlignment="Center" Margin="5,0,5,0"/>
</Grid>
</GroupBox>
<!--Funzionamento a progetto-->
<GroupBox Header="{Binding ProjectMsg}" Grid.Row="1" Grid.Column="2" Margin="5,0,0,0">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="5*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="2*"/>
<RowDefinition Height="3*"/>
</Grid.RowDefinitions>
<CheckBox HorizontalAlignment="Center" VerticalAlignment="Center"
Style="{StaticResource DoorParamsChBx}"
IsChecked="{Binding EnableSingleDoor}"/>
<TextBlock Text="{Binding EnableSingleDoorMsg}" Grid.Column="1"
VerticalAlignment="Center"/>
<TextBlock Text="{Binding SingleDoorMsg}" Grid.Column="0" Grid.ColumnSpan="2" Grid.Row="1"
TextWrapping="Wrap" TextAlignment="Center" Margin="5,0,5,0"/>
</Grid>
</GroupBox>
<!--Funzionamento a progetto-->
<GroupBox Header="{Binding ProjectMsg}" Grid.Row="1" Grid.Column="3" Margin="5,0,0,0"
Visibility="{Binding VisibilityConfiguration}">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="5*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="2*"/>
<RowDefinition Height="3*"/>
</Grid.RowDefinitions>
<CheckBox HorizontalAlignment="Center" VerticalAlignment="Center"
Style="{StaticResource DoorParamsChBx}"
IsChecked="{Binding EnableAssembly}"/>
<TextBlock Text="{Binding ConfigurationSoftwareMsg}" Grid.Column="1"
VerticalAlignment="Center"/>
<TextBlock Text="{Binding SingleDoorMsg}" Grid.Column="0" Grid.ColumnSpan="2" Grid.Row="1"
TextWrapping="Wrap" TextAlignment="Center" Margin="5,0,5,0"/>
</Grid>
</GroupBox>
</Grid>
</TabItem>
<TabItem Header="{Binding GeneralCam}">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="1*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="1*"/>
</Grid.RowDefinitions>
<!--Definizione quotatura-->
<GroupBox Grid.ColumnSpan="2"
Header="{Binding DimensionMsg}"
Margin="5,0,0,0">
<UniformGrid Grid.ColumnSpan="2" Columns="2">
<TextBlock Text="{Binding ExtLineLenMsg}" VerticalAlignment="Center"/>
<TextBox Text="{Binding ExtLineLen}" Height="25"
VerticalContentAlignment="Center"
Margin="10,0,0,0"/>
<TextBlock Text="{Binding ArrowLenMsg}" VerticalAlignment="Center"/>
<TextBox Text="{Binding ArrowLen}" Height="25"
VerticalContentAlignment="Center"
Margin="10,0,0,0"/>
<TextBlock Text="{Binding TextDistMsg}" VerticalAlignment="Center"/>
<TextBox Text="{Binding TextDist}" Height="25"
VerticalContentAlignment="Center"
Margin="10,0,0,0"/>
<TextBlock Text="{Binding LenIsMMMsg}" VerticalAlignment="Center"/>
<ComboBox ItemsSource="{Binding UnitMeasureList, Mode=OneWay}"
SelectedItem="{Binding SelectedUnitMeasure}" Height="25"
Margin="10,0,0,0"/>
<TextBlock Text="{Binding DecDigitMsg}" VerticalAlignment="Center"/>
<TextBox Text="{Binding DecDigit}" Height="25"
VerticalContentAlignment="Center"
Margin="10,0,0,0"/>
<TextBlock Text="{Binding FontMsg}" VerticalAlignment="Center"/>
<ComboBox ItemsSource="{Binding FontList, Mode=OneWay}"
SelectedItem="{Binding SelectedFont}" Height="25"
Margin="10,0,0,0"/>
<TextBlock Text="{Binding TextHeightMsg}" VerticalAlignment="Center"/>
<TextBox Text="{Binding TextHeight}" Height="25"
VerticalContentAlignment="Center"
Margin="10,0,0,0"/>
</UniformGrid>
</GroupBox>
</Grid>
</TabItem>
<TabItem Header="{Binding ConfigOption}" IsEnabled="{Binding EnableConfig}">
<Grid Margin="3,3,3,3">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="1*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="3.25*"/>
<RowDefinition Height="3.0*"/>
</Grid.RowDefinitions>
<GroupBox Header="{Binding ConfigMsg}" Grid.Row="0" Grid.ColumnSpan="4">
<Grid >
<Grid.ColumnDefinitions>
<ColumnDefinition Width="23*"/>
<ColumnDefinition Width="125*"/>
<ColumnDefinition Width="443*"/>
<ColumnDefinition Width="147*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="0.5*"/>
<RowDefinition Height="1*"/>
<RowDefinition Height="0.5*"/>
</Grid.RowDefinitions>
<TextBlock Text="{Binding ConfigDirectoryMsg}" Grid.Row="1" Grid.Column="0" Margin="2,10,5,5"
Style="{StaticResource DoorParamsTxBl}" Grid.ColumnSpan="2"/>
<TextBlock Text="{Binding BaseDir}" Grid.Row="1" Grid.Column="2" Margin="2,10,5,5"
Style="{StaticResource DoorParamsTxBl}"/>
<Button Content="{Binding ChangeConfigMsg}" Grid.Row="1" Grid.Column="3"
Command="{Binding BrowseCommand}" Margin="5" MaxHeight="28"
CommandParameter="ConfigDir"/>
</Grid>
</GroupBox>
<!--Seclta della MTable-->
<GroupBox Header="{Binding MTableMsg}" Grid.Row="1">
<UniformGrid Rows="2">
<ComboBox ItemsSource="{Binding MTableList, Mode=OneWay}"
DisplayMemberPath="Name" SelectedItem="{Binding SelectedMTable}"
Style="{StaticResource DoorParamsCmBx}"
Margin="5,0,5,0"/>
<TextBlock Text="{Binding MTableAdvertMsg}" TextWrapping="Wrap"
TextAlignment="Center" Margin="5,0,5,0"/>
</UniformGrid>
</GroupBox>
<!--Seclta della MTable-->
<GroupBox Header="{Binding CurrMachTitleMsg}" Grid.Row="1" Grid.Column="1">
<UniformGrid Rows="1">
<TextBlock Text="{Binding CurrentMachine}" TextWrapping="Wrap"
TextAlignment="Center" VerticalAlignment="Center" FontWeight="Black" Margin="5,0,5,0"/>
</UniformGrid>
</GroupBox>
</Grid>
</TabItem>
</TabControl>
<!--Impostazioni generali della porta-->
<TabControl Grid.Row="1" Grid.ColumnSpan="4" SelectedIndex="{Binding SelectedTab}" Margin="0,3,0,0">
<TabItem Header="{Binding DoorMsg}">
<GroupBox Header="{Binding General}" Grid.Row="1" Grid.ColumnSpan="4">
<Grid Margin="3,3,3,3">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="1*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="1*"/>
<RowDefinition Height="1*"/>
<RowDefinition Height="1*"/>
<RowDefinition Height="1*"/>
<RowDefinition Height="1*"/>
</Grid.RowDefinitions>
<Border BorderBrush="Gainsboro" BorderThickness="1" Grid.Column="2" Grid.ColumnSpan="4"
Grid.RowSpan="5" Margin="5,0,5,0" CornerRadius="3"/>
<TextBlock Grid.Column="3" Grid.Row="0" Text="{Binding EdgeMsg}" VerticalAlignment="Center"
Style="{StaticResource DoorParamsTxBl}" Margin="5,0,5,0"/>
<TextBlock Grid.Column="4" Grid.Row="0" Text="{Binding MachMsg}" VerticalAlignment="Center"
Style="{StaticResource DoorParamsTxBl}" />
<TextBlock Grid.Column="5" Grid.Row="0" Text="{Binding OverMaterialMsg}" VerticalAlignment="Center"
Style="{StaticResource DoorParamsTxBl}" Margin="5,0,5,0"/>
<TextBlock Grid.Column="0" Grid.Row="0" Text="{Binding WidthMsg}" VerticalAlignment="Center"
Style="{StaticResource DoorParamsTxBl}"/>
<TextBox Grid.Column="1" Grid.Row="0" Text="{Binding WidthValue}"
Style="{StaticResource DoorParamsTxBx}"
Margin="5,0,30,5"/>
<TextBlock Grid.Column="0" Grid.Row="1" Text="{Binding HeightMsg}" VerticalAlignment="Center"
Style="{StaticResource DoorParamsTxBl}"/>
<TextBox Grid.Column="1" Grid.Row="1" Text="{Binding HeightValue}"
Style="{StaticResource DoorParamsTxBx}"
Margin="5,0,30,5"/>
<TextBlock Grid.Column="0" Grid.Row="2" Text="{Binding ThicknessMsg}" VerticalAlignment="Center"
Style="{StaticResource DoorParamsTxBl}"/>
<TextBox Grid.Column="1" Grid.Row="2" Text="{Binding ThicknessValue}"
Style="{StaticResource DoorParamsTxBx}"
Margin="5,0,30,5"/>
<TextBlock Grid.Column="0" Grid.Row="3" Text="{Binding SwingMsg}" VerticalAlignment="Center"
Style="{StaticResource DoorParamsTxBl}"/>
<ComboBox Grid.Column="1" Grid.Row="3"
ItemsSource="{Binding SwingTypeList}"
SelectedItem="{Binding SwingValue}"
Style="{StaticResource DoorParamsCmBx}"
Margin="5,0,30,5"/>
<TextBlock Grid.Row="4" Text="{Binding WeightMsg}"
Style="{StaticResource DoorParamsTxBl}"
VerticalAlignment="Center"/>
<Grid Grid.Row="4" Grid.Column="1" >
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1.5*"/>
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="44"/>
</Grid.RowDefinitions>
<CheckBox Grid.Column="1"
IsChecked="{Binding IsCheckedWeight}"
Name="Weight"
Margin="0,10,5,18"
Style="{StaticResource DoorParamsChBx}" />
<TextBox Style="{StaticResource DoorParamsTxBx}"
Grid.Column="0"
Text="{Binding WeightValue, UpdateSourceTrigger=PropertyChanged}"
Margin="5,5,10,13"
IsEnabled="{Binding IsChecked, ElementName=Weight}" />
</Grid>
<TextBlock Grid.Column="2" Grid.Row="1" Text="{Binding LockEdgeMsg}" VerticalAlignment="Center"
Style="{StaticResource DoorParamsTxBl}" Margin="20,0,5,0"/>
<ComboBox Grid.Column="3" Grid.Row="1"
ItemsSource="{Binding LockEdgeTypeList}"
SelectedItem="{Binding Path=LockEdgeType}"
Style="{StaticResource DoorEdgeParamsCmBx}"
Margin="5,0,40,5"/>
<TextBlock Grid.Column="2" Grid.Row="2" Text="{Binding HingeEdgeMsg}" VerticalAlignment="Center"
Style="{StaticResource DoorParamsTxBl}" Margin="20,0,5,0"/>
<ComboBox Grid.Column="3" Grid.Row="2"
ItemsSource="{Binding HingeEdgeTypeList}"
SelectedItem="{Binding Path=HingeEdgeType}"
Style="{StaticResource DoorEdgeParamsCmBx}"
Margin="5,0,40,5"/>
<TextBlock Grid.Column="2" Grid.Row="3" Text="{Binding TopMsg}" VerticalAlignment="Center"
Style="{StaticResource DoorParamsTxBl}" Margin="20,0,5,0"/>
<ComboBox Grid.Column="3" Grid.Row="3"
ItemsSource="{Binding TopEdgeTypeList}"
SelectedItem="{Binding Path=TopType}"
Style="{StaticResource DoorEdgeParamsCmBx}"
Margin="5,0,40,5"/>
<TextBlock Grid.Column="2" Grid.Row="4" Text="{Binding BottomMsg}" VerticalAlignment="Center"
Style="{StaticResource DoorParamsTxBl}" Margin="20,0,5,0"/>
<ComboBox Grid.Column="3" Grid.Row="4"
ItemsSource="{Binding BottomEdgeTypeList}"
SelectedItem="{Binding Path=BottomType}"
Style="{StaticResource DoorEdgeParamsCmBx}"
Margin="5,0,40,5"/>
<CheckBox Grid.Column="4" Grid.Row="1" Name="LockEdge"
HorizontalAlignment="Center" VerticalAlignment="Center"
IsChecked="{Binding LockEdgeIsChecked}"
Style="{StaticResource DoorParamsChBx}"
Margin="5,0,5,5"/>
<CheckBox Grid.Column="4" Grid.Row="2" Name="HingeEdge"
HorizontalAlignment="Center" VerticalAlignment="Center"
IsChecked="{Binding HingeEdgeIsChecked}"
Style="{StaticResource DoorParamsChBx}"
Margin="5,0,5,5"/>
<CheckBox Grid.Column="4" Grid.Row="3" Name="TopEdge"
HorizontalAlignment="Center" VerticalAlignment="Center"
IsChecked="{Binding TopIsChecked}"
Style="{StaticResource DoorParamsChBx}"
Margin="5,0,5,5"/>
<CheckBox Grid.Column="4" Grid.Row="4" Name="BottomEdge"
HorizontalAlignment="Center" VerticalAlignment="Center"
IsChecked="{Binding BottomIsChecked}"
Style="{StaticResource DoorParamsChBx}"
Margin="5,0,5,5"/>
<TextBox Grid.Column="5" Grid.Row="1" Text="{Binding LockEdgeOverMaterialValue}"
IsEnabled ="{Binding IsChecked, ElementName=LockEdge}"
Style="{StaticResource DoorParamsTxBx}"
Margin="5,0,30,5"/>
<TextBox Grid.Column="5" Grid.Row="2" Text="{Binding HingeEdgeOverMaterialValue}"
IsEnabled ="{Binding IsChecked, ElementName=HingeEdge}"
Style="{StaticResource DoorParamsTxBx}"
Margin="5,0,30,5"/>
<TextBox Grid.Column="5" Grid.Row="3" Text="{Binding TopOverMaterialValue}"
IsEnabled ="{Binding IsChecked, ElementName=TopEdge}"
Style="{StaticResource DoorParamsTxBx}"
Margin="5,0,30,5"/>
<TextBox Grid.Column="5" Grid.Row="4" Text="{Binding BottomOverMaterialValue}"
IsEnabled ="{Binding IsChecked, ElementName=BottomEdge}"
Style="{StaticResource DoorParamsTxBx}"
Margin="5,0,30,5"/>
</Grid>
</GroupBox>
</TabItem>
<TabItem Header="{Binding HardwarePartMsg}"
Visibility="Collapsed"
IsEnabled="{Binding IsEnableHarwarePart}"
Content="{Binding HardwarePart}">
<!--<GroupBox Header="{Binding General}" Grid.Row="1" Grid.ColumnSpan="4">
<Grid Margin="2">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="0.7*"/>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="0.7*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="1*"/>
<RowDefinition Height="1*"/>
<RowDefinition Height="1*"/>
<RowDefinition Height="1*"/>
<RowDefinition Height="1*"/>
-->
<!--<RowDefinition Height="1*"/>-->
<!--
</Grid.RowDefinitions>
<Grid.InputBindings>
<KeyBinding Key="Enter" Command="{Binding ApplyCommand}"/>
</Grid.InputBindings>
<TextBlock Grid.Column="0" Grid.Row="0" Text="{Binding WidthMsg}" VerticalAlignment="Center"
Margin="15,0,0,0"
Style="{StaticResource DoorParamsTxBl}"/>
<TextBox Grid.Column="1" Grid.Row="0"
Text="{Binding Width,UpdateSourceTrigger=PropertyChanged}"
Style="{StaticResource DoorParamsTxBx}"
Margin="5,0,15,5"/>
<TextBlock Grid.Column="0" Grid.Row="1" Text="{Binding HeightMsg}" VerticalAlignment="Center"
Margin="15,0,0,0"
Style="{StaticResource DoorParamsTxBl}"/>
<TextBox Grid.Column="1" Grid.Row="1" Text="{Binding Height,UpdateSourceTrigger=PropertyChanged}"
Style="{StaticResource DoorParamsTxBx}"
Margin="5,0,15,5"/>
<TextBlock Grid.Column="0" Grid.Row="2" Text="{Binding ThicknessMsg}" VerticalAlignment="Center"
Margin="15,0,0,0"
Style="{StaticResource DoorParamsTxBl}"/>
<TextBox Grid.Column="1" Grid.Row="2" Text="{Binding Thickness,UpdateSourceTrigger=PropertyChanged}"
Style="{StaticResource DoorParamsTxBx}"
Margin="5,0,15,5"/>
<TextBlock Grid.Column="0" Grid.Row="3" Text="{Binding SwingMsg}" VerticalAlignment="Center"
Margin="15,0,0,0"
Style="{StaticResource DoorParamsTxBl}"/>
<ComboBox ItemsSource="{Binding SwingList}" Margin="5,0,15,5"
Grid.Column="1" Grid.Row="3"
SelectedItem="{Binding SelectedItem}"
Style="{StaticResource DoorParamsCmBx}"/>
<TextBlock Grid.Column="2" Grid.Row="0" Text="{Binding LockedgeMsg}" VerticalAlignment="Center"
Margin="15,0,0,0"
Style="{StaticResource DoorParamsTxBl}"/>
<ComboBox ItemsSource="{Binding LockEdgeProfile}" Margin="5,0,15,5"
Grid.Column="3" Grid.Row="0"
SelectedValue="{Binding SelectedLockEdgeProfile}"
DisplayMemberPath="Name"
Style="{StaticResource DoorParamsCmBx}"/>
<TextBlock Grid.Column="2" Grid.Row="1" Text="{Binding HingeedgeMsg}" VerticalAlignment="Center"
Margin="15,0,0,0"
Style="{StaticResource DoorParamsTxBl}"/>
<ComboBox ItemsSource="{Binding HingeEdgeProfile}" Margin="5,0,15,5"
Grid.Column="3" Grid.Row="1"
SelectedValue="{Binding SelectedHingeEdgeProfile}"
DisplayMemberPath="Name"
Style="{StaticResource DoorParamsCmBx}"/>
<TextBlock Grid.Column="2" Grid.Row="2" Text="{Binding TopedgeMsg}" VerticalAlignment="Center"
Margin="15,0,0,0"
Style="{StaticResource DoorParamsTxBl}"/>
<ComboBox ItemsSource="{Binding TopEdgeProfile}" Margin="5,0,15,5"
Grid.Column="3" Grid.Row="2"
SelectedValue="{Binding SelectedTopEdgeProfile}"
DisplayMemberPath="Name"
Style="{StaticResource DoorParamsCmBx}"/>
<TextBlock Grid.Column="2" Grid.Row="3" Text="{Binding BottomedgeMsg}" VerticalAlignment="Center"
Margin="15,0,0,0"
Style="{StaticResource DoorParamsTxBl}"/>
<ComboBox ItemsSource="{Binding BottomEdgeProfile}" Margin="5,0,15,5"
Grid.Column="3" Grid.Row="3"
SelectedValue="{Binding SelectedBottomEdgeProfile}"
DisplayMemberPath="Name"
Style="{StaticResource DoorParamsCmBx}"/>
</Grid>
</GroupBox>-->
</TabItem>
<TabItem Header="{Binding AssemblyMsg}" IsEnabled="{Binding EnableAssembly}">
<GroupBox Header="Frame" Margin="2,0,2,0" >
<Grid Margin="0,0,0,2">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="1*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="1*"/>
<RowDefinition Height="1*"/>
<RowDefinition Height="1*"/>
<RowDefinition Height="1*"/>
<RowDefinition Height="1*"/>
<RowDefinition Height="1*"/>
<RowDefinition Height="1.2*"/>
</Grid.RowDefinitions>
<!--UP-->
<TextBlock Grid.Row="0" Text="{Binding LightUpMsg}"
Style="{StaticResource DoorParamsTxBl}"
Margin="2,2,0,2"
Grid.Column="0"/>
<TextBox Grid.Column="1" Grid.Row="0" Style="{StaticResource DoorParamsTxBx}"
Text="{Binding LightUp, UpdateSourceTrigger=PropertyChanged}"
Padding="1"
Margin="5,2.5,10,2.5" VerticalAlignment="Stretch"/>
<!--Lock-->
<TextBlock Grid.Row="1" Text="{Binding LightLockMsg}"
Style="{StaticResource DoorParamsTxBl}"
Margin="2,0,0,2"
Grid.Column="0"/>
<TextBox Grid.Column="1" Grid.Row="1" Style="{StaticResource DoorParamsTxBx}"
Text="{Binding LightLock, UpdateSourceTrigger=PropertyChanged}"
Margin="5,0,10,2.5" VerticalAlignment="Stretch"
Padding="1"/>
<!--Hinge-->
<TextBlock Grid.Row="2" Text="{Binding LightHingeMsg}"
Style="{StaticResource DoorParamsTxBl}"
Margin="2,0,0,2"
Grid.Column="0"/>
<TextBox Grid.Column="1" Grid.Row="2" Style="{StaticResource DoorParamsTxBx}"
Text="{Binding LightHinge, UpdateSourceTrigger=PropertyChanged}"
Padding="1"
Margin="5,0,10,2.5" VerticalAlignment="Stretch"/>
<!--Bottom-->
<TextBlock Grid.Row="3" Text="{Binding LightBottomMsg}"
Style="{StaticResource DoorParamsTxBl}"
Margin="2,0,0,2"
Grid.Column="0"/>
<TextBox Grid.Column="1" Grid.Row="3" Style="{StaticResource DoorParamsTxBx}"
Text="{Binding LightBottom, UpdateSourceTrigger=PropertyChanged}"
Padding="1"
Margin="5,0,10,2.5" VerticalAlignment="Stretch"/>
<!--ThhicknessHead-->
<TextBlock Grid.Row="0" Text="{Binding ThicknessHeadMsg}"
Style="{StaticResource DoorParamsTxBl}"
Margin="2,2,0,2"
Grid.Column="2"/>
<TextBox Grid.Row="0" Grid.Column="3"
Style="{StaticResource DoorParamsTxBx}"
Padding="1"
Text="{Binding ThicknessHead, UpdateSourceTrigger=PropertyChanged}"
Margin="5,2.5,10,2.5" VerticalAlignment="Stretch"/>
<!--OverlapHinge-->
<TextBlock Grid.Row="1" Text="{Binding OverlapHingeMsg}"
Style="{StaticResource DoorParamsTxBl}"
Margin="2,0,0,2"
Grid.Column="2"/>
<TextBox Grid.Row="1" Grid.Column="3"
Style="{StaticResource DoorParamsTxBx}"
Padding="1"
Text="{Binding OverlapHinge, UpdateSourceTrigger=PropertyChanged}"
Margin="5,2.5,10,2.5" VerticalAlignment="Stretch"/>
<!--OverlapLock-->
<TextBlock Grid.Row="2" Text="{Binding OverlapLockMsg}"
Style="{StaticResource DoorParamsTxBl}"
Margin="2,0,0,2"
Grid.Column="2"/>
<TextBox Grid.Row="2" Grid.Column="3"
Style="{StaticResource DoorParamsTxBx}"
Padding="1"
Text="{Binding OverlapLock, UpdateSourceTrigger=PropertyChanged}"
Margin="5,2.5,10,2.5" VerticalAlignment="Stretch"/>
<!--DoorsNumber-->
<TextBlock Grid.Row="4" Grid.Column="0" Text="{Binding DoorNumberMsg}"
Style="{StaticResource DoorParamsTxBl}"
Margin="2,0,0,2"/>
<ComboBox Grid.Row="4" Grid.Column="1" Margin="5,2.5,10,2.5"
ItemsSource="{Binding DoorListNumber}"
SelectedItem="{Binding DoorNumber}"
Style="{StaticResource DoorParamsCmBx}"/>
<!--Height-->
<TextBlock Grid.Row="3" Text="{Binding ThicknessMsg}"
Style="{StaticResource DoorParamsTxBl}"
Margin="2,0,0,2"
Grid.Column="2"/>
<TextBox Grid.Row="3" Grid.Column="3"
Style="{StaticResource DoorParamsTxBx}"
Padding="1"
Text="{Binding ThicknessJamb, UpdateSourceTrigger=PropertyChanged}"
Margin="5,2.5,10,2.5" VerticalAlignment="Stretch"/>
<!--Width-->
<TextBlock Grid.Row="4" Text="{Binding DepthMsg}"
Style="{StaticResource DoorParamsTxBl}"
Margin="2,0,0,2"
Grid.Column="2"/>
<TextBox Grid.Row="4" Grid.Column="3"
Style="{StaticResource DoorParamsTxBx}"
Padding="1"
Text="{Binding WidthJamb, UpdateSourceTrigger=PropertyChanged}"
Margin="5,2.5,10,2.5" VerticalAlignment="Stretch"/>
<!--titolo-->
<TextBlock Grid.Column="5" Grid.Row="0"
Text="{Binding EdgeMsg}"
VerticalAlignment="Center"
Style="{StaticResource DoorParamsTxBl}"
Margin="2,0,5,0"/>
<TextBlock Grid.Column="6" Grid.Row="0"
Grid.ColumnSpan="3"
Text="{Binding OverMaterialMsg}"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Style="{StaticResource DoorParamsTxBl}"
Margin="2,0,5,0"/>
<TextBlock Grid.Column="4" Grid.Row="1" Text="{Binding LockEdgeMsg}"
Style="{StaticResource DoorParamsTxBl}"
Margin="2,0,0,2" />
<ComboBox Grid.Column="5" Grid.Row="1"
ItemsSource="{Binding FrameEdgeTypeList}"
SelectedItem="{Binding LockEdgeTypeAssembly}"
Style="{StaticResource DoorEdgeParamsCmBx}"
Margin="5,2.5,10,2.5"/>
<TextBlock Grid.Column="4" Grid.Row="2"
Text="{Binding HingeEdgeMsg}"
Style="{StaticResource DoorParamsTxBl}"
Margin="2,0,0,2" />
<ComboBox Grid.Column="5" Grid.Row="2"
ItemsSource="{Binding FrameEdgeTypeList}"
SelectedItem="{Binding HingeEdgeTypeAssembly}"
Style="{StaticResource DoorEdgeParamsCmBx}"
Margin="5,2.5,10,2.5">
</ComboBox>
<TextBlock Grid.Column="4" Grid.Row="3"
Text="{Binding TopMsg}"
Style="{StaticResource DoorParamsTxBl}"
Margin="2,0,0,2" />
<ComboBox Grid.Column="5" Grid.Row="3"
ItemsSource="{Binding FrameEdgeTypeList}"
SelectedItem="{Binding TopTypeAssembly}"
Style="{StaticResource DoorEdgeParamsCmBx}"
Margin="5,2.5,10,2.5"/>
<TextBlock Grid.Column="4" Grid.Row="4"
Text="{Binding BottomMsg}"
Style="{StaticResource DoorParamsTxBl}"
Margin="2,0,0,2" />
<ComboBox Grid.Column="5" Grid.Row="4"
ItemsSource="{Binding FrameEdgeTypeList}"
SelectedItem="{Binding BottomTypeAssembly}"
Style="{StaticResource DoorEdgeParamsCmBx}"
Margin="5,2.5,10,2.5"/>
<!--Machining-->
<CheckBox Grid.Column="6" Grid.Row="1"
Name="LockEdgeAssembly" Style="{StaticResource DoorParamsChBx}"
IsChecked="{Binding LockEdgeMachiningAssembly}"/>
<CheckBox Grid.Column="6" Grid.Row="2"
Name="HingeEdgeAssembly" Style="{StaticResource DoorParamsChBx}"
IsChecked="{Binding HingeEdgeMachiningAssembly}"/>
<CheckBox Grid.Column="6" Grid.Row="3"
Name="TopAssembly" Style="{StaticResource DoorParamsChBx}"
IsChecked="{Binding TopMachiningAssembly}"/>
<CheckBox Grid.Column="6" Grid.Row="4"
Name="BottomAssembly" Style="{StaticResource DoorParamsChBx}"
IsChecked="{Binding BottomMachiningAssembly}"/>
<TextBox Grid.Column="7" Grid.Row="1" Style="{StaticResource DoorParamsTxBx}"
Text="{Binding LockEdgeOverMaterialAssembly, UpdateSourceTrigger=PropertyChanged}"
IsEnabled="{Binding IsChecked, ElementName=LockEdgeAssembly}"
Padding="1"
Margin="5,2.5,10,2.5"/>
<TextBox Grid.Column="7" Grid.Row="2" Style="{StaticResource DoorParamsTxBx}"
Text="{Binding HingeEdgeOverMaterialAssembly, UpdateSourceTrigger=PropertyChanged}"
IsEnabled="{Binding IsChecked, ElementName=HingeEdgeAssembly}"
Padding="1"
Margin="5,2.5,10,2.5"/>
<TextBox Grid.Column="7" Grid.Row="3" Style="{StaticResource DoorParamsTxBx}"
Text="{Binding TopOverMaterialAssembly, UpdateSourceTrigger=PropertyChanged}"
IsEnabled="{Binding IsChecked, ElementName=TopAssembly}"
Padding="1"
Margin="5,2.5,10,2.5"/>
<TextBox Grid.Column="7" Grid.Row="4" Style="{StaticResource DoorParamsTxBx}"
Text="{Binding BottomOverMaterialAssembly, UpdateSourceTrigger=PropertyChanged}"
IsEnabled="{Binding IsChecked, ElementName=BottomAssembly}"
Padding="1"
Margin="5,2.5,10,2.5"/>
<TextBlock Text="{Binding OverlapTopMsg}"
Style="{StaticResource DoorParamsTxBl}"
Margin="2,0,0,-5.5"
Grid.Row="5"
Grid.Column="0"/>
<TextBox Grid.Column="1" Grid.Row="5"
Style="{StaticResource DoorParamsTxBx}"
Text="{Binding OverlapTop, UpdateSourceTrigger=PropertyChanged}"
Margin="5,2.5,10,-5.5" VerticalAlignment="Stretch" />
<!--Exterior-->
<GroupBox Grid.Row="5" Grid.Column="2" Grid.ColumnSpan="6" Grid.RowSpan="2" Margin="2,-4,2,-4">
<GroupBox.Header>
<StackPanel Orientation="Horizontal">
<CheckBox Name="Exterior"
Style="{StaticResource DoorParamsChBx}"
IsChecked="{Binding Exterior}"
Margin="0,0,2,0" VerticalAlignment="Stretch" Height="Auto"/>
<TextBlock Text="{Binding ExteriorMsg}" Width="Auto"/>
</StackPanel>
</GroupBox.Header>
</GroupBox>
<TextBlock Text="{Binding OverlapBottomMsg}"
Style="{StaticResource DoorParamsTxBl}"
Margin="2,0,0,-5.5"
Grid.Row="5"
Grid.Column="3"/>
<TextBox Grid.Column="4" Grid.Row="5"
Style="{StaticResource DoorParamsTxBx}"
IsEnabled="{Binding IsChecked,ElementName=Exterior}"
Text="{Binding OverlapBottom, UpdateSourceTrigger=PropertyChanged}"
Margin="5,2.5,10,-5.5" VerticalAlignment="Stretch" />
<TextBlock Text="{Binding ThicknessBottomMsg}"
Style="{StaticResource DoorParamsTxBl}"
Margin="2,0,0,-5.5"
Grid.Row="5"
Grid.Column="5"/>
<TextBox Grid.Column="7" Grid.Row="5"
Style="{StaticResource DoorParamsTxBx}"
IsEnabled="{Binding IsChecked,ElementName=Exterior}"
Text="{Binding ThickinessBottom, UpdateSourceTrigger=PropertyChanged}"
Margin="5,2.5,10,-5.5" VerticalAlignment="Stretch" />
<TextBlock Text="{Binding DepthBottomMsg}"
Style="{StaticResource DoorParamsTxBl}"
Margin="2,0,0,-5.5"
Grid.Row="6"
Grid.Column="3"/>
<TextBox Grid.Column="4" Grid.Row="6"
Style="{StaticResource DoorParamsTxBx}"
IsEnabled="{Binding IsChecked,ElementName=Exterior}"
Text="{Binding DepthBottom, UpdateSourceTrigger=PropertyChanged}"
Margin="5,2.5,10,-5.5" VerticalAlignment="Stretch" />
<TextBlock Text="{Binding DeltaBottomMsg}"
Style="{StaticResource DoorParamsTxBl}"
Margin="2,0,0,-5.5"
Grid.Row="6"
Grid.Column="5"/>
<TextBox Grid.Column="7" Grid.Row="6"
Style="{StaticResource DoorParamsTxBx}"
IsEnabled="{Binding IsChecked,ElementName=Exterior}"
Text="{Binding DeltaBottom, UpdateSourceTrigger=PropertyChanged}"
Margin="5,2.5,10,-5.5" VerticalAlignment="Stretch" />
<TextBlock Text="{Binding DeltaTMsg}"
Style="{StaticResource DoorParamsTxBl}"
Margin="2,0,0,-5.5"
Grid.Row="6"
Grid.Column="0"/>
<TextBox Grid.Column="1" Grid.Row="6"
Style="{StaticResource DoorParamsTxBx}"
Text="{Binding DeltaThickness, UpdateSourceTrigger=PropertyChanged}"
Margin="5,2.5,10,-5.5" VerticalAlignment="Stretch"/>
<!--TotalDimension-->
<!--<GroupBox Grid.Row="6" Grid.ColumnSpan="5" Margin="2,-0,2,-4">
<GroupBox.Header>
<StackPanel Orientation="Horizontal">
<CheckBox Name="TotalDimension"
Style="{StaticResource DoorParamsChBx}"
IsChecked="{Binding TotalDimension}"
Margin="0,0,2,0" VerticalAlignment="Stretch" Height="Auto"/>
<TextBlock Text="{Binding TotalDimensionMsg}" Width="Auto"/>
</StackPanel>
</GroupBox.Header>
</GroupBox>
<TextBlock Text="{Binding TotalHeightMsg}"
Style="{StaticResource DoorParamsTxBl}"
Margin="2,0,0,-5.5"
Grid.Row="6"
Grid.Column="1"/>
<TextBox Grid.Column="2" Grid.Row="6"
Style="{StaticResource DoorParamsTxBx}"
IsEnabled="{Binding IsChecked,ElementName=TotalDimension}"
Text="{Binding TotalHeight, UpdateSourceTrigger=PropertyChanged}"
Margin="5,2.5,10,-5.5" VerticalAlignment="Stretch" />
<TextBlock Text="{Binding TotalWidthMsg}"
Style="{StaticResource DoorParamsTxBl}"
Margin="2,0,0,-5.5"
Grid.Row="6"
Grid.Column="3"/>
<TextBox Grid.Column="4" Grid.Row="6"
Style="{StaticResource DoorParamsTxBx}"
IsEnabled="{Binding IsChecked,ElementName=TotalDimension}"
Text="{Binding TotalWidth, UpdateSourceTrigger=PropertyChanged}"
Margin="5,2.5,10,-5.5" VerticalAlignment="Stretch" />-->
</Grid>
</GroupBox>
</TabItem>
</TabControl>
<!--Seclta della cartella in cui salvare i progetti-->
<GroupBox Header="{Binding CurrentDirectiry}" Grid.Row="2" Grid.ColumnSpan="4" Margin="5,0,5,0">
<Grid >
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="3*"/>
<ColumnDefinition Width="1*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="1*"/>
</Grid.RowDefinitions>
<TextBlock Text="{Binding DirectoryMsg}" Grid.Column="0" Margin="2,5,5,0"
Style="{StaticResource DoorParamsTxBl}"/>
<TextBlock Text="{Binding MyProjectDir}" Grid.Column="1" Margin="2,5,5,0"
Style="{StaticResource DoorParamsTxBl}"/>
<Button Content="{Binding MsgBrowse}" Grid.Column="2"
Command="{Binding BrowseCommand}" Margin="5"
CommandParameter="MyProject"/>
</Grid>
</GroupBox>
<!--Seclta della cartella in cui salvare i progetti-->
<GroupBox Header="{Binding CurrentMachinDirectiry}" Grid.Row="3" Grid.ColumnSpan="4" Margin="5,0,5,0">
<Grid >
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="3*"/>
<ColumnDefinition Width="1*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="1*"/>
</Grid.RowDefinitions>
<TextBlock Text="{Binding MachinDirectoryMsg}" Grid.Column="0" Margin="2,5,5,0"
Style="{StaticResource DoorParamsTxBl}"/>
<TextBlock Text="{Binding MachinDir}" Grid.Column="1" Margin="2,5,5,0"
Style="{StaticResource DoorParamsTxBl}"/>
<Button Content="{Binding MsgBrowse}" Grid.Column="2"
Command="{Binding BrowseCommand}" Margin="5"
CommandParameter="MachinDir"/>
</Grid>
</GroupBox>
<!--Seclta della cartella in cui salvare i progetti-->
<GroupBox Header="{Binding CurrentTemplateDirectiry}" Grid.Row="4" Grid.ColumnSpan="4" Margin="5,0,5,0">
<Grid >
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="3*"/>
<ColumnDefinition Width="1*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="1*"/>
</Grid.RowDefinitions>
<TextBlock Text="{Binding TemplateDirectoryMsg}" Grid.Column="0" Margin="2,5,5,0"
Style="{StaticResource DoorParamsTxBl}"/>
<TextBlock Text="{Binding TemplateDir}" Grid.Column="1" Margin="2,5,5,0"
Style="{StaticResource DoorParamsTxBl}"/>
<Button Content="{Binding MsgBrowse}" Grid.Column="2"
Command="{Binding BrowseCommand}" Margin="5"
CommandParameter="TemplateDir"/>
</Grid>
</GroupBox>
<!--Bottone di chiusura della pagina-->
<Button Content="{Binding MsgClose}" Grid.Row="5" Grid.Column="3" Margin="5"
Command="{Binding CloseOptionsCommand}"/>
</Grid>
</EgtWPFLib5:EgtCustomWindow>