ProManager initial setup.

This commit is contained in:
Patrick Fic
2024-03-20 14:30:48 -07:00
parent 63f18cdcae
commit 84908aabfe
68 changed files with 164 additions and 176 deletions

View File

@@ -1,16 +1,16 @@
<Window x:Class="RomeOnlinePartner.Views.Login"
<Window x:Class="ProManagerPartner.Views.Login"
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:local="clr-namespace:RomeOnlinePartner.Views"
xmlns:vm="clr-namespace:RomeOnlinePartner.ViewModels"
xmlns:local="clr-namespace:ProManagerPartner.Views"
xmlns:vm="clr-namespace:ProManagerPartner.ViewModels"
mc:Ignorable="d"
Title="{x:Static p:Resources.Title_Login}"
Height="325"
Width="475"
xmlns:p="clr-namespace:RomeOnlinePartner.Properties"
xmlns:util="clr-namespace:RomeOnlinePartner.Utils"
xmlns:p="clr-namespace:ProManagerPartner.Properties"
xmlns:util="clr-namespace:ProManagerPartner.Utils"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
TextElement.Foreground="{DynamicResource MaterialDesignBody}"
TextElement.FontWeight="Regular"
@@ -49,14 +49,9 @@
<StackPanel>
<StackPanel Orientation="Horizontal">
<Image Source="/Assets/ro-favicon.png"
<Image Source="/Assets/logo.png"
Height="48"
Width="48"
VerticalAlignment="Center" />
<TextBlock Text="{x:Static p:Resources.Title_Login_Header}"
Style="{StaticResource MaterialDesignHeadline6TextBlock}"
VerticalAlignment="Center" />
</StackPanel>
<StackPanel Orientation="Vertical"

View File

@@ -13,7 +13,7 @@ using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
namespace RomeOnlinePartner.Views
namespace ProManagerPartner.Views
{
/// <summary>
/// Interaction logic for Login.xaml

View File

@@ -1,13 +1,13 @@
<Window x:Class="RomeOnlinePartner.Views.Main"
<Window x:Class="ProManagerPartner.Views.Main"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:p="clr-namespace:RomeOnlinePartner.Properties"
xmlns:properties="clr-namespace:RomeOnlinePartner.Properties"
xmlns:util="clr-namespace:RomeOnlinePartner.Utils"
xmlns:vm="clr-namespace:RomeOnlinePartner.ViewModels"
xmlns:p="clr-namespace:ProManagerPartner.Properties"
xmlns:properties="clr-namespace:ProManagerPartner.Properties"
xmlns:util="clr-namespace:ProManagerPartner.Utils"
xmlns:vm="clr-namespace:ProManagerPartner.ViewModels"
xmlns:tb="http://www.hardcodet.net/taskbar"
mc:Ignorable="d"
Title="{x:Static p:Resources.Title_Main}"
@@ -56,7 +56,7 @@
Height="8" />
<tb:TaskbarIcon DockPanel.Dock="Top"
IconSource="../assets/ro-favicon.ico"
IconSource="../assets/favicon.ico"
DoubleClickCommand="{Binding OpenMainWindowCommand}"
DoubleClickCommandParameter="{Binding ElementName=MainWindow}"
PopupActivation="LeftClick"
@@ -153,13 +153,13 @@
Margin="8"
Content="{x:Static p:Resources.Label_RemoveAllPaths}" />
<Separator />
<Button Command="{Binding ConfigurePaintScaleCommand, UpdateSourceTrigger=PropertyChanged}"
<!--<Button Command="{Binding ConfigurePaintScaleCommand, UpdateSourceTrigger=PropertyChanged}"
Margin="8"
Content="{x:Static p:Resources.Label_ConfigurePaintScale}" />
Content="{x:Static p:Resources.Label_ConfigurePaintScale}" />-->
<Button Command="{Binding ConfigureArmsExportCommand, UpdateSourceTrigger=PropertyChanged}"
<!--<Button Command="{Binding ConfigureArmsExportCommand, UpdateSourceTrigger=PropertyChanged}"
Margin="8"
Content="{x:Static p:Resources.Label_ConfigureArmsExport}" />
Content="{x:Static p:Resources.Label_ConfigureArmsExport}" />-->
<!--<Button Command="{Binding TestCommand}"
Margin="8"
Content="Test Command" />-->
@@ -253,7 +253,7 @@
ContentStringFormat=""
Grid.Column="1"/>
</Grid>
<Grid DockPanel.Dock="Top"
<!--<Grid DockPanel.Dock="Top"
HorizontalAlignment="Stretch">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="3*" />
@@ -268,8 +268,8 @@
<Button Command="{Binding BrowseForEmsFolderCommand, UpdateSourceTrigger=PropertyChanged}"
Margin="8"
Content="{x:Static p:Resources.Label_BrowseForEmsExport}" Grid.Column="1" />
</Grid>
<Grid DockPanel.Dock="Top"
</Grid>-->
<!--<Grid DockPanel.Dock="Top"
HorizontalAlignment="Stretch">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="3*" />
@@ -285,8 +285,8 @@
Margin="8"
Content="{x:Static p:Resources.Label_BrowseForPpcExport}"
Grid.Column="1" />
</Grid>
<Grid DockPanel.Dock="Top"
</Grid>-->
<!--<Grid DockPanel.Dock="Top"
HorizontalAlignment="Stretch">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="3*" />
@@ -301,12 +301,12 @@
<Button Command="{Binding BrowseForPaintScalePathCommand, UpdateSourceTrigger=PropertyChanged}"
Margin="8"
Content="{x:Static p:Resources.Label_BrowsePaintScalePath}" Grid.Column="1"/>
</Grid>
</Grid>-->
<Grid DockPanel.Dock="Top"
<!--<Grid DockPanel.Dock="Top"
HorizontalAlignment="Stretch">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="2*" />
@@ -326,8 +326,8 @@
<Button Command="{Binding BrowseForPaintScaleImportPathCommand, UpdateSourceTrigger=PropertyChanged}"
Margin="8"
Content="{x:Static p:Resources.Label_BrowsePaintScaleImportPath}" Grid.Column="2"/>
</Grid>
<Grid DockPanel.Dock="Top"
</Grid>-->
<!--<Grid DockPanel.Dock="Top"
HorizontalAlignment="Stretch">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="3*" />
@@ -342,7 +342,7 @@
<Button Command="{Binding BrowseForArmsPathPathCommand, UpdateSourceTrigger=PropertyChanged}"
Margin="8"
Content="{x:Static p:Resources.Label_BrowseArmsExportPath}" Grid.Column="1"/>
</Grid>
</Grid>-->
<TextBox Height="Auto"

View File

@@ -12,7 +12,7 @@ using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
namespace RomeOnlinePartner.Views
namespace ProManagerPartner.Views
{
/// <summary>
/// Interaction logic for Main.xaml