Basic implementation of updating which shop is active.

This commit is contained in:
Patrick Fic
2020-01-20 12:28:08 -08:00
parent 73a2cb4fcb
commit bc5cb13113
9 changed files with 299 additions and 12 deletions

View File

@@ -23,6 +23,7 @@ namespace BodyshopUploader.Views
public Login()
{
InitializeComponent();
Utils.ApplicationExceptionHandler.InitExceptionHandlers();
}
private void PasswordBox_PasswordChanged(object sender, RoutedEventArgs e)
{

View File

@@ -67,6 +67,16 @@
</Button>
<StackPanel DockPanel.Dock="Right">
<ComboBox ItemsSource="{Binding ShopData}"
SelectedItem="{Binding ActiveShop}"
DisplayMemberPath="ShopName">
<ComboBox.ItemsPanel>
<ItemsPanelTemplate>
<VirtualizingStackPanel />
</ItemsPanelTemplate>
</ComboBox.ItemsPanel>
</ComboBox>
<Button Command="{Binding StartFolderMonitorsCommand}"
Content="{x:Static p:Resources.Label_StartAllMonitors}" />
<Button Command="{Binding StopFolderMonitorsCommand}"
@@ -74,6 +84,9 @@
</StackPanel>
<ProgressBar DockPanel.Dock="Bottom"
Value="{Binding Progress}" />
<DataGrid ItemsSource="{Binding MonitoringPaths}"
AutoGenerateColumns="False"
CanUserAddRows="False">