IO-2217 Partner changes for generating part price changes.
This commit is contained in:
@@ -153,22 +153,6 @@
|
||||
Margin="8"
|
||||
Content="{x:Static p:Resources.Label_RemoveAllPaths}" />
|
||||
<Separator />
|
||||
<Button Command="{Binding BrowseForQbFolderCommand, UpdateSourceTrigger=PropertyChanged}"
|
||||
Margin="8"
|
||||
Content="{x:Static p:Resources.Label_BrowseForQb}" />
|
||||
<Button Command="{Binding BrowseForEmsFolderCommand, UpdateSourceTrigger=PropertyChanged}"
|
||||
Margin="8"
|
||||
Content="{x:Static p:Resources.Label_BrowseForEmsExport}" />
|
||||
<Button Command="{Binding BrowseForPaintScalePathCommand, UpdateSourceTrigger=PropertyChanged}"
|
||||
Margin="8"
|
||||
Content="{x:Static p:Resources.Label_BrowsePaintScalePath}" />
|
||||
<Button Command="{Binding BrowseForPaintScaleImportPathCommand, UpdateSourceTrigger=PropertyChanged}"
|
||||
Margin="8"
|
||||
Content="{x:Static p:Resources.Label_BrowsePaintScaleImportPath}" />
|
||||
<Button Command="{Binding BrowseForArmsPathPathCommand, UpdateSourceTrigger=PropertyChanged}"
|
||||
Margin="8"
|
||||
Content="{x:Static p:Resources.Label_BrowseArmsExportPath}" />
|
||||
|
||||
<Button Command="{Binding ConfigurePaintScaleCommand, UpdateSourceTrigger=PropertyChanged}"
|
||||
Margin="8"
|
||||
Content="{x:Static p:Resources.Label_ConfigurePaintScale}" />
|
||||
@@ -248,30 +232,87 @@
|
||||
</DataGridTemplateColumn>
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
<DockPanel Grid.Row="1"
|
||||
|
||||
<ScrollViewer Grid.Row="1"> <DockPanel
|
||||
Height="Auto">
|
||||
<TextBox DockPanel.Dock="Top"
|
||||
Text="{Binding Source={x:Static properties:Settings.Default},
|
||||
Path=QuickBooksFilePath}"
|
||||
materialDesign:HintAssist.Hint="{x:Static p:Resources.Label_QbFilePath}"
|
||||
TextChanged="TextBox_TextChanged" />
|
||||
<TextBox DockPanel.Dock="Top"
|
||||
Text="{Binding Source={x:Static properties:Settings.Default},
|
||||
Path=EmsExportPath}"
|
||||
materialDesign:HintAssist.Hint="{x:Static p:Resources.Label_EmsExport}"
|
||||
TextChanged="EmsExportPath_TextChanged" />
|
||||
<TextBox DockPanel.Dock="Top"
|
||||
Text="{Binding Source={x:Static properties:Settings.Default},
|
||||
Path=PaintScalePath}"
|
||||
materialDesign:HintAssist.Hint="{x:Static p:Resources.Label_PaintScalePath}"
|
||||
TextChanged="PaintScalePath_TextChanged" />
|
||||
|
||||
<Grid DockPanel.Dock="Top"
|
||||
HorizontalAlignment="Stretch">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="3*" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBox DockPanel.Dock="Top"
|
||||
Grid.Column="0"
|
||||
Text="{Binding Source={x:Static properties:Settings.Default},
|
||||
Path=QuickBooksFilePath}"
|
||||
materialDesign:HintAssist.Hint="{x:Static p:Resources.Label_QbFilePath}"
|
||||
TextChanged="TextBox_TextChanged" />
|
||||
<Button Command="{Binding BrowseForQbFolderCommand, UpdateSourceTrigger=PropertyChanged}"
|
||||
Margin="8"
|
||||
Content="{x:Static p:Resources.Label_BrowseForQb}"
|
||||
ContentStringFormat=""
|
||||
Grid.Column="1"/>
|
||||
</Grid>
|
||||
<Grid DockPanel.Dock="Top"
|
||||
HorizontalAlignment="Stretch">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="3*" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBox DockPanel.Dock="Top"
|
||||
Grid.Column="0"
|
||||
Text="{Binding Source={x:Static properties:Settings.Default},
|
||||
Path=EmsExportPath}"
|
||||
materialDesign:HintAssist.Hint="{x:Static p:Resources.Label_EmsExport}"
|
||||
TextChanged="EmsExportPath_TextChanged" />
|
||||
<Button Command="{Binding BrowseForEmsFolderCommand, UpdateSourceTrigger=PropertyChanged}"
|
||||
Margin="8"
|
||||
Content="{x:Static p:Resources.Label_BrowseForEmsExport}" Grid.Column="1" />
|
||||
</Grid>
|
||||
<Grid DockPanel.Dock="Top"
|
||||
HorizontalAlignment="Stretch">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="3*" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBox DockPanel.Dock="Top"
|
||||
Grid.Column="0"
|
||||
Text="{Binding Source={x:Static properties:Settings.Default},
|
||||
Path=PpcExportPath}"
|
||||
materialDesign:HintAssist.Hint="{x:Static p:Resources.Label_PpcExport}"
|
||||
TextChanged="PpcExportPath_TextChanged" />
|
||||
<Button Command="{Binding BrowseForPpcFolderCommand, UpdateSourceTrigger=PropertyChanged}"
|
||||
Margin="8"
|
||||
Content="{x:Static p:Resources.Label_BrowseForPpcExport}"
|
||||
Grid.Column="1" />
|
||||
</Grid>
|
||||
<Grid DockPanel.Dock="Top"
|
||||
HorizontalAlignment="Stretch">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="3*" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBox DockPanel.Dock="Top"
|
||||
Grid.Column="0"
|
||||
Text="{Binding Source={x:Static properties:Settings.Default},
|
||||
Path=PaintScalePath}"
|
||||
materialDesign:HintAssist.Hint="{x:Static p:Resources.Label_PaintScalePath}"
|
||||
TextChanged="PaintScalePath_TextChanged" />
|
||||
<Button Command="{Binding BrowseForPaintScalePathCommand, UpdateSourceTrigger=PropertyChanged}"
|
||||
Margin="8"
|
||||
Content="{x:Static p:Resources.Label_BrowsePaintScalePath}" Grid.Column="1"/>
|
||||
</Grid>
|
||||
|
||||
|
||||
|
||||
|
||||
<Grid DockPanel.Dock="Top"
|
||||
HorizontalAlignment="Stretch">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="2*" />
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBox Grid.Column="0"
|
||||
Text="{Binding Source={x:Static properties:Settings.Default},
|
||||
Path=PaintScaleImportPath}"
|
||||
@@ -282,20 +323,36 @@
|
||||
Path=PaintScaleImportTimer}"
|
||||
materialDesign:HintAssist.Hint="{x:Static p:Resources.Label_PaintScaleImportTimer}"
|
||||
TextChanged="PaintScaleImportTimer_TextChanged" />
|
||||
<Button Command="{Binding BrowseForPaintScaleImportPathCommand, UpdateSourceTrigger=PropertyChanged}"
|
||||
Margin="8"
|
||||
Content="{x:Static p:Resources.Label_BrowsePaintScaleImportPath}" Grid.Column="2"/>
|
||||
</Grid>
|
||||
|
||||
<TextBox DockPanel.Dock="Top"
|
||||
Text="{Binding Source={x:Static properties:Settings.Default},
|
||||
<Grid DockPanel.Dock="Top"
|
||||
HorizontalAlignment="Stretch">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="3*" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBox DockPanel.Dock="Top"
|
||||
Grid.Column="0"
|
||||
Text="{Binding Source={x:Static properties:Settings.Default},
|
||||
Path=ArmsExportPath}"
|
||||
materialDesign:HintAssist.Hint="{x:Static p:Resources.Label_ArmsExportPath}"
|
||||
TextChanged="ArmsExportPath_TextChanged" />
|
||||
materialDesign:HintAssist.Hint="{x:Static p:Resources.Label_ArmsExportPath}"
|
||||
TextChanged="ArmsExportPath_TextChanged" />
|
||||
<Button Command="{Binding BrowseForArmsPathPathCommand, UpdateSourceTrigger=PropertyChanged}"
|
||||
Margin="8"
|
||||
Content="{x:Static p:Resources.Label_BrowseArmsExportPath}" Grid.Column="1"/>
|
||||
</Grid>
|
||||
|
||||
|
||||
<TextBox Height="Auto"
|
||||
materialDesign:HintAssist.Hint="{x:Static p:Resources.Label_InteractionLog}"
|
||||
Text="{Binding HttpServerLog}"
|
||||
TextWrapping="Wrap"
|
||||
IsReadOnly="True"
|
||||
AcceptsReturn="True" />
|
||||
</DockPanel>
|
||||
AcceptsReturn="True" /></DockPanel>
|
||||
</ScrollViewer>
|
||||
|
||||
|
||||
</Grid>
|
||||
|
||||
|
||||
@@ -73,5 +73,11 @@ namespace RomeOnlinePartner.Views
|
||||
Properties.Settings.Default.EmsExportPath = ((System.Windows.Controls.TextBox)sender).Text;
|
||||
Properties.Settings.Default.Save();
|
||||
}
|
||||
|
||||
private void PpcExportPath_TextChanged(object sender, TextChangedEventArgs e)
|
||||
{
|
||||
Properties.Settings.Default.PpcExportPath = ((System.Windows.Controls.TextBox)sender).Text;
|
||||
Properties.Settings.Default.Save();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user