Changed a lot LOL

This commit is contained in:
2020-11-04 17:08:13 -05:00
parent d06925204d
commit 3f6faacab8
21 changed files with 489 additions and 64 deletions

View File

@@ -0,0 +1,15 @@
<UserControl x:Class="PartSource.Backoffice.Components.MenuBar"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:PartSource.Backoffice.Components"
mc:Ignorable="d" >
<StackPanel>
<Button FontFamily="Segoe MDL2 Assets" FontSize="32" Background="#0000" BorderThickness="0" Foreground="#FFF">
&#xE713;
</Button>
</StackPanel>
</UserControl>

View File

@@ -0,0 +1,33 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace PartSource.Backoffice.Components
{
/// <summary>
/// Interaction logic for MenuBar.xaml
/// </summary>
public partial class MenuBar : UserControl
{
public MenuBar()
{
InitializeComponent();
}
private void MenuItem_Click(object sender, RoutedEventArgs e)
{
// TODO: Check if any tasks are running
Application.Current.MainWindow.Close();
}
}
}

View File

@@ -0,0 +1,20 @@
<UserControl x:Class="PartSource.Backoffice.Components.ProgressDisplay"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:PartSource.Backoffice.Components"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800"
Padding="10">
<StackPanel>
<WrapPanel>
<TextBlock>Current Operation:</TextBlock>
<Label x:Name="OperationNameDisplay">None</Label>
</WrapPanel>
<ProgressBar Height="32" Background="#444" BorderThickness="0" />
</StackPanel>
</UserControl>

View File

@@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace PartSource.Backoffice.Components
{
/// <summary>
/// Interaction logic for StatusBars.xaml
/// </summary>
public partial class ProgressDisplay : UserControl
{
public ProgressDisplay()
{
InitializeComponent();
}
}
}

View File

@@ -0,0 +1,16 @@
<UserControl x:Class="PartSource.Backoffice.Components.TaskSetup"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:PartSource.Backoffice.Components"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800"
Padding="10">
<StackPanel>
<TextBlock>Metafield Groups:</TextBlock>
<CheckBox Content="Fitment" />
<CheckBox Content="Product Feed" />
</StackPanel>
</UserControl>

View File

@@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace PartSource.Backoffice.Components
{
/// <summary>
/// Interaction logic for TaskSetup.xaml
/// </summary>
public partial class TaskSetup : UserControl
{
public TaskSetup()
{
InitializeComponent();
}
}
}