更新
This commit is contained in:
15
WebUITest/App.xaml
Normal file
15
WebUITest/App.xaml
Normal file
@@ -0,0 +1,15 @@
|
||||
<Application x:Class="WebUITest.App"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
StartupUri="ShrlAlgoWindow.xaml">
|
||||
<Application.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="/ShrlAlgo.Toolkit.Wpf;component/Themes/Colors.xaml"/>
|
||||
<ResourceDictionary Source="/ShrlAlgo.Toolkit.Wpf;component/Themes/Controls.xaml"/>
|
||||
<ResourceDictionary Source="/ShrlAlgo.Toolkit.Wpf;component/Themes/Generic.xaml"/>
|
||||
<ResourceDictionary Source="/ShrlAlgo.Toolkit.Wpf;component/Controls/MaterialWindow.xaml"/>
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
</Application.Resources>
|
||||
</Application>
|
||||
17
WebUITest/App.xaml.cs
Normal file
17
WebUITest/App.xaml.cs
Normal file
@@ -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 WebUITest
|
||||
{
|
||||
/// <summary>
|
||||
/// App.xaml 的交互逻辑
|
||||
/// </summary>
|
||||
public partial class App : Application
|
||||
{
|
||||
}
|
||||
}
|
||||
17
WebUITest/ShrlAlgoWindow.xaml
Normal file
17
WebUITest/ShrlAlgoWindow.xaml
Normal file
@@ -0,0 +1,17 @@
|
||||
<controls:MaterialWindow x:Class="WebUITest.ShrlAlgoWindow"
|
||||
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:WebUITest"
|
||||
xmlns:controls="clr-namespace:ShrlAlgo.Toolkit.Wpf.Controls;assembly=ShrlAlgo.Toolkit.Wpf"
|
||||
mc:Ignorable="d"
|
||||
Style="{StaticResource MaterialWindowStyle}"
|
||||
Title="ShrlAlgoWindow" Height="450" Width="800">
|
||||
<!--<controls:MaterialWindow.Resources>
|
||||
|
||||
</controls:MaterialWindow.Resources>-->
|
||||
<Grid>
|
||||
|
||||
</Grid>
|
||||
</controls:MaterialWindow>
|
||||
27
WebUITest/ShrlAlgoWindow.xaml.cs
Normal file
27
WebUITest/ShrlAlgoWindow.xaml.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
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.Shapes;
|
||||
|
||||
namespace WebUITest
|
||||
{
|
||||
/// <summary>
|
||||
/// ShrlAlgoWindow.xaml 的交互逻辑
|
||||
/// </summary>
|
||||
public partial class ShrlAlgoWindow
|
||||
{
|
||||
public ShrlAlgoWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,8 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net472</TargetFramework>
|
||||
<OutputType>Library</OutputType>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<!--<OutputType>Library</OutputType>-->
|
||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||
<UseWPF>True</UseWPF>
|
||||
</PropertyGroup>
|
||||
@@ -16,6 +17,9 @@
|
||||
<PackageReference Include="Nice3point.Revit.Api.RevitAPIUI" Version="2020.*" PrivateAssets="All" />
|
||||
<PackageReference Include="Newtonsoft.Json.Bson" Version="1.0.3" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ShrlAlgo.Toolkit.Wpf\ShrlAlgo.Toolkit.Wpf.csproj" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Update="WebUIWindow.xaml.cs">
|
||||
<SubType>Code</SubType>
|
||||
|
||||
Reference in New Issue
Block a user