|
|
|
@ -178,20 +178,20 @@
|
|
|
|
|
Grid.Column="0"
|
|
|
|
|
FontSize="12"
|
|
|
|
|
Foreground="{DynamicResource BrushTextDark}"
|
|
|
|
|
Text="{DynamicResource FileName}" />
|
|
|
|
|
Text="{DynamicResource OptionalFields}" />
|
|
|
|
|
<ListBox
|
|
|
|
|
x:Name="nameSelectedFileName"
|
|
|
|
|
Name="nameOptionalFields"
|
|
|
|
|
Grid.Row="0"
|
|
|
|
|
Grid.Column="1"
|
|
|
|
|
MinHeight="30"
|
|
|
|
|
Margin="0,0,0,20"
|
|
|
|
|
ItemContainerStyle="{StaticResource TagItem2Style}"
|
|
|
|
|
ItemsSource="{Binding SelectedFileName, Mode=TwoWay}"
|
|
|
|
|
ItemsSource="{Binding OptionalFields, Mode=TwoWay}"
|
|
|
|
|
SelectedIndex="{Binding SelectedOptionalField}"
|
|
|
|
|
SelectionMode="Single"
|
|
|
|
|
Style="{StaticResource Tag2Style}">
|
|
|
|
|
<i:Interaction.Triggers>
|
|
|
|
|
<i:EventTrigger EventName="SelectionChanged">
|
|
|
|
|
<i:InvokeCommandAction Command="{Binding SelectedFileNameCommand}" CommandParameter="{Binding ElementName=nameSelectedFileName, Path=SelectedItem}" />
|
|
|
|
|
<i:InvokeCommandAction Command="{Binding OptionalFieldsCommand}" CommandParameter="{Binding ElementName=nameOptionalFields, Path=SelectedItem}" />
|
|
|
|
|
</i:EventTrigger>
|
|
|
|
|
</i:Interaction.Triggers>
|
|
|
|
|
</ListBox>
|
|
|
|
@ -201,23 +201,49 @@
|
|
|
|
|
Grid.Column="0"
|
|
|
|
|
FontSize="12"
|
|
|
|
|
Foreground="{DynamicResource BrushTextDark}"
|
|
|
|
|
Text="{DynamicResource OptionalFields}" />
|
|
|
|
|
Text="{DynamicResource FileName}" />
|
|
|
|
|
<ListBox
|
|
|
|
|
Name="nameOptionalFields"
|
|
|
|
|
x:Name="nameSelectedFileName"
|
|
|
|
|
Grid.Row="1"
|
|
|
|
|
Grid.Column="1"
|
|
|
|
|
MinHeight="30"
|
|
|
|
|
ItemContainerStyle="{StaticResource TagItem2Style}"
|
|
|
|
|
ItemsSource="{Binding OptionalFields, Mode=TwoWay}"
|
|
|
|
|
SelectedIndex="{Binding SelectedOptionalField}"
|
|
|
|
|
ItemsSource="{Binding SelectedFileName, Mode=TwoWay}"
|
|
|
|
|
SelectionMode="Single"
|
|
|
|
|
Style="{StaticResource Tag2Style}">
|
|
|
|
|
<i:Interaction.Triggers>
|
|
|
|
|
<i:EventTrigger EventName="SelectionChanged">
|
|
|
|
|
<i:InvokeCommandAction Command="{Binding OptionalFieldsCommand}" CommandParameter="{Binding ElementName=nameOptionalFields, Path=SelectedItem}" />
|
|
|
|
|
<i:InvokeCommandAction Command="{Binding SelectedFileNameCommand}" CommandParameter="{Binding ElementName=nameSelectedFileName, Path=SelectedItem}" />
|
|
|
|
|
</i:EventTrigger>
|
|
|
|
|
</i:Interaction.Triggers>
|
|
|
|
|
</ListBox>
|
|
|
|
|
|
|
|
|
|
<StackPanel
|
|
|
|
|
Grid.Row="2"
|
|
|
|
|
Grid.Column="1"
|
|
|
|
|
HorizontalAlignment="Left"
|
|
|
|
|
VerticalAlignment="Bottom"
|
|
|
|
|
Orientation="Horizontal">
|
|
|
|
|
<TextBlock
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
FontSize="12"
|
|
|
|
|
Foreground="{DynamicResource BrushTextDark}"
|
|
|
|
|
Text="时间格式:" />
|
|
|
|
|
<ComboBox
|
|
|
|
|
Name="nameFileNamePartTimeFormat"
|
|
|
|
|
Width="120"
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
VerticalContentAlignment="Center"
|
|
|
|
|
ItemsSource="{Binding FileNamePartTimeFormatList}"
|
|
|
|
|
SelectedItem="{Binding SelectedFileNamePartTimeFormat}">
|
|
|
|
|
<i:Interaction.Triggers>
|
|
|
|
|
<i:EventTrigger EventName="SelectionChanged">
|
|
|
|
|
<i:InvokeCommandAction Command="{Binding FileNamePartTimeFormatCommand}" CommandParameter="{Binding ElementName=nameFileNamePartTimeFormat, Path=SelectedItem}" />
|
|
|
|
|
</i:EventTrigger>
|
|
|
|
|
</i:Interaction.Triggers>
|
|
|
|
|
</ComboBox>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
Grid.Row="2"
|
|
|
|
|
Grid.Column="1"
|
|
|
|
|