StyletLoginDesign
This commit is contained in:
parent
cd14c11622
commit
f81b80c046
|
@ -9,6 +9,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HelloStyletClient3.1", "Hel
|
|||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HelloWpf", "HelloWpf\HelloWpf.csproj", "{80339C6A-E565-4881-99AC-F6C2A9474FE1}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StyletLoginDesign", "StyletLoginDesign\StyletLoginDesign.csproj", "{F3F4B4D1-5657-4D2D-AEC7-E06D5688A9B6}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
|
@ -30,5 +32,9 @@ Global
|
|||
{80339C6A-E565-4881-99AC-F6C2A9474FE1}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{80339C6A-E565-4881-99AC-F6C2A9474FE1}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{80339C6A-E565-4881-99AC-F6C2A9474FE1}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{F3F4B4D1-5657-4D2D-AEC7-E06D5688A9B6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{F3F4B4D1-5657-4D2D-AEC7-E06D5688A9B6}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{F3F4B4D1-5657-4D2D-AEC7-E06D5688A9B6}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F3F4B4D1-5657-4D2D-AEC7-E06D5688A9B6}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
<Application x:Class="StyletLoginDesign.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:local="clr-namespace:StyletLoginDesign">
|
||||
<Application.Resources>
|
||||
<s:ApplicationLoader>
|
||||
<s:ApplicationLoader.Bootstrapper>
|
||||
<local:Bootstrapper/>
|
||||
</s:ApplicationLoader.Bootstrapper>
|
||||
</s:ApplicationLoader>
|
||||
</Application.Resources>
|
||||
</Application>
|
|
@ -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 StyletLoginDesign
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for App.xaml
|
||||
/// </summary>
|
||||
public partial class App : Application
|
||||
{
|
||||
}
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
using StyletLoginDesign.Pages;
|
||||
using Stylet;
|
||||
using StyletIoC;
|
||||
|
||||
namespace StyletLoginDesign
|
||||
{
|
||||
public class Bootstrapper : Bootstrapper<ShellViewModel>
|
||||
{
|
||||
protected override void ConfigureIoC(IStyletIoCBuilder builder)
|
||||
{
|
||||
// Configure the IoC container in here
|
||||
}
|
||||
|
||||
protected override void Configure()
|
||||
{
|
||||
// Perform any other configuration before the application starts
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
<Window x:Class="StyletLoginDesign.Pages.ShellView"
|
||||
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:s="https://github.com/canton7/Stylet"
|
||||
xmlns:local="clr-namespace:StyletLoginDesign.Pages"
|
||||
mc:Ignorable="d"
|
||||
d:DataContext="{d:DesignInstance local:ShellViewModel}"
|
||||
Title="Stylet Project" Height="450" Width="800">
|
||||
<Grid>
|
||||
<TextBlock FontSize="30" HorizontalAlignment="Center" VerticalAlignment="Center">
|
||||
Hello Stylet!
|
||||
</TextBlock>
|
||||
</Grid>
|
||||
</Window>
|
|
@ -0,0 +1,15 @@
|
|||
using System.Windows;
|
||||
|
||||
namespace StyletLoginDesign.Pages
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for ShellView.xaml
|
||||
/// </summary>
|
||||
public partial class ShellView : Window
|
||||
{
|
||||
public ShellView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
using Stylet;
|
||||
|
||||
namespace StyletLoginDesign.Pages
|
||||
{
|
||||
public class ShellViewModel : Screen
|
||||
{
|
||||
}
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>net5.0-windows</TargetFramework>
|
||||
<UseWPF>true</UseWPF>
|
||||
|
||||
<RootNamespace>StyletLoginDesign</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="PropertyChanged.Fody" Version="3.4.0" />
|
||||
<PackageReference Include="Stylet" Version="1.3.6.0" />
|
||||
</ItemGroup>
|
||||
</Project>
|
Loading…
Reference in New Issue