Ver a proveniência

添加项目文件。

Lishi
HBL há 2 anos
ascendente
cometimento
e09f7399d8
19 ficheiros alterados com 271 adições e 0 eliminações
  1. +31
    -0
      HKCard.sln
  2. +19
    -0
      HKCardIN/App.xaml
  3. +8
    -0
      HKCardIN/App.xaml.cs
  4. +11
    -0
      HKCardIN/Bootstrapper.cs
  5. +24
    -0
      HKCardIN/HKCardIN.csproj
  6. +3
    -0
      HKCardIN/Properties/AssemblyInfo.cs
  7. +6
    -0
      HKCardIN/Properties/DesignTimeResources.xaml
  8. +19
    -0
      HKCardIN/ViewModels/RootViewModel.cs
  9. +16
    -0
      HKCardIN/Views/RootView.xaml
  10. +14
    -0
      HKCardIN/Views/RootView.xaml.cs
  11. +19
    -0
      HKCardOUT/App.xaml
  12. +8
    -0
      HKCardOUT/App.xaml.cs
  13. +11
    -0
      HKCardOUT/Bootstrapper.cs
  14. +24
    -0
      HKCardOUT/HKCardOUT.csproj
  15. +3
    -0
      HKCardOUT/Properties/AssemblyInfo.cs
  16. +6
    -0
      HKCardOUT/Properties/DesignTimeResources.xaml
  17. +19
    -0
      HKCardOUT/ViewModels/RootViewModel.cs
  18. +16
    -0
      HKCardOUT/Views/RootView.xaml
  19. +14
    -0
      HKCardOUT/Views/RootView.xaml.cs

+ 31
- 0
HKCard.sln Ver ficheiro

@@ -0,0 +1,31 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.3.32804.467
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HKCardIN", "HKCardIN\HKCardIN.csproj", "{B1174E5F-41B1-447E-BCDD-3C94E311487D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HKCardOUT", "HKCardOUT\HKCardOUT.csproj", "{A03F8002-B946-4FD6-BEE7-54EFC199FE4E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{B1174E5F-41B1-447E-BCDD-3C94E311487D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B1174E5F-41B1-447E-BCDD-3C94E311487D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B1174E5F-41B1-447E-BCDD-3C94E311487D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B1174E5F-41B1-447E-BCDD-3C94E311487D}.Release|Any CPU.Build.0 = Release|Any CPU
{A03F8002-B946-4FD6-BEE7-54EFC199FE4E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A03F8002-B946-4FD6-BEE7-54EFC199FE4E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A03F8002-B946-4FD6-BEE7-54EFC199FE4E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A03F8002-B946-4FD6-BEE7-54EFC199FE4E}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {A887F695-BF16-40DC-AE7C-EAFCA61F23D3}
EndGlobalSection
EndGlobal

+ 19
- 0
HKCardIN/App.xaml Ver ficheiro

@@ -0,0 +1,19 @@
<Application x:Class="HKCardIN.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:s="https://github.com/canton7/Stylet"
xmlns:hc="https://handyorg.github.io/handycontrol"
xmlns:local="clr-namespace:HKCardIN">
<Application.Resources>
<s:ApplicationLoader>
<s:ApplicationLoader.Bootstrapper>
<local:Bootstrapper/>
</s:ApplicationLoader.Bootstrapper>

<s:ApplicationLoader.MergedDictionaries>
<hc:ThemeResources/>
<hc:Theme/>
</s:ApplicationLoader.MergedDictionaries>
</s:ApplicationLoader>
</Application.Resources>
</Application>

+ 8
- 0
HKCardIN/App.xaml.cs Ver ficheiro

@@ -0,0 +1,8 @@
using System.Windows;

namespace HKCardIN
{
public partial class App : Application
{
}
}

+ 11
- 0
HKCardIN/Bootstrapper.cs Ver ficheiro

@@ -0,0 +1,11 @@
using HKCardIN.ViewModels;
using Stylet;
using System;

namespace HKCardIN
{
public class Bootstrapper : Bootstrapper<RootViewModel>
{

}
}

+ 24
- 0
HKCardIN/HKCardIN.csproj Ver ficheiro

@@ -0,0 +1,24 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net5.0-windows</TargetFramework>
<UseWPF>true</UseWPF>
<AssemblyName>HKCardIN</AssemblyName>
<RootNamespace>HKCardIN</RootNamespace>
<Version>1.0.0.0</Version>
<Configurations>Debug;Release</Configurations>
<Copyright>Copyright © HBL 2022</Copyright>
<FileVersion>1.0.0.0</FileVersion>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DefineConstants>TRACE;Core</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DefineConstants>TRACE;Core</DefineConstants>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="HandyControls" Version="3.4.1" />
<PackageReference Include="Stylet" Version="1.3.6" />
</ItemGroup>
</Project>

+ 3
- 0
HKCardIN/Properties/AssemblyInfo.cs Ver ficheiro

@@ -0,0 +1,3 @@
using System.Windows;

[assembly: ThemeInfo(ResourceDictionaryLocation.None, ResourceDictionaryLocation.SourceAssembly)]

+ 6
- 0
HKCardIN/Properties/DesignTimeResources.xaml Ver ficheiro

@@ -0,0 +1,6 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:hc="https://handyorg.github.io/handycontrol">
<ResourceDictionary.MergedDictionaries>
<hc:IntellisenseResources Source="/HandyControl;Component/DesignTime/DesignTimeResources.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>

+ 19
- 0
HKCardIN/ViewModels/RootViewModel.cs Ver ficheiro

@@ -0,0 +1,19 @@
using Stylet;

namespace HKCardIN.ViewModels
{
public class RootViewModel : PropertyChangedBase
{
private string _title = "HandyControl Application";
public string Title
{
get { return _title; }
set { SetAndNotify(ref _title, value); }
}

public RootViewModel()
{

}
}
}

+ 16
- 0
HKCardIN/Views/RootView.xaml Ver ficheiro

@@ -0,0 +1,16 @@
<hc:Window x:Class="HKCardIN.Views.RootView"
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:viewModels="clr-namespace:HKCardIN.ViewModels"
xmlns:hc="https://handyorg.github.io/handycontrol"
mc:Ignorable="d"
d:DataContext="{d:DesignInstance Type=viewModels:RootViewModel}"
Title="{Binding Title}"
WindowStartupLocation="CenterScreen"
ShowTitle="True"
Height="450"
Width="800">
<TextBlock Text="Hello World" HorizontalAlignment="Center" VerticalAlignment="Center" />
</hc:Window>

+ 14
- 0
HKCardIN/Views/RootView.xaml.cs Ver ficheiro

@@ -0,0 +1,14 @@
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;

namespace HKCardIN.Views
{
public partial class RootView : HandyControl.Controls.Window
{
public RootView()
{
InitializeComponent();
}
}
}

+ 19
- 0
HKCardOUT/App.xaml Ver ficheiro

@@ -0,0 +1,19 @@
<Application x:Class="HKCardOUT.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:s="https://github.com/canton7/Stylet"
xmlns:hc="https://handyorg.github.io/handycontrol"
xmlns:local="clr-namespace:HKCardOUT">
<Application.Resources>
<s:ApplicationLoader>
<s:ApplicationLoader.Bootstrapper>
<local:Bootstrapper/>
</s:ApplicationLoader.Bootstrapper>

<s:ApplicationLoader.MergedDictionaries>
<hc:ThemeResources/>
<hc:Theme/>
</s:ApplicationLoader.MergedDictionaries>
</s:ApplicationLoader>
</Application.Resources>
</Application>

+ 8
- 0
HKCardOUT/App.xaml.cs Ver ficheiro

@@ -0,0 +1,8 @@
using System.Windows;

namespace HKCardOUT
{
public partial class App : Application
{
}
}

+ 11
- 0
HKCardOUT/Bootstrapper.cs Ver ficheiro

@@ -0,0 +1,11 @@
using HKCardOUT.ViewModels;
using Stylet;
using System;

namespace HKCardOUT
{
public class Bootstrapper : Bootstrapper<RootViewModel>
{

}
}

+ 24
- 0
HKCardOUT/HKCardOUT.csproj Ver ficheiro

@@ -0,0 +1,24 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net5.0-windows</TargetFramework>
<UseWPF>true</UseWPF>
<AssemblyName>HKCardOUT</AssemblyName>
<RootNamespace>HKCardOUT</RootNamespace>
<Version>1.0.0.0</Version>
<Configurations>Debug;Release</Configurations>
<Copyright>Copyright © HBL 2022</Copyright>
<FileVersion>1.0.0.0</FileVersion>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DefineConstants>TRACE;Core</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DefineConstants>TRACE;Core</DefineConstants>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="HandyControls" Version="3.4.1" />
<PackageReference Include="Stylet" Version="1.3.6" />
</ItemGroup>
</Project>

+ 3
- 0
HKCardOUT/Properties/AssemblyInfo.cs Ver ficheiro

@@ -0,0 +1,3 @@
using System.Windows;

[assembly: ThemeInfo(ResourceDictionaryLocation.None, ResourceDictionaryLocation.SourceAssembly)]

+ 6
- 0
HKCardOUT/Properties/DesignTimeResources.xaml Ver ficheiro

@@ -0,0 +1,6 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:hc="https://handyorg.github.io/handycontrol">
<ResourceDictionary.MergedDictionaries>
<hc:IntellisenseResources Source="/HandyControl;Component/DesignTime/DesignTimeResources.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>

+ 19
- 0
HKCardOUT/ViewModels/RootViewModel.cs Ver ficheiro

@@ -0,0 +1,19 @@
using Stylet;

namespace HKCardOUT.ViewModels
{
public class RootViewModel : PropertyChangedBase
{
private string _title = "HandyControl Application";
public string Title
{
get { return _title; }
set { SetAndNotify(ref _title, value); }
}

public RootViewModel()
{

}
}
}

+ 16
- 0
HKCardOUT/Views/RootView.xaml Ver ficheiro

@@ -0,0 +1,16 @@
<hc:Window x:Class="HKCardOUT.Views.RootView"
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:viewModels="clr-namespace:HKCardOUT.ViewModels"
xmlns:hc="https://handyorg.github.io/handycontrol"
mc:Ignorable="d"
d:DataContext="{d:DesignInstance Type=viewModels:RootViewModel}"
Title="{Binding Title}"
WindowStartupLocation="CenterScreen"
ShowTitle="True"
Height="450"
Width="800">
<TextBlock Text="Hello World" HorizontalAlignment="Center" VerticalAlignment="Center" />
</hc:Window>

+ 14
- 0
HKCardOUT/Views/RootView.xaml.cs Ver ficheiro

@@ -0,0 +1,14 @@
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;

namespace HKCardOUT.Views
{
public partial class RootView : HandyControl.Controls.Window
{
public RootView()
{
InitializeComponent();
}
}
}

Carregando…
Cancelar
Guardar