daily update on 20221116 by nitload youmu
This commit is contained in:
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,24 @@
|
|||||||
|
using StgSharp;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace StgSharp.Control
|
||||||
|
{
|
||||||
|
public static class Change
|
||||||
|
{
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 将对战区在指定时间内变化至指定大小和位置
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="size">对战区的长宽</param>
|
||||||
|
/// <param name="center">对战区矩形中心的位置</param>
|
||||||
|
/// <param name="count ">完成变化需要的时间</param>
|
||||||
|
public static void BattleField(float[] size, float[] center, uint count )
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
using StgSharp.Entities;
|
using StgSharp.Entities;
|
||||||
using StgSharp.Geometries;
|
using StgSharp.Geometries;
|
||||||
|
using StgSharp.Logic;
|
||||||
using StgSharp.UI;
|
using StgSharp.UI;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@@ -11,41 +12,82 @@ namespace StgSharp.Control
|
|||||||
{
|
{
|
||||||
internal class Get
|
internal class Get
|
||||||
{
|
{
|
||||||
static bool isNotSelected;
|
|
||||||
static Point pointCache;
|
static Point pointCache;
|
||||||
|
static Bullet bulletCache;
|
||||||
static Circle circleCache;
|
static Geometry geometryCache;
|
||||||
|
static Entity enemyCache;
|
||||||
|
|
||||||
|
|
||||||
public static Point Point(SelectOperation<Point> selectPointOperation )
|
public static Point Point(SelectOperation<Point> operation )
|
||||||
{
|
{
|
||||||
isNotSelected = true;
|
|
||||||
pointCache = Pool.pointContainer.Heading;
|
pointCache = Pool.pointContainer.Heading;
|
||||||
for (; pointCache.Next != null; )
|
for (; pointCache!= null; )
|
||||||
{
|
{
|
||||||
if (selectPointOperation.Invoke(pointCache))
|
if (operation.Invoke(pointCache))
|
||||||
{
|
{
|
||||||
isNotSelected = false;
|
|
||||||
return pointCache;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
pointCache++;
|
pointCache++;
|
||||||
}
|
}
|
||||||
if (isNotSelected)
|
return null;
|
||||||
{
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Bullet Bullet(SelectOperation<Bullet> operation)
|
public static Bullet Bullet(SelectOperation<Bullet> operation)
|
||||||
{
|
{
|
||||||
|
bulletCache = Pool.bulletContainer.Heading;
|
||||||
|
for (; bulletCache != null; )
|
||||||
|
{
|
||||||
|
if (operation.Invoke(bulletCache))
|
||||||
|
{
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
bulletCache++;
|
||||||
|
}
|
||||||
|
return bulletCache;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Circle Circle(SelectOperation<Circle> operation)
|
public static Circle Circle(SelectOperation<Circle> operation)
|
||||||
{
|
{
|
||||||
circleCache = Pool.geometryContainer.Heading;
|
geometryCache = Pool.geometryContainer.Heading;
|
||||||
|
for (; geometryCache != null ; )
|
||||||
|
{
|
||||||
|
if (geometryCache is Circle && operation.Invoke(geometryCache as Circle))
|
||||||
|
{
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
geometryCache++;
|
||||||
|
}
|
||||||
|
return geometryCache as Circle;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public static Line Line(SelectOperation<Line> operation)
|
||||||
|
{
|
||||||
|
geometryCache= Pool.geometryContainer.Heading;
|
||||||
|
for (; geometryCache != null ; )
|
||||||
|
{
|
||||||
|
if (geometryCache is Line && operation.Invoke(geometryCache as Line))
|
||||||
|
{
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
geometryCache++;
|
||||||
|
}
|
||||||
|
return geometryCache as Line;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static Enemy Enemy(SelectOperation<LinkedObject> operation)
|
||||||
|
{
|
||||||
|
enemyCache= Pool.entityContainer.Heading ;
|
||||||
|
for (; enemyCache != null ; )
|
||||||
|
{
|
||||||
|
if (enemyCache is Enemy && operation.Invoke(enemyCache as Enemy ))
|
||||||
|
{
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
enemyCache++;
|
||||||
|
}
|
||||||
|
return enemyCache as Enemy;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ using StgSharp.Logic;
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using System.Reflection;
|
||||||
using System.Runtime.ExceptionServices;
|
using System.Runtime.ExceptionServices;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
@@ -12,6 +13,7 @@ namespace StgSharp.Control
|
|||||||
{
|
{
|
||||||
public static class Pool
|
public static class Pool
|
||||||
{
|
{
|
||||||
|
public static Player player;
|
||||||
public static Counter<uint> tickCounter
|
public static Counter<uint> tickCounter
|
||||||
= new Counter<uint>();
|
= new Counter<uint>();
|
||||||
|
|
||||||
@@ -26,6 +28,11 @@ namespace StgSharp.Control
|
|||||||
internal static Logic.LinkedList<LinkedObject> rightCollector
|
internal static Logic.LinkedList<LinkedObject> rightCollector
|
||||||
= new Logic.LinkedList<LinkedObject>(collectCounter);
|
= new Logic.LinkedList<LinkedObject>(collectCounter);
|
||||||
|
|
||||||
|
public static float leftBoarder;
|
||||||
|
public static float rightBoarder;
|
||||||
|
public static float topBoarder;
|
||||||
|
public static float bottomBoarder;
|
||||||
|
|
||||||
internal static Bullet bulletCache;
|
internal static Bullet bulletCache;
|
||||||
internal static Counter<uint> bulletCounter
|
internal static Counter<uint> bulletCounter
|
||||||
=new Counter<uint>();
|
=new Counter<uint>();
|
||||||
@@ -59,8 +66,18 @@ namespace StgSharp.Control
|
|||||||
|
|
||||||
public static void OnRender()
|
public static void OnRender()
|
||||||
{
|
{
|
||||||
|
bulletCache = bulletContainer.Heading;
|
||||||
|
for (; bulletCache!=null;)
|
||||||
|
{
|
||||||
|
if (true)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
using StgSharp.Geometry;
|
using StgSharp.Geometries;
|
||||||
using StgSharp.Logic;
|
using StgSharp.Logic;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
using StgSharp.Geometry;
|
using StgSharp.Geometries;
|
||||||
using StgSharp.Logic;
|
using StgSharp.Logic;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@@ -8,7 +8,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace StgSharp.Entities
|
namespace StgSharp.Entities
|
||||||
{
|
{
|
||||||
internal class Enemy:LinkedObject
|
internal class Enemy:Entity
|
||||||
{
|
{
|
||||||
private float _x;
|
private float _x;
|
||||||
|
|
||||||
@@ -26,9 +26,9 @@ namespace StgSharp.Entities
|
|||||||
set { _y = value; }
|
set { _y = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
private IPoint _location;
|
private Point _location;
|
||||||
|
|
||||||
public IPoint Location
|
public Point Location
|
||||||
{
|
{
|
||||||
get { return _location; }
|
get { return _location; }
|
||||||
set { _location = value; }
|
set { _location = value; }
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using System.Security.Cryptography.X509Certificates;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
@@ -9,6 +10,13 @@ namespace StgSharp.Entities
|
|||||||
{
|
{
|
||||||
internal class Entity:LinkedObject
|
internal class Entity:LinkedObject
|
||||||
{
|
{
|
||||||
|
public static Entity operator ++(Entity e)
|
||||||
|
{
|
||||||
|
return e.Next as Entity;
|
||||||
|
}
|
||||||
|
public static Entity operator --(Entity e)
|
||||||
|
{
|
||||||
|
return e.Next as Entity;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
using StgSharp.Geometry;
|
using StgSharp.Geometries;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
@@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace StgSharp.Entities
|
namespace StgSharp.Entities
|
||||||
{
|
{
|
||||||
internal unsafe class Launcher
|
public unsafe class Launcher
|
||||||
{
|
{
|
||||||
private Point _location;
|
private Point _location;
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace StgSharp.Entities
|
namespace StgSharp.Entities
|
||||||
{
|
{
|
||||||
internal class Player
|
public class Player
|
||||||
{
|
{
|
||||||
private uint gameTick;
|
private uint gameTick;
|
||||||
private uint beginTick;
|
private uint beginTick;
|
||||||
|
|||||||
@@ -45,6 +45,7 @@
|
|||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<Compile Include="Control\Change.cs" />
|
||||||
<Compile Include="Control\SelectOperation.cs" />
|
<Compile Include="Control\SelectOperation.cs" />
|
||||||
<Compile Include="Control\Get.cs" />
|
<Compile Include="Control\Get.cs" />
|
||||||
<Compile Include="Control\Set.cs" />
|
<Compile Include="Control\Set.cs" />
|
||||||
@@ -71,6 +72,7 @@
|
|||||||
<Compile Include="Logic\Counter.cs" />
|
<Compile Include="Logic\Counter.cs" />
|
||||||
<Compile Include="Logic\LinkedList.cs" />
|
<Compile Include="Logic\LinkedList.cs" />
|
||||||
<Compile Include="Logic\LinkedObject.cs" />
|
<Compile Include="Logic\LinkedObject.cs" />
|
||||||
|
<Compile Include="UI\BattleField.cs" />
|
||||||
<Compile Include="UI\Option.cs" />
|
<Compile Include="UI\Option.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -0,0 +1,39 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace StgSharp.UI
|
||||||
|
{
|
||||||
|
public class BattleField
|
||||||
|
{
|
||||||
|
internal float _leftBoarder;
|
||||||
|
public float LeftBoarder
|
||||||
|
{
|
||||||
|
get { return _leftBoarder; }
|
||||||
|
set { _leftBoarder = value; }
|
||||||
|
}
|
||||||
|
|
||||||
|
internal float _rightBoarder;
|
||||||
|
public float RightBoarder
|
||||||
|
{
|
||||||
|
set { _rightBoarder = value; }
|
||||||
|
get { return _rightBoarder; }
|
||||||
|
}
|
||||||
|
|
||||||
|
internal float _topBoarder;
|
||||||
|
public float TopBoarder
|
||||||
|
{
|
||||||
|
set { _topBoarder = value; }
|
||||||
|
get { return _topBoarder; }
|
||||||
|
}
|
||||||
|
|
||||||
|
internal float _bottomBoarder;
|
||||||
|
public float BottomBoarder
|
||||||
|
{
|
||||||
|
set { _bottomBoarder = value; }
|
||||||
|
get { return _bottomBoarder; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,25 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 17
|
||||||
|
VisualStudioVersion = 17.3.32825.248
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WpfApp1", "WpfApp1\WpfApp1.csproj", "{45C21A71-DDDF-4004-8E54-4AD69D3F6C00}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{45C21A71-DDDF-4004-8E54-4AD69D3F6C00}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{45C21A71-DDDF-4004-8E54-4AD69D3F6C00}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{45C21A71-DDDF-4004-8E54-4AD69D3F6C00}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{45C21A71-DDDF-4004-8E54-4AD69D3F6C00}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {442581B8-67D2-4F2E-B9F1-5F31DC125E34}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
<Application x:Class="WpfApp1.App"
|
||||||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:local="clr-namespace:WpfApp1"
|
||||||
|
StartupUri="MainWindow.xaml">
|
||||||
|
<Application.Resources>
|
||||||
|
|
||||||
|
</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 WpfApp1
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Interaction logic for App.xaml
|
||||||
|
/// </summary>
|
||||||
|
public partial class App : Application
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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)
|
||||||
|
)]
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<Window x:Class="WpfApp1.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:local="clr-namespace:WpfApp1"
|
||||||
|
mc:Ignorable="d"
|
||||||
|
Title="MainWindow" Height="450" Width="800">
|
||||||
|
<Grid>
|
||||||
|
<Button Content="Click" HorizontalAlignment="Left" Height="50" Margin="153,136,0,0" VerticalAlignment="Top" Width="71"/>
|
||||||
|
|
||||||
|
</Grid>
|
||||||
|
</Window>
|
||||||
@@ -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 WpfApp1
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Interaction logic for MainWindow.xaml
|
||||||
|
/// </summary>
|
||||||
|
public partial class MainWindow : Window
|
||||||
|
{
|
||||||
|
public MainWindow()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Button_Click(object sender, RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>WinExe</OutputType>
|
||||||
|
<TargetFramework>net6.0-windows</TargetFramework>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
<UseWPF>true</UseWPF>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup />
|
||||||
|
<ItemGroup>
|
||||||
|
<ApplicationDefinition Update="App.xaml">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</ApplicationDefinition>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Page Update="MainWindow.xaml">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</Page>
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
+4
@@ -0,0 +1,4 @@
|
|||||||
|
// <autogenerated />
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = "")]
|
||||||
@@ -0,0 +1,71 @@
|
|||||||
|
#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "DCC59813AB95D23CF72F07367E2D9621042BF6D9"
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// 此代码由工具生成。
|
||||||
|
// 运行时版本:4.0.30319.42000
|
||||||
|
//
|
||||||
|
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||||
|
// 重新生成代码,这些更改将会丢失。
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Diagnostics;
|
||||||
|
using System.Windows;
|
||||||
|
using System.Windows.Automation;
|
||||||
|
using System.Windows.Controls;
|
||||||
|
using System.Windows.Controls.Primitives;
|
||||||
|
using System.Windows.Controls.Ribbon;
|
||||||
|
using System.Windows.Data;
|
||||||
|
using System.Windows.Documents;
|
||||||
|
using System.Windows.Ink;
|
||||||
|
using System.Windows.Input;
|
||||||
|
using System.Windows.Markup;
|
||||||
|
using System.Windows.Media;
|
||||||
|
using System.Windows.Media.Animation;
|
||||||
|
using System.Windows.Media.Effects;
|
||||||
|
using System.Windows.Media.Imaging;
|
||||||
|
using System.Windows.Media.Media3D;
|
||||||
|
using System.Windows.Media.TextFormatting;
|
||||||
|
using System.Windows.Navigation;
|
||||||
|
using System.Windows.Shapes;
|
||||||
|
using System.Windows.Shell;
|
||||||
|
using WpfApp1;
|
||||||
|
|
||||||
|
|
||||||
|
namespace WpfApp1 {
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// App
|
||||||
|
/// </summary>
|
||||||
|
public partial class App : System.Windows.Application {
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// InitializeComponent
|
||||||
|
/// </summary>
|
||||||
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.8.0")]
|
||||||
|
public void InitializeComponent() {
|
||||||
|
|
||||||
|
#line 5 "..\..\..\App.xaml"
|
||||||
|
this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Application Entry Point.
|
||||||
|
/// </summary>
|
||||||
|
[System.STAThreadAttribute()]
|
||||||
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.8.0")]
|
||||||
|
public static void Main() {
|
||||||
|
WpfApp1.App app = new WpfApp1.App();
|
||||||
|
app.InitializeComponent();
|
||||||
|
app.Run();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,76 @@
|
|||||||
|
#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "7FA5E26BFC15BF5CE7CC8E140A3B90C7EE25F21F"
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// 此代码由工具生成。
|
||||||
|
// 运行时版本:4.0.30319.42000
|
||||||
|
//
|
||||||
|
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||||
|
// 重新生成代码,这些更改将会丢失。
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Diagnostics;
|
||||||
|
using System.Windows;
|
||||||
|
using System.Windows.Automation;
|
||||||
|
using System.Windows.Controls;
|
||||||
|
using System.Windows.Controls.Primitives;
|
||||||
|
using System.Windows.Controls.Ribbon;
|
||||||
|
using System.Windows.Data;
|
||||||
|
using System.Windows.Documents;
|
||||||
|
using System.Windows.Ink;
|
||||||
|
using System.Windows.Input;
|
||||||
|
using System.Windows.Markup;
|
||||||
|
using System.Windows.Media;
|
||||||
|
using System.Windows.Media.Animation;
|
||||||
|
using System.Windows.Media.Effects;
|
||||||
|
using System.Windows.Media.Imaging;
|
||||||
|
using System.Windows.Media.Media3D;
|
||||||
|
using System.Windows.Media.TextFormatting;
|
||||||
|
using System.Windows.Navigation;
|
||||||
|
using System.Windows.Shapes;
|
||||||
|
using System.Windows.Shell;
|
||||||
|
using WpfApp1;
|
||||||
|
|
||||||
|
|
||||||
|
namespace WpfApp1 {
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// MainWindow
|
||||||
|
/// </summary>
|
||||||
|
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||||
|
|
||||||
|
private bool _contentLoaded;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// InitializeComponent
|
||||||
|
/// </summary>
|
||||||
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.8.0")]
|
||||||
|
public void InitializeComponent() {
|
||||||
|
if (_contentLoaded) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
_contentLoaded = true;
|
||||||
|
System.Uri resourceLocater = new System.Uri("/WpfApp1;V1.0.0.0;component/mainwindow.xaml", System.UriKind.Relative);
|
||||||
|
|
||||||
|
#line 1 "..\..\..\MainWindow.xaml"
|
||||||
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
}
|
||||||
|
|
||||||
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "6.0.8.0")]
|
||||||
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||||
|
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||||
|
this._contentLoaded = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// 此代码由工具生成。
|
||||||
|
// 运行时版本:4.0.30319.42000
|
||||||
|
//
|
||||||
|
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||||
|
// 重新生成代码,这些更改将会丢失。
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
|
||||||
|
[assembly: System.Reflection.AssemblyCompanyAttribute("WpfApp1")]
|
||||||
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||||
|
[assembly: System.Reflection.AssemblyProductAttribute("WpfApp1")]
|
||||||
|
[assembly: System.Reflection.AssemblyTitleAttribute("WpfApp1")]
|
||||||
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
|
||||||
|
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]
|
||||||
|
|
||||||
|
// 由 MSBuild WriteCodeFragment 类生成。
|
||||||
|
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
d604ad24407ce953817be2036da374ec3791f6f9
|
||||||
+10
@@ -0,0 +1,10 @@
|
|||||||
|
is_global = true
|
||||||
|
build_property.TargetFramework = net6.0-windows
|
||||||
|
build_property.TargetPlatformMinVersion = 7.0
|
||||||
|
build_property.UsingMicrosoftNETSdkWeb =
|
||||||
|
build_property.ProjectTypeGuids =
|
||||||
|
build_property.InvariantGlobalization =
|
||||||
|
build_property.PlatformNeutralAssembly =
|
||||||
|
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||||
|
build_property.RootNamespace = WpfApp1
|
||||||
|
build_property.ProjectDir = D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\WpfApp1\WpfApp1\
|
||||||
Binary file not shown.
BIN
Binary file not shown.
+11
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"runtimeTarget": {
|
||||||
|
"name": ".NETCoreApp,Version=v6.0",
|
||||||
|
"signature": ""
|
||||||
|
},
|
||||||
|
"compilationOptions": {},
|
||||||
|
"targets": {
|
||||||
|
".NETCoreApp,Version=v6.0": {}
|
||||||
|
},
|
||||||
|
"libraries": {}
|
||||||
|
}
|
||||||
+23
@@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
"runtimeOptions": {
|
||||||
|
"tfm": "net6.0",
|
||||||
|
"frameworks": [
|
||||||
|
{
|
||||||
|
"name": "Microsoft.NETCore.App",
|
||||||
|
"version": "6.0.0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Microsoft.WindowsDesktop.App",
|
||||||
|
"version": "6.0.0"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"additionalProbingPaths": [
|
||||||
|
"C:\\Users\\Nitlo\\.dotnet\\store\\|arch|\\|tfm|",
|
||||||
|
"C:\\Users\\Nitlo\\.nuget\\packages",
|
||||||
|
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||||
|
],
|
||||||
|
"configProperties": {
|
||||||
|
"Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
+20
@@ -0,0 +1,20 @@
|
|||||||
|
WpfApp1
|
||||||
|
1.0.0.0
|
||||||
|
|
||||||
|
winexe
|
||||||
|
C#
|
||||||
|
.cs
|
||||||
|
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\WpfApp1\WpfApp1\obj\Debug\net6.0-windows\
|
||||||
|
WpfApp1
|
||||||
|
none
|
||||||
|
false
|
||||||
|
TRACE;DEBUG;NET;NET6_0;NETCOREAPP
|
||||||
|
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\.Net Framework\WpfApp1\WpfApp1\App.xaml
|
||||||
|
11407045341
|
||||||
|
|
||||||
|
5-1303815099
|
||||||
|
194-200944676
|
||||||
|
MainWindow.xaml;
|
||||||
|
|
||||||
|
False
|
||||||
|
|
||||||
@@ -0,0 +1,71 @@
|
|||||||
|
{
|
||||||
|
"format": 1,
|
||||||
|
"restore": {
|
||||||
|
"D:\\NitloadIndustry\\研究项目\\1-Flagship\\TH2020\\ProjectFile\\源代码\\.Net Framework\\WpfApp1\\WpfApp1\\WpfApp1.csproj": {}
|
||||||
|
},
|
||||||
|
"projects": {
|
||||||
|
"D:\\NitloadIndustry\\研究项目\\1-Flagship\\TH2020\\ProjectFile\\源代码\\.Net Framework\\WpfApp1\\WpfApp1\\WpfApp1.csproj": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"restore": {
|
||||||
|
"projectUniqueName": "D:\\NitloadIndustry\\研究项目\\1-Flagship\\TH2020\\ProjectFile\\源代码\\.Net Framework\\WpfApp1\\WpfApp1\\WpfApp1.csproj",
|
||||||
|
"projectName": "WpfApp1",
|
||||||
|
"projectPath": "D:\\NitloadIndustry\\研究项目\\1-Flagship\\TH2020\\ProjectFile\\源代码\\.Net Framework\\WpfApp1\\WpfApp1\\WpfApp1.csproj",
|
||||||
|
"packagesPath": "C:\\Users\\Nitlo\\.nuget\\packages\\",
|
||||||
|
"outputPath": "D:\\NitloadIndustry\\研究项目\\1-Flagship\\TH2020\\ProjectFile\\源代码\\.Net Framework\\WpfApp1\\WpfApp1\\obj\\",
|
||||||
|
"projectStyle": "PackageReference",
|
||||||
|
"fallbackFolders": [
|
||||||
|
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||||
|
],
|
||||||
|
"configFilePaths": [
|
||||||
|
"C:\\Users\\Nitlo\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
|
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||||
|
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||||
|
],
|
||||||
|
"originalTargetFrameworks": [
|
||||||
|
"net6.0-windows"
|
||||||
|
],
|
||||||
|
"sources": {
|
||||||
|
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||||
|
"C:\\Program Files\\dotnet\\library-packs": {},
|
||||||
|
"https://api.nuget.org/v3/index.json": {}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net6.0-windows7.0": {
|
||||||
|
"targetAlias": "net6.0-windows",
|
||||||
|
"projectReferences": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"warningProperties": {
|
||||||
|
"warnAsError": [
|
||||||
|
"NU1605"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net6.0-windows7.0": {
|
||||||
|
"targetAlias": "net6.0-windows",
|
||||||
|
"imports": [
|
||||||
|
"net461",
|
||||||
|
"net462",
|
||||||
|
"net47",
|
||||||
|
"net471",
|
||||||
|
"net472",
|
||||||
|
"net48",
|
||||||
|
"net481"
|
||||||
|
],
|
||||||
|
"assetTargetFallback": true,
|
||||||
|
"warn": true,
|
||||||
|
"frameworkReferences": {
|
||||||
|
"Microsoft.NETCore.App": {
|
||||||
|
"privateAssets": "all"
|
||||||
|
},
|
||||||
|
"Microsoft.WindowsDesktop.App.WPF": {
|
||||||
|
"privateAssets": "none"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.400\\RuntimeIdentifierGraph.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||||
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
|
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||||
|
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||||
|
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||||
|
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||||
|
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Nitlo\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
|
||||||
|
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||||
|
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.3.0</NuGetToolVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
|
<SourceRoot Include="C:\Users\Nitlo\.nuget\packages\" />
|
||||||
|
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||||
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
|
||||||
@@ -0,0 +1,77 @@
|
|||||||
|
{
|
||||||
|
"version": 3,
|
||||||
|
"targets": {
|
||||||
|
"net6.0-windows7.0": {}
|
||||||
|
},
|
||||||
|
"libraries": {},
|
||||||
|
"projectFileDependencyGroups": {
|
||||||
|
"net6.0-windows7.0": []
|
||||||
|
},
|
||||||
|
"packageFolders": {
|
||||||
|
"C:\\Users\\Nitlo\\.nuget\\packages\\": {},
|
||||||
|
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
|
||||||
|
},
|
||||||
|
"project": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"restore": {
|
||||||
|
"projectUniqueName": "D:\\NitloadIndustry\\研究项目\\1-Flagship\\TH2020\\ProjectFile\\源代码\\.Net Framework\\WpfApp1\\WpfApp1\\WpfApp1.csproj",
|
||||||
|
"projectName": "WpfApp1",
|
||||||
|
"projectPath": "D:\\NitloadIndustry\\研究项目\\1-Flagship\\TH2020\\ProjectFile\\源代码\\.Net Framework\\WpfApp1\\WpfApp1\\WpfApp1.csproj",
|
||||||
|
"packagesPath": "C:\\Users\\Nitlo\\.nuget\\packages\\",
|
||||||
|
"outputPath": "D:\\NitloadIndustry\\研究项目\\1-Flagship\\TH2020\\ProjectFile\\源代码\\.Net Framework\\WpfApp1\\WpfApp1\\obj\\",
|
||||||
|
"projectStyle": "PackageReference",
|
||||||
|
"fallbackFolders": [
|
||||||
|
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||||
|
],
|
||||||
|
"configFilePaths": [
|
||||||
|
"C:\\Users\\Nitlo\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
|
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||||
|
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||||
|
],
|
||||||
|
"originalTargetFrameworks": [
|
||||||
|
"net6.0-windows"
|
||||||
|
],
|
||||||
|
"sources": {
|
||||||
|
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||||
|
"C:\\Program Files\\dotnet\\library-packs": {},
|
||||||
|
"https://api.nuget.org/v3/index.json": {}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net6.0-windows7.0": {
|
||||||
|
"targetAlias": "net6.0-windows",
|
||||||
|
"projectReferences": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"warningProperties": {
|
||||||
|
"warnAsError": [
|
||||||
|
"NU1605"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net6.0-windows7.0": {
|
||||||
|
"targetAlias": "net6.0-windows",
|
||||||
|
"imports": [
|
||||||
|
"net461",
|
||||||
|
"net462",
|
||||||
|
"net47",
|
||||||
|
"net471",
|
||||||
|
"net472",
|
||||||
|
"net48",
|
||||||
|
"net481"
|
||||||
|
],
|
||||||
|
"assetTargetFallback": true,
|
||||||
|
"warn": true,
|
||||||
|
"frameworkReferences": {
|
||||||
|
"Microsoft.NETCore.App": {
|
||||||
|
"privateAssets": "all"
|
||||||
|
},
|
||||||
|
"Microsoft.WindowsDesktop.App.WPF": {
|
||||||
|
"privateAssets": "none"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.400\\RuntimeIdentifierGraph.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"version": 2,
|
||||||
|
"dgSpecHash": "eYOXolA8zsPb+m6VrMLJrks6vU4vf5S2i/eW3lyZ+cEIqVhJ2d/k++i0p0RCqzWzFU5WZFlK/3tMML05d1sk3w==",
|
||||||
|
"success": true,
|
||||||
|
"projectFilePath": "D:\\NitloadIndustry\\研究项目\\1-Flagship\\TH2020\\ProjectFile\\源代码\\.Net Framework\\WpfApp1\\WpfApp1\\WpfApp1.csproj",
|
||||||
|
"expectedPackageFiles": [],
|
||||||
|
"logs": []
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user