e60bef9257
- Aggiunto AboutBox. - Migliorie varie.
91 lines
3.6 KiB
XML
91 lines
3.6 KiB
XML
<EgtFloating:EgtFloatingPanel x:Class="OptionPanelV"
|
|
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"
|
|
xmlns:EgtFloating="clr-namespace:EgtWPFLib5.EgtFloating;assembly=EgtWPFLib5"
|
|
xmlns:OmagPHOTO="clr-namespace:OmagPHOTO"
|
|
Width="268" TitleBarOrientation="Vertical" IsToolBar="True"
|
|
IsTopDockable="False" IsBottomDockable="False" IsLeftDockable="True"
|
|
IsRightDockable="False" Style="{StaticResource Option_EgtFloatingPanel}">
|
|
|
|
<EgtFloating:EgtFloatingPanel.Resources>
|
|
<OmagPHOTO:StateIndexConverter x:Key="StateIndexConverter"/>
|
|
</EgtFloating:EgtFloatingPanel.Resources>
|
|
|
|
<Button Command="{Binding PhotoCommand}"
|
|
Grid.Column="1"
|
|
Margin="5,0,5,5"
|
|
Visibility="{Binding PhotoCommand_Visibility}">
|
|
<Button.Style>
|
|
<Style TargetType="{x:Type Button}" BasedOn="{StaticResource OptionPanel_Button}">
|
|
<EventSetter Event="MouseRightButtonDown" Handler="Photo_RightClick"/>
|
|
</Style>
|
|
</Button.Style>
|
|
<Image Source="/Resources/DetailPage/Photo.png" Stretch="Uniform"/>
|
|
</Button>
|
|
|
|
<UniformGrid Columns="2" Margin="5,0,5,0">
|
|
|
|
<TextBlock Text="{Binding IdMsg}"/>
|
|
<EgtWpfLib5:EgtTextBox Text="{Binding SelSlab.Id}"
|
|
Margin="13,0,0,5"
|
|
TextAlignment="Right"/>
|
|
|
|
<TextBlock Text="{Binding StateMsg}"/>
|
|
<ComboBox Name="ComboState"
|
|
ItemsSource="{Binding StateList}"
|
|
DisplayMemberPath="Name"
|
|
Margin="13,0,0,5">
|
|
<ComboBox.SelectedIndex>
|
|
<MultiBinding Converter="{StaticResource StateIndexConverter}">
|
|
<Binding Path="SelSlab.State" />
|
|
<Binding Path="StateList" Mode="OneWay"/>
|
|
</MultiBinding>
|
|
</ComboBox.SelectedIndex>
|
|
</ComboBox>
|
|
|
|
<TextBlock Text="{Binding ProjectAssignedToMsg}"/>
|
|
<EgtWpfLib5:EgtTextBox Text="{Binding SelSlab.ProjectAssignedTo}"
|
|
Margin="13,0,0,5"
|
|
TextAlignment="Right"/>
|
|
|
|
<TextBlock Text="{Binding MaterialMsg}"/>
|
|
<ComboBox ItemsSource="{Binding MaterialList}"
|
|
SelectedItem="{Binding SelSlab.Material}"
|
|
Margin="13,0,0,5"/>
|
|
|
|
<TextBlock Text="{Binding ThicknessMsg}"/>
|
|
<EgtWpfLib5:EgtTextBox Text="{Binding SelSlab.Thickness}"
|
|
Margin="13,0,0,5"
|
|
TextAlignment="Right"/>
|
|
|
|
<TextBlock Text="{Binding WarehousePositionMsg}"/>
|
|
<EgtWpfLib5:EgtTextBox Text="{Binding SelSlab.WarehousePosition}"
|
|
Margin="13,0,0,5"
|
|
TextAlignment="Right"/>
|
|
|
|
</UniformGrid>
|
|
|
|
<Button Command="{Binding Remove_Command}"
|
|
Content="{Binding RemoveMsg}"
|
|
Visibility="{Binding Remove_Visibility}"
|
|
Style="{StaticResource OptionPanel_TextButton}"
|
|
Margin="5,0,5,5"/>
|
|
|
|
<UniformGrid Columns="2" Margin="5,0,5,0">
|
|
|
|
<Button Command="{Binding Cancel_Command}"
|
|
Content="{Binding CancelMsg}"
|
|
Margin="0,0,2.5,5"
|
|
Style="{StaticResource OptionPanel_TextButton}"/>
|
|
<Button Command="{Binding Ok_Command}"
|
|
|
|
Content="{Binding OkMsg}"
|
|
IsEnabled="{Binding Ok_IsEnabled}"
|
|
Margin="2.5,0,0,5"
|
|
Style="{StaticResource OptionPanel_TextButton}"/>
|
|
|
|
</UniformGrid>
|
|
|
|
</EgtFloating:EgtFloatingPanel>
|