20ba53da39
- modifiche per gestione inclinazione lati anche su loop interni di componenti e di pezzi importati (come OmagCUT).
104 lines
4.5 KiB
XML
104 lines
4.5 KiB
XML
<EgtWPFLib5:EgtCustomWindow x:Class="DxfImportWindowV"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:OmagOFFICE="clr-namespace:OmagOFFICE"
|
|
xmlns:EgtWPFLib5="clr-namespace:EgtWPFLib5;assembly=EgtWPFLib5"
|
|
Title="{Binding TitleMsg}"
|
|
IsMinimizable="False"
|
|
ShowInTaskbar="False"
|
|
Style="{DynamicResource {x:Type EgtWPFLib5:EgtCustomWindow}}" WindowStartupLocation="CenterOwner">
|
|
|
|
<DockPanel>
|
|
|
|
<DockPanel DockPanel.Dock="Left"
|
|
Width="200"
|
|
Margin="5,5,5,0">
|
|
|
|
<Button Content="{Binding OpenDxfMsg}"
|
|
Command="{Binding OpenDxfCommand}"
|
|
IsEnabled="{Binding Open_IsEnabled}"
|
|
DockPanel.Dock="Top"
|
|
Style="{StaticResource OptionPanel_TextButton}"
|
|
Margin="0,0,0,5"/>
|
|
|
|
<GroupBox Header="{Binding TypeMsg}"
|
|
DockPanel.Dock="Top"
|
|
IsEnabled="{Binding Type_IsEnabled}"
|
|
Margin="0,0,0,5">
|
|
<UniformGrid Columns="2" Rows="2">
|
|
<Button Content="{Binding UseRegionMsg}"
|
|
IsEnabled="{Binding UseRegionIsEnabled}"
|
|
Command="{Binding UseRegionCommand}"
|
|
Style="{StaticResource OptionPanel_TextButton}"/>
|
|
<Button Content="{Binding UseLayerMsg}"
|
|
IsEnabled="{Binding UseLayerIsEnabled}"
|
|
Command="{Binding UseLayerCommand}"
|
|
Style="{StaticResource OptionPanel_TextButton}"/>
|
|
<Button Content="{Binding UseClosedCurveMsg}"
|
|
IsEnabled="{Binding UseClosedCurveIsEnabled}"
|
|
Command="{Binding UseClosedCurveCommand}"
|
|
Style="{StaticResource OptionPanel_TextButton}"/>
|
|
<Button Content="{Binding ResetMsg}"
|
|
IsEnabled="{Binding ResetIsEnabled}"
|
|
Command="{Binding ResetCommand}"
|
|
Style="{StaticResource OptionPanel_TextButton}"/>
|
|
</UniformGrid>
|
|
</GroupBox>
|
|
|
|
<GroupBox Header="{Binding MeasureUnitMsg}"
|
|
IsEnabled="{Binding Measure_IsEnabled}"
|
|
DockPanel.Dock="Top"
|
|
Margin="0,0,0,5">
|
|
<UniformGrid Columns="2">
|
|
<RadioButton Content="{Binding MmMsg}"
|
|
IsChecked="{Binding MmIsChecked}"
|
|
Style="{StaticResource OptionPanel_ToggleButton}"/>
|
|
<RadioButton Content="{Binding InchMsg}"
|
|
IsChecked="{Binding InchIsChecked, Mode=OneWay}"
|
|
Style="{StaticResource OptionPanel_ToggleButton}"/>
|
|
</UniformGrid>
|
|
</GroupBox>
|
|
|
|
<UniformGrid Columns="2"
|
|
DockPanel.Dock="Top"
|
|
IsEnabled="{Binding SideEntity_IsEnabled}"
|
|
Margin="0,0,0,5">
|
|
<ToggleButton Content="{Binding SideAngleMsg}"
|
|
IsChecked="{Binding SideAngle_IsChecked}"
|
|
Style="{StaticResource CompoWindow_ToggleButton}"/>
|
|
<ToggleButton Content="{Binding DripMsg}"
|
|
IsChecked="{Binding Drip_IsChecked}"
|
|
Style="{StaticResource CompoWindow_ToggleButton}"
|
|
IsEnabled="False"/>
|
|
</UniformGrid>
|
|
|
|
<UniformGrid DockPanel.Dock="Bottom"
|
|
Columns="2"
|
|
Margin="0,0,0,5">
|
|
<Button x:Name="OkBtn"
|
|
Content="{Binding OkMsg}"
|
|
IsEnabled="{Binding OkIsEnabled}"
|
|
Style="{StaticResource OptionPanel_TextButton}"/>
|
|
<Button x:Name="CancelBtn"
|
|
Content="{Binding CancelMsg}"
|
|
Style="{StaticResource OptionPanel_TextButton}"/>
|
|
</UniformGrid>
|
|
|
|
<TextBlock Text="{Binding OutputMessage}"
|
|
Foreground="{Binding MsgColor}"
|
|
DockPanel.Dock="Bottom"
|
|
TextWrapping="Wrap"
|
|
TextAlignment="Center"
|
|
Margin="0,0,0,20"/>
|
|
|
|
<ContentControl VerticalAlignment="Center"
|
|
Content="{Binding SideEntityControl}"/>
|
|
|
|
</DockPanel>
|
|
|
|
<OmagOFFICE:DxfImportSceneHostV/>
|
|
|
|
</DockPanel>
|
|
|
|
</EgtWPFLib5:EgtCustomWindow>
|