ARMS Uploader

This commit is contained in:
Patrick Fic
2022-02-07 13:31:51 -08:00
parent 1221f35162
commit c936d354b2
16 changed files with 440 additions and 175 deletions

View File

@@ -11,7 +11,7 @@
xmlns:tb="http://www.hardcodet.net/taskbar"
mc:Ignorable="d"
Title="{x:Static p:Resources.Title_Main}"
Height="650"
Height="800"
Width="800"
TextElement.Foreground="{DynamicResource MaterialDesignBody}"
TextElement.FontWeight="Regular"
@@ -162,9 +162,17 @@
<Button Command="{Binding BrowseForPaintScalePathCommand, UpdateSourceTrigger=PropertyChanged}"
Margin="8"
Content="{x:Static p:Resources.Label_BrowsePaintScalePath}" />
<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}" />
<Button Command="{Binding ConfigureArmsExportCommand, UpdateSourceTrigger=PropertyChanged}"
Margin="8"
Content="{x:Static p:Resources.Label_ConfigureArmsExport}" />
<!--<Button Command="{Binding TestCommand}"
Margin="8"
Content="OE Test" />-->
@@ -254,6 +262,11 @@
Path=PaintScalePath}"
materialDesign:HintAssist.Hint="{x:Static p:Resources.Label_PaintScalePath}"
TextChanged="PaintScalePath_TextChanged" />
<TextBox DockPanel.Dock="Top"
Text="{Binding Source={x:Static properties:Settings.Default},
Path=ArmsExportPath}"
materialDesign:HintAssist.Hint="{x:Static p:Resources.Label_ArmsExportPath}"
TextChanged="ArmsExportPath_TextChanged" />
<TextBox Height="Auto"
materialDesign:HintAssist.Hint="{x:Static p:Resources.Label_InteractionLog}"
Text="{Binding HttpServerLog}"

View File

@@ -48,6 +48,13 @@ namespace BodyshopPartner.Views
Properties.Settings.Default.PaintScalePath = ((System.Windows.Controls.TextBox)sender).Text;
Properties.Settings.Default.Save();
}
private void ArmsExportPath_TextChanged(object sender, TextChangedEventArgs e)
{
Properties.Settings.Default.ArmsExportPath = ((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;