|
|
|
@ -5,7 +5,7 @@ |
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
|
|
|
|
xmlns:local="clr-namespace:rabi_splitter_WPF" |
|
|
|
|
mc:Ignorable="d" |
|
|
|
|
d:DesignHeight="500" d:DesignWidth="900"> |
|
|
|
|
d:DesignHeight="500" d:DesignWidth="540"> |
|
|
|
|
<DockPanel> |
|
|
|
|
<StackPanel> |
|
|
|
|
<Button Content="Add" Width="40" Height="40" DockPanel.Dock="Right" Click="AddButton_Click"/> |
|
|
|
@ -13,23 +13,30 @@ |
|
|
|
|
<ListBox Name="VariableExportListBox" ItemsSource="{Binding VariableExportSettings}"> |
|
|
|
|
<ListBox.ItemTemplate> |
|
|
|
|
<DataTemplate> |
|
|
|
|
<Grid Name="MainPanel" Height="80" Width="500" DockPanel.Dock="Top"> |
|
|
|
|
<Grid Name="MainPanel" Height="80" Width="500" DockPanel.Dock="Top" Margin="5,0,5,0"> |
|
|
|
|
<Grid.ColumnDefinitions> |
|
|
|
|
<ColumnDefinition Width="4*" /> |
|
|
|
|
<ColumnDefinition Width="6*" /> |
|
|
|
|
<ColumnDefinition Width="2*" /> |
|
|
|
|
<ColumnDefinition Width="3*" /> |
|
|
|
|
<ColumnDefinition Width="1*" /> |
|
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
|
<StackPanel Grid.Column="0"> |
|
|
|
|
<TextBlock Text="Variable"/> |
|
|
|
|
<ComboBox ItemsSource="{Binding Path=VariableCaptions}" DisplayMemberPath="Value" SelectedValuePath="Key" SelectedValue="{Binding Path=SelectedVariable, Mode=TwoWay}"/> |
|
|
|
|
<TextBlock Text="Output File"/> |
|
|
|
|
<TextBlock Text="Output File" Margin="0,2,0,0"/> |
|
|
|
|
<TextBox Text="{Binding Path=OutputFileName, Mode=TwoWay}"/> |
|
|
|
|
</StackPanel> |
|
|
|
|
<DockPanel Grid.Column="1"> |
|
|
|
|
<TextBox Text="{Binding Path=OutputFormat, Mode=TwoWay}" AcceptsReturn="True"/> |
|
|
|
|
<DockPanel Grid.Column="1" Margin="15,0,15,0"> |
|
|
|
|
<DockPanel> |
|
|
|
|
<DockPanel DockPanel.Dock="Top"> |
|
|
|
|
<TextBlock DockPanel.Dock="Left" Text="Format"/> |
|
|
|
|
<Button DockPanel.Dock="Right" Content="Default Format" Click="DefaultButton_Click" Width="120" HorizontalAlignment="Right"/> |
|
|
|
|
</DockPanel> |
|
|
|
|
<TextBox Margin="0,5,0,5" Text="{Binding Path=OutputFormat, Mode=TwoWay}" AcceptsReturn="True"/> |
|
|
|
|
</DockPanel> |
|
|
|
|
</DockPanel> |
|
|
|
|
<DockPanel Grid.Column="2"> |
|
|
|
|
<ToggleButton Content="Export" DockPanel.Dock="Bottom" IsChecked="{Binding Path=IsExporting, Mode=TwoWay}"/> |
|
|
|
|
<Button Content="X" DockPanel.Dock="Top" Width="20" HorizontalAlignment="Right" Click="CloseButton_Click"/> |
|
|
|
|
<ToggleButton Margin="5,5,5,5" Content="Export" DockPanel.Dock="Bottom" IsChecked="{Binding Path=IsExporting, Mode=TwoWay}"/> |
|
|
|
|
</DockPanel> |
|
|
|
|
</Grid> |
|
|
|
|
</DataTemplate> |
|
|
|
|