IO-70 OEC Connection Settings

This commit is contained in:
Patrick Fic
2021-11-29 14:52:17 -08:00
parent 74cb593c66
commit 1db1b0c40c
11 changed files with 763 additions and 83 deletions

View File

@@ -156,6 +156,9 @@
<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}" />
@@ -238,6 +241,11 @@
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 Height="Auto"
materialDesign:HintAssist.Hint="{x:Static p:Resources.Label_InteractionLog}"
Text="{Binding HttpServerLog}"

View File

@@ -44,6 +44,12 @@ namespace BodyshopPartner.Views
Properties.Settings.Default.Save();
}
private void EmsExportPath_TextChanged(object sender, TextChangedEventArgs e)
{
Properties.Settings.Default.EmsExportPath = ((System.Windows.Controls.TextBox)sender).Text;
Properties.Settings.Default.Save();
}
private void Button_Click(object sender, RoutedEventArgs e)
{
Utils.PPGMixData.PushDataToPPG();