IO-227 Succesful export of PPG information.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
xmlns:tb="http://www.hardcodet.net/taskbar"
|
||||
mc:Ignorable="d"
|
||||
Title="{x:Static p:Resources.Title_Main}"
|
||||
Height="600"
|
||||
Height="650"
|
||||
Width="800"
|
||||
TextElement.Foreground="{DynamicResource MaterialDesignBody}"
|
||||
TextElement.FontWeight="Regular"
|
||||
@@ -162,6 +162,9 @@
|
||||
<Button Command="{Binding BrowseForPaintScalePathCommand, UpdateSourceTrigger=PropertyChanged}"
|
||||
Margin="8"
|
||||
Content="{x:Static p:Resources.Label_BrowsePaintScalePath}" />
|
||||
<Button Command="{Binding ConfigurePaintScaleCommand, UpdateSourceTrigger=PropertyChanged}"
|
||||
Margin="8"
|
||||
Content="{x:Static p:Resources.Label_ConfigurePaintScale}" />
|
||||
<!--<Button Command="{Binding TestCommand}"
|
||||
Margin="8"
|
||||
Content="OE Test" />-->
|
||||
@@ -246,6 +249,11 @@
|
||||
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" />
|
||||
<TextBox Height="Auto"
|
||||
materialDesign:HintAssist.Hint="{x:Static p:Resources.Label_InteractionLog}"
|
||||
Text="{Binding HttpServerLog}"
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace BodyshopPartner.Views
|
||||
public Main()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void Window_Loaded(object sender, RoutedEventArgs e)
|
||||
@@ -43,16 +43,15 @@ namespace BodyshopPartner.Views
|
||||
Properties.Settings.Default.QuickBooksFilePath = ((System.Windows.Controls.TextBox)sender).Text;
|
||||
Properties.Settings.Default.Save();
|
||||
}
|
||||
|
||||
private void PaintScalePath_TextChanged(object sender, TextChangedEventArgs e)
|
||||
{
|
||||
Properties.Settings.Default.PaintScalePath = ((System.Windows.Controls.TextBox)sender).Text;
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user