13b2dd29d1
- aggiunto progetto Optimizer
119 lines
5.2 KiB
XML
119 lines
5.2 KiB
XML
<Grid x:Class="General_ConfigurationPageV"
|
|
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">
|
|
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="1*"/>
|
|
</Grid.RowDefinitions>
|
|
<StackPanel Grid.Row="0" Grid.Column="0" Margin="5,5,5,0">
|
|
<GroupBox Header="{Binding CurrentLanguage_Msg}"
|
|
Margin="0,0,0,5">
|
|
<UniformGrid Rows="2" Margin="3,3,3,3">
|
|
<ComboBox ItemsSource="{Binding LanguageList, Mode=OneWay}" Height="25"
|
|
DisplayMemberPath="Name" SelectedItem="{Binding SelectedLanguage}"
|
|
Margin="0,0,0,5"/>
|
|
<TextBlock Text="{Binding LanguageAdvert_Msg}" TextWrapping="Wrap"
|
|
TextAlignment="Center"/>
|
|
</UniformGrid>
|
|
</GroupBox>
|
|
<UniformGrid Columns="2"
|
|
Margin="0,0,0,5">
|
|
<TextBlock Text="{Binding MMUnits_Msg}" VerticalAlignment="Center"/>
|
|
<ComboBox ItemsSource="{Binding UnitMeasureList, Mode=OneWay}"
|
|
SelectedIndex="{Binding SelMeasureUnit}" Height="25"
|
|
Margin="0,5,0,0"/>
|
|
</UniformGrid>
|
|
<GroupBox Header="{Binding Nesting_Msg}"
|
|
Margin="0,0,0,5">
|
|
<StackPanel>
|
|
<UniformGrid Columns="2"
|
|
Margin="0,0,0,5">
|
|
<TextBlock Text="{Binding SectionTime_Msg}"
|
|
Grid.Row="0" Grid.Column="0"/>
|
|
<EgtWPFLib5:EgtTextBox Text="{Binding SectionTime, UpdateSourceTrigger=Explicit}"
|
|
Grid.Row="0" Grid.Column="1"/>
|
|
</UniformGrid>
|
|
<UniformGrid Columns="2"
|
|
Margin="0,0,0,5">
|
|
<TextBlock Text="{Binding PartTime_Msg}"
|
|
Grid.Row="1" Grid.Column="0"/>
|
|
<EgtWPFLib5:EgtTextBox Text="{Binding PartTime, UpdateSourceTrigger=Explicit}"
|
|
Grid.Row="1" Grid.Column="1"/>
|
|
</UniformGrid>
|
|
</StackPanel>
|
|
</GroupBox>
|
|
<UniformGrid Columns="2"
|
|
Margin="0,0,0,5">
|
|
<TextBlock Text="{Binding PrintLabel_Msg}" VerticalAlignment="Center"/>
|
|
<CheckBox IsChecked="{Binding bPrintLabel_IsChecked}"
|
|
Margin="0,5,0,0"/>
|
|
</UniformGrid>
|
|
<GroupBox Header="Backup And Restore">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
<Grid Grid.Row="0"
|
|
Margin="0,2,0,5">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<CheckBox x:Name="ExternalBackup_CheckBox"
|
|
IsChecked="{Binding bExternalBackupActive}"
|
|
VerticalAlignment="Center"/>
|
|
<TextBlock Grid.Column="1"
|
|
Text="External file path:"
|
|
VerticalAlignment="Center"/>
|
|
</Grid>
|
|
<Grid Grid.Row="1"
|
|
Margin="0,2,0,5">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
</Grid.ColumnDefinitions>
|
|
<TextBox Text="{Binding ExternalBackupFolderPath}"
|
|
IsEnabled="{Binding IsChecked, ElementName=ExternalBackup_CheckBox}"
|
|
Margin="0,0,2.5,0"/>
|
|
<Button Grid.Column="1"
|
|
Content="..."
|
|
Width="18"
|
|
Command="{Binding ChooseExternalBackupFolderPath_Command}"
|
|
IsEnabled="{Binding IsChecked, ElementName=ExternalBackup_CheckBox}"
|
|
Margin="2.5,0,0,0"/>
|
|
</Grid>
|
|
<Grid Grid.Row="2">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
</Grid.ColumnDefinitions>
|
|
<TextBlock Text="Reminder Frequency"/>
|
|
<ComboBox Grid.Column="1"
|
|
ItemsSource="{Binding ReminderList}"
|
|
SelectedItem="{Binding SelReminder}"/>
|
|
</Grid>
|
|
<StackPanel Grid.Row="3"
|
|
Orientation="Horizontal">
|
|
<Button Content="Backup"
|
|
Command="{Binding Backup_Command}"
|
|
Style="{StaticResource ToolBar_TextButton}"/>
|
|
<Button Content="Restore"
|
|
Command="{Binding Restore_Command}"
|
|
Style="{StaticResource ToolBar_TextButton}"/>
|
|
</StackPanel>
|
|
</Grid>
|
|
</GroupBox>
|
|
</StackPanel>
|
|
|
|
</Grid>
|