Added update handler.

This commit is contained in:
Patrick Fic
2020-12-01 20:10:35 -08:00
parent d75f6d414c
commit 9a59f02dec
6 changed files with 42 additions and 17 deletions

View File

@@ -11,7 +11,7 @@
xmlns:vm="clr-namespace:BodyshopPartner.ViewModels"
mc:Ignorable="d"
Title="{x:Static p:Resources.Title_Main}"
Height="450"
Height="489.819"
Width="800"
TextElement.Foreground="{DynamicResource MaterialDesignBody}"
TextElement.FontWeight="Regular"
@@ -108,7 +108,7 @@
</tb:TaskbarIcon>
<StackPanel DockPanel.Dock="Right">
<ComboBox ItemsSource="{Binding ShopData}"
Margin="8"
SelectedItem="{Binding ActiveShop}"
@@ -135,7 +135,7 @@
<Button Command="{Binding StopFolderMonitorsCommand, UpdateSourceTrigger=PropertyChanged}"
Margin="8"
Content="{x:Static p:Resources.Label_StopAllMonitors}" />
<Button Command="{Binding StopFolderMonitorsCommand, UpdateSourceTrigger=PropertyChanged}"
Margin="8"
Content="{x:Static p:Resources.Label_StopAllMonitors}" />
@@ -149,6 +149,9 @@
Command="{Binding TestCommand}"
Background="Tomato"
Content="_TEST COMMAND" />
<Label DockPanel.Dock="Top"
Margin="8"
Content="{Binding AppVersion}" />
</StackPanel>
<Grid>
@@ -216,10 +219,12 @@
</DataGrid.Columns>
</DataGrid>
<DockPanel Grid.Row="1"
Height="Auto">
<TextBox DockPanel.Dock="Top" Text="{Binding Source={x:Static properties:Settings.Default},
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"/>
materialDesign:HintAssist.Hint="{x:Static p:Resources.Label_QbFilePath}"
TextChanged="TextBox_TextChanged" />
<TextBox Height="Auto"
materialDesign:HintAssist.Hint="{x:Static p:Resources.Label_InteractionLog}"
Text="{Binding HttpServerLog}"