-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
USER
authored and
USER
committed
Nov 12, 2023
1 parent
18b39ff
commit 75dc91b
Showing
62 changed files
with
1,448 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.3.32804.467 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DBAR", "DBAR\DBAR.csproj", "{582286F1-6054-4031-89AD-B1E4C5D625E8}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{582286F1-6054-4031-89AD-B1E4C5D625E8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{582286F1-6054-4031-89AD-B1E4C5D625E8}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{582286F1-6054-4031-89AD-B1E4C5D625E8}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{582286F1-6054-4031-89AD-B1E4C5D625E8}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {DC40E90A-889C-4C09-96F4-F4DC756B7E5C} | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<Application x:Class="DBAR.App" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:local="clr-namespace:DBAR" | ||
StartupUri="MainWindow.xaml"> | ||
|
||
<Application.Resources> | ||
|
||
<ResourceDictionary> | ||
|
||
<ResourceDictionary.MergedDictionaries> | ||
|
||
<ResourceDictionary Source="Styles/Page.xaml" /> | ||
<ResourceDictionary Source="Styles/Image.xaml" /> | ||
<ResourceDictionary Source="Styles/Text.xaml" /> | ||
<ResourceDictionary Source="Styles/Button.xaml" /> | ||
<ResourceDictionary Source="Utilities/DataTemplate.xaml" /> | ||
|
||
</ResourceDictionary.MergedDictionaries> | ||
|
||
</ResourceDictionary> | ||
|
||
</Application.Resources> | ||
|
||
</Application> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Configuration; | ||
using System.Data; | ||
using System.Linq; | ||
using System.Threading.Tasks; | ||
using System.Windows; | ||
|
||
namespace DBAR | ||
{ | ||
/// <summary> | ||
/// Interaction logic for App.xaml | ||
/// </summary> | ||
public partial class App : Application | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
using System.Windows; | ||
|
||
[assembly: ThemeInfo( | ||
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located | ||
//(used if a resource is not found in the page, | ||
// or application resource dictionaries) | ||
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located | ||
//(used if a resource is not found in the page, | ||
// app, or any theme specific resource dictionaries) | ||
)] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<OutputType>WinExe</OutputType> | ||
<TargetFramework>net6.0-windows</TargetFramework> | ||
<RootNamespace>DBAR</RootNamespace> | ||
<Nullable>disable</Nullable> | ||
<UseWPF>true</UseWPF> | ||
<PlatformTarget>AnyCPU</PlatformTarget> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<None Remove="Fonts\Rubik-Medium.ttf" /> | ||
<None Remove="Fonts\Rubik-Regular.ttf" /> | ||
<None Remove="HogarLogo.png" /> | ||
<None Remove="HogarLogo.svg" /> | ||
<None Remove="Images\customer_page.png" /> | ||
<None Remove="Images\home_page.png" /> | ||
<None Remove="Images\img_customer.png" /> | ||
<None Remove="Images\img_home.png" /> | ||
<None Remove="Images\img_order.png" /> | ||
<None Remove="Images\img_product.png" /> | ||
<None Remove="Images\img_setting.png" /> | ||
<None Remove="Images\img_shipment.png" /> | ||
<None Remove="Images\img_transaction.png" /> | ||
<None Remove="Images\order_page.png" /> | ||
<None Remove="Images\product_page.png" /> | ||
<None Remove="Images\setting_page.png" /> | ||
<None Remove="Images\shipment_page.png" /> | ||
<None Remove="Images\shutdown_def.png" /> | ||
<None Remove="Images\shutdown_mo.png" /> | ||
<None Remove="Images\transaction_page.png" /> | ||
<None Remove="Images\turbo_bolt.png" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Resource Include="Fonts\Rubik-Medium.ttf"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</Resource> | ||
<Resource Include="Fonts\Rubik-Regular.ttf"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</Resource> | ||
<Content Include="Images\img_customer.png"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</Content> | ||
<Content Include="Images\img_home.png"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</Content> | ||
<Content Include="Images\img_order.png"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</Content> | ||
<Content Include="Images\img_product.png"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</Content> | ||
<Content Include="Images\img_setting.png"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</Content> | ||
<Content Include="Images\img_shipment.png"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</Content> | ||
<Content Include="Images\img_transaction.png"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</Content> | ||
<Content Include="Images\order_page.png"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</Content> | ||
<Content Include="Images\product_page.png"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</Content> | ||
<Content Include="Images\setting_page.png"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</Content> | ||
<Content Include="Images\shutdown_def.png"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</Content> | ||
<Content Include="Images\shutdown_mo.png"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</Content> | ||
<Content Include="Images\turbo_bolt.png"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</Content> | ||
</ItemGroup> | ||
|
||
</Project> |
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,144 @@ | ||
<Window x:Class="DBAR.MainWindow" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
xmlns:vm="clr-namespace:DBAR.ViewModel" | ||
xmlns:Menu="clr-namespace:DBAR.Utilities" | ||
mc:Ignorable="d" | ||
Title="MainWindow" | ||
Height="600" | ||
Width="850" | ||
AllowsTransparency="True" | ||
WindowStartupLocation="CenterScreen" | ||
WindowStyle="None" | ||
Background="Transparent"> | ||
|
||
<Window.DataContext> | ||
<vm:NavigationVM /> | ||
</Window.DataContext> | ||
|
||
<Grid> | ||
|
||
<!--// Window Border //--> | ||
|
||
<Border Background="#212529" | ||
CornerRadius="20" /> | ||
|
||
<Grid> | ||
|
||
<!--// Base Grid //--> | ||
|
||
<Grid.ColumnDefinitions> | ||
<ColumnDefinition Width="228" /> | ||
<ColumnDefinition Width="622" /> | ||
</Grid.ColumnDefinitions> | ||
|
||
<!--// Navigation Panel //--> | ||
|
||
<Grid HorizontalAlignment="Left" | ||
Width="228"> | ||
|
||
<Border Background="#272B2F" | ||
CornerRadius="20,0,0,20" > | ||
</Border> | ||
|
||
<Grid/> | ||
|
||
|
||
|
||
<StackPanel Height="400" | ||
Width="228"> | ||
|
||
<!--// Home //--> | ||
|
||
<Menu:Btn Style="{StaticResource BtnStyle}" | ||
Command="{Binding HomeCommand}" | ||
IsChecked="True"> | ||
|
||
<Grid> | ||
|
||
<Image Source="Images/img_home.png" | ||
Style="{StaticResource Image_Style}" /> | ||
|
||
<TextBlock Text="Home" | ||
Style="{StaticResource Text_Style}" /> | ||
|
||
</Grid> | ||
|
||
</Menu:Btn> | ||
|
||
|
||
|
||
<!--// Products //--> | ||
|
||
<Menu:Btn Style="{StaticResource BtnStyle}" | ||
Command="{Binding ProductsCommand}"> | ||
|
||
<Grid> | ||
|
||
<Image Source="Images/img_product.png" | ||
Style="{StaticResource Image_Style}" /> | ||
|
||
<TextBlock Text="Gateway" | ||
Style="{StaticResource Text_Style}" /> | ||
|
||
</Grid> | ||
|
||
</Menu:Btn> | ||
|
||
<!--// Orders //--> | ||
|
||
<Menu:Btn Style="{StaticResource BtnStyle}" | ||
Command="{Binding OrdersCommand}"> | ||
|
||
<Grid> | ||
|
||
<Image Source="Images/img_setting.png" | ||
Style="{StaticResource Image_Style}" /> | ||
|
||
<TextBlock Text="Updater" | ||
Style="{StaticResource Text_Style}" /> | ||
|
||
</Grid>s | ||
|
||
</Menu:Btn> | ||
|
||
<!--// Settings //--> | ||
|
||
<Menu:Btn Style="{StaticResource BtnStyle}" | ||
Command="{Binding SettingsCommand}"> | ||
|
||
<Grid> | ||
|
||
<Image Source="Images/img_order.png" | ||
Style="{StaticResource Image_Style}" /> | ||
|
||
<TextBlock Text="About" | ||
Style="{StaticResource Text_Style}" /> | ||
|
||
</Grid> | ||
|
||
</Menu:Btn> | ||
|
||
</StackPanel> | ||
<Image HorizontalAlignment="Left" Height="54" Margin="38,26,0,0" VerticalAlignment="Top" Width="160" Source="/HogarLogo.png"/> | ||
|
||
</Grid> | ||
|
||
<Grid Grid.Column="1"> | ||
|
||
<ContentControl x:Name="Pages" | ||
Content="{Binding CurrentView}" /> | ||
|
||
</Grid> | ||
|
||
</Grid> | ||
|
||
<Button x:Name="CloseApp" | ||
Style="{StaticResource ExitApp}" | ||
Click="CloseApp_Click" /> | ||
|
||
</Grid> | ||
|
||
</Window> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
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 DBAR | ||
{ | ||
/// <summary> | ||
/// Interaction logic for MainWindow.xaml | ||
/// </summary> | ||
public partial class MainWindow : Window | ||
{ | ||
public MainWindow() | ||
{ | ||
InitializeComponent(); | ||
} | ||
|
||
private void CloseApp_Click(object sender, RoutedEventArgs e) | ||
{ | ||
Close(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace DBAR.Model | ||
{ | ||
public class PageModel | ||
{ | ||
public int CustomerCount { get; set; } | ||
public string ProductStatus { get; set; } | ||
public DateOnly OrderDate { get; set; } | ||
public decimal TransactionValue { get; set; } | ||
public TimeOnly ShipmentDelivery { get; set; } | ||
public bool LocationStatus { get; set; } | ||
|
||
} | ||
} |
Oops, something went wrong.