Changed a lot LOL
This commit is contained in:
15
PartSource.Backoffice/Components/MenuBar.xaml
Normal file
15
PartSource.Backoffice/Components/MenuBar.xaml
Normal 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">
|
||||

|
||||
</Button>
|
||||
</StackPanel>
|
||||
</UserControl>
|
||||
33
PartSource.Backoffice/Components/MenuBar.xaml.cs
Normal file
33
PartSource.Backoffice/Components/MenuBar.xaml.cs
Normal 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
20
PartSource.Backoffice/Components/ProgressDisplay.xaml
Normal file
20
PartSource.Backoffice/Components/ProgressDisplay.xaml
Normal 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>
|
||||
26
PartSource.Backoffice/Components/ProgressDisplay.xaml.cs
Normal file
26
PartSource.Backoffice/Components/ProgressDisplay.xaml.cs
Normal 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
16
PartSource.Backoffice/Components/TaskSetup.xaml
Normal file
16
PartSource.Backoffice/Components/TaskSetup.xaml
Normal 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>
|
||||
26
PartSource.Backoffice/Components/TaskSetup.xaml.cs
Normal file
26
PartSource.Backoffice/Components/TaskSetup.xaml.cs
Normal 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user