This commit is contained in:
josephroy99 2023-07-11 07:03:18 +01:00
parent b17d664fda
commit 27cdc4a77d
61 changed files with 648 additions and 1004 deletions

View File

@ -1,36 +0,0 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v7.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v7.0": {
"ImplementationTest/1.0.0": {
"dependencies": {
"LensSimulatorCore": "1.0.0"
},
"runtime": {
"ImplementationTest.dll": {}
}
},
"LensSimulatorCore/1.0.0": {
"runtime": {
"LensSimulatorCore.dll": {}
}
}
}
},
"libraries": {
"ImplementationTest/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"LensSimulatorCore/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}

View File

@ -1,9 +0,0 @@
{
"runtimeOptions": {
"tfm": "net7.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "7.0.0"
}
}
}

View File

@ -1,4 +0,0 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")]

View File

@ -1,22 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("ImplementationTest")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("ImplementationTest")]
[assembly: System.Reflection.AssemblyTitleAttribute("ImplementationTest")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Generated by the MSBuild WriteCodeFragment class.

View File

@ -1 +0,0 @@
8975356774c8b6d47099d5dcc7ee8414b0c2c371

View File

@ -1,11 +0,0 @@
is_global = true
build_property.TargetFramework = net7.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = ImplementationTest
build_property.ProjectDir = C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\

View File

@ -1,8 +0,0 @@
// <auto-generated/>
global using global::System;
global using global::System.Collections.Generic;
global using global::System.IO;
global using global::System.Linq;
global using global::System.Net.Http;
global using global::System.Threading;
global using global::System.Threading.Tasks;

View File

@ -1 +0,0 @@
ae7ec3cd86a909b8f9ba49744000515440fee29c

View File

@ -1,18 +0,0 @@
C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\bin\Debug\net7.0\ImplementationTest.exe
C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\bin\Debug\net7.0\ImplementationTest.deps.json
C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\bin\Debug\net7.0\ImplementationTest.runtimeconfig.json
C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\bin\Debug\net7.0\ImplementationTest.dll
C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\bin\Debug\net7.0\ImplementationTest.pdb
C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\bin\Debug\net7.0\LensSimulatorCore.dll
C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\bin\Debug\net7.0\LensSimulatorCore.pdb
C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\obj\Debug\net7.0\ImplementationTest.csproj.AssemblyReference.cache
C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\obj\Debug\net7.0\ImplementationTest.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\obj\Debug\net7.0\ImplementationTest.AssemblyInfoInputs.cache
C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\obj\Debug\net7.0\ImplementationTest.AssemblyInfo.cs
C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\obj\Debug\net7.0\ImplementationTest.csproj.CoreCompileInputs.cache
C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\obj\Debug\net7.0\ImplementationTest.csproj.CopyComplete
C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\obj\Debug\net7.0\ImplementationTest.dll
C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\obj\Debug\net7.0\refint\ImplementationTest.dll
C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\obj\Debug\net7.0\ImplementationTest.pdb
C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\obj\Debug\net7.0\ImplementationTest.genruntimeconfig.cache
C:\Users\tango\RiderProjects\LensSimulator\ImplementationTest\obj\Debug\net7.0\ref\ImplementationTest.dll

View File

@ -1 +0,0 @@
c7d32dde6215c49d7a6f303cb22ed4bd115060e1

View File

@ -1,132 +0,0 @@
{
"format": 1,
"restore": {
"C:\\Users\\tango\\RiderProjects\\LensSimulator\\ImplementationTest\\ImplementationTest.csproj": {}
},
"projects": {
"C:\\Users\\tango\\RiderProjects\\LensSimulator\\ImplementationTest\\ImplementationTest.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\ImplementationTest\\ImplementationTest.csproj",
"projectName": "ImplementationTest",
"projectPath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\ImplementationTest\\ImplementationTest.csproj",
"packagesPath": "C:\\Users\\tango\\.nuget\\packages\\",
"outputPath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\ImplementationTest\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\tango\\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": [
"net7.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"C:\\Program Files\\dotnet\\library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"projectReferences": {
"C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\LensSimulatorCore.csproj": {
"projectPath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\LensSimulatorCore.csproj"
}
}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.201\\RuntimeIdentifierGraph.json"
}
}
},
"C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\LensSimulatorCore.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\LensSimulatorCore.csproj",
"projectName": "LensSimulatorCore",
"projectPath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\LensSimulatorCore.csproj",
"packagesPath": "C:\\Users\\tango\\.nuget\\packages\\",
"outputPath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\tango\\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": [
"net7.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"C:\\Program Files\\dotnet\\library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.201\\RuntimeIdentifierGraph.json"
}
}
}
}
}

View File

@ -1,16 +0,0 @@
<?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\tango\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.5.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\tango\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
</ItemGroup>
</Project>

View File

@ -1,2 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

View File

@ -1,97 +0,0 @@
{
"version": 3,
"targets": {
"net7.0": {
"LensSimulatorCore/1.0.0": {
"type": "project",
"framework": ".NETCoreApp,Version=v7.0",
"compile": {
"bin/placeholder/LensSimulatorCore.dll": {}
},
"runtime": {
"bin/placeholder/LensSimulatorCore.dll": {}
}
}
}
},
"libraries": {
"LensSimulatorCore/1.0.0": {
"type": "project",
"path": "../LensSimulatorCore/LensSimulatorCore.csproj",
"msbuildProject": "../LensSimulatorCore/LensSimulatorCore.csproj"
}
},
"projectFileDependencyGroups": {
"net7.0": [
"LensSimulatorCore >= 1.0.0"
]
},
"packageFolders": {
"C:\\Users\\tango\\.nuget\\packages\\": {},
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\ImplementationTest\\ImplementationTest.csproj",
"projectName": "ImplementationTest",
"projectPath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\ImplementationTest\\ImplementationTest.csproj",
"packagesPath": "C:\\Users\\tango\\.nuget\\packages\\",
"outputPath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\ImplementationTest\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\tango\\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": [
"net7.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"C:\\Program Files\\dotnet\\library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"projectReferences": {
"C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\LensSimulatorCore.csproj": {
"projectPath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\LensSimulatorCore.csproj"
}
}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.201\\RuntimeIdentifierGraph.json"
}
}
}
}

View File

@ -1,8 +0,0 @@
{
"version": 2,
"dgSpecHash": "zzfWPpLxovBUeUaIeRuHv1gdRHaxAE9iflB77E2K2wNSPVTM2JgQIGd4I5550BR8+2tEI2pOQ7mS0QVnFHrFjw==",
"success": true,
"projectFilePath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\ImplementationTest\\ImplementationTest.csproj",
"expectedPackageFiles": [],
"logs": []
}

View File

@ -1 +0,0 @@
"restore":{"projectUniqueName":"C:\\Users\\tango\\RiderProjects\\LensSimulator\\ImplementationTest\\ImplementationTest.csproj","projectName":"ImplementationTest","projectPath":"C:\\Users\\tango\\RiderProjects\\LensSimulator\\ImplementationTest\\ImplementationTest.csproj","outputPath":"C:\\Users\\tango\\RiderProjects\\LensSimulator\\ImplementationTest\\obj\\","projectStyle":"PackageReference","fallbackFolders":["C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"],"originalTargetFrameworks":["net7.0"],"sources":{"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\":{},"C:\\Program Files\\dotnet\\library-packs":{},"https://api.nuget.org/v3/index.json":{}},"frameworks":{"net7.0":{"targetAlias":"net7.0","projectReferences":{"C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\LensSimulatorCore.csproj":{"projectPath":"C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\LensSimulatorCore.csproj"}}}},"warningProperties":{"warnAsError":["NU1605"]}}"frameworks":{"net7.0":{"targetAlias":"net7.0","imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"C:\\Program Files\\dotnet\\sdk\\7.0.201\\RuntimeIdentifierGraph.json"}}

84
LensSimulator-WinForms/Form1.Designer.cs generated Normal file
View File

@ -0,0 +1,84 @@
namespace LensSimulator_WinForms
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
splitContainer1=new SplitContainer();
workspaceViewport1=new Viewport.WorkspaceViewport();
((System.ComponentModel.ISupportInitialize)splitContainer1).BeginInit();
splitContainer1.Panel1.SuspendLayout();
splitContainer1.SuspendLayout();
SuspendLayout();
//
// splitContainer1
//
splitContainer1.Dock=DockStyle.Fill;
splitContainer1.FixedPanel=FixedPanel.Panel2;
splitContainer1.IsSplitterFixed=true;
splitContainer1.Location=new Point(0, 0);
splitContainer1.Name="splitContainer1";
splitContainer1.Orientation=Orientation.Horizontal;
//
// splitContainer1.Panel1
//
splitContainer1.Panel1.Controls.Add(workspaceViewport1);
splitContainer1.Size=new Size(1343, 778);
splitContainer1.SplitterDistance=447;
splitContainer1.TabIndex=0;
//
// workspaceViewport1
//
workspaceViewport1.CameraPosition=new Point(0, 0);
workspaceViewport1.Dock=DockStyle.Fill;
workspaceViewport1.Location=new Point(0, 0);
workspaceViewport1.Name="workspaceViewport1";
workspaceViewport1.Size=new Size(1343, 447);
workspaceViewport1.TabIndex=2;
//workspaceViewport1.ZoomLevel=10D;
//
// Form1
//
AutoScaleDimensions=new SizeF(7F, 15F);
AutoScaleMode=AutoScaleMode.Font;
ClientSize=new Size(1343, 778);
Controls.Add(splitContainer1);
Margin=new Padding(2);
Name="Form1";
Text="Form1";
splitContainer1.Panel1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)splitContainer1).EndInit();
splitContainer1.ResumeLayout(false);
ResumeLayout(false);
}
#endregion
private SplitContainer splitContainer1;
private Viewport.WorkspaceViewport workspaceViewport1;
}
}

View File

@ -0,0 +1,13 @@
using LensSimulator_WinForms.Viewport;
using System.Windows.Forms;
namespace LensSimulator_WinForms
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
}
}

View File

@ -0,0 +1,60 @@
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -0,0 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net7.0-windows</TargetFramework>
<RootNamespace>LensSimulator_WinForms</RootNamespace>
<Nullable>enable</Nullable>
<UseWindowsForms>true</UseWindowsForms>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
</Project>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Compile Update="Form1.cs">
<SubType>Form</SubType>
</Compile>
<Compile Update="Viewport\Viewport.cs">
<SubType>UserControl</SubType>
</Compile>
</ItemGroup>
</Project>

View File

@ -0,0 +1,17 @@
namespace LensSimulator_WinForms
{
internal static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
// To customize application configuration such as set high DPI settings or default font,
// see https://aka.ms/applicationconfiguration.
ApplicationConfiguration.Initialize();
Application.Run(new Form1());
}
}
}

View File

@ -0,0 +1,45 @@
namespace LensSimulator_WinForms.Viewport
{
partial class WorkspaceViewport
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Component Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
SuspendLayout();
//
// WorkspaceViewport
//
AutoScaleDimensions=new SizeF(7F, 15F);
AutoScaleMode=AutoScaleMode.Font;
Name="WorkspaceViewport";
Size=new Size(690, 236);
Resize+=WorkspaceViewport_Resize;
ResumeLayout(false);
}
#endregion
}
}

View File

@ -0,0 +1,328 @@
//using Microsoft.VisualBasic;
//using System;
//using System.Collections.Generic;
//using System.ComponentModel;
//using System.Data;
//using System.Drawing;
//using System.Linq;
//using System.Runtime.InteropServices;
//using System.Text;
//using System.Threading.Tasks;
//using System.Windows.Forms;
//namespace LensSimulator_WinForms.Viewport
//{
// public partial class WorkspaceViewport : UserControl
// {
// PictureBox pictureBox = new PictureBox
// {
// Dock = DockStyle.Fill,
// SizeMode = PictureBoxSizeMode.Normal, // You can change this based on your needs
// BackColor = Color.White,
// };
// private double _zoomLevel = 10;
// public double ZoomLevel
// {
// get { return _zoomLevel; }
// set { _zoomLevel = value; }
// }
// private Point _cameraPosition;
// public Point CameraPosition
// {
// get { return _cameraPosition; }
// set { _cameraPosition = value; }
// }
// private Pen _primaryGridPen = new Pen(Color.LightGray, 2);
// private Pen _secondaryGridPen = new Pen(Color.DarkGray, 1);
// Bitmap bitmap;
// private void DrawGrid()
// {
// if (bitmap is not null)
// {
// bitmap.Dispose();
// }
// bitmap = new Bitmap(pictureBox.Width, pictureBox.Height);
// using (Graphics g = Graphics.FromImage(bitmap))
// {
// Rectangle currentRect;
// currentRect = new Rectangle(new Point(0, 0), new Size(pictureBox.Width, pictureBox.Height));
// g.FillRectangle(Brushes.Black, currentRect);
// int PrimarySpacing = 200;
// int SecondarySpacing = 50;
// DrawVerticalGrid(g, SecondarySpacing, _secondaryGridPen);
// DrawVerticalGrid(g, PrimarySpacing, _primaryGridPen);
// DrawHorizontalGrid(g, SecondarySpacing, _secondaryGridPen);
// DrawHorizontalGrid(g, PrimarySpacing, _primaryGridPen);
// pictureBox.Image = bitmap;
// }
// }
// private void DrawVerticalGrid(Graphics g, int spacing, Pen pen)
// {
// Point screenCentre = new(bitmap.Width / 2, bitmap.Height / 2);
// double spacingForZoom = (double)spacing / _zoomLevel;
// int leftMostLine = (int)Math.Floor(screenCentre.X - Math.Floor((_cameraPosition.X + screenCentre.X) / spacingForZoom) * spacingForZoom);
// double currentPosition = leftMostLine;
// while (currentPosition < bitmap.Width)
// {
// g.DrawLine(pen, new Point((int)currentPosition, 0), new Point((int)currentPosition, bitmap.Height));
// currentPosition += spacingForZoom;
// }
// }
// private void DrawHorizontalGrid(Graphics g, int spacing, Pen pen)
// {
// Point screenCentre = new(bitmap.Width / 2, bitmap.Height / 2);
// double spacingForZoom = (double)spacing / _zoomLevel;
// int topMostLine = (int)Math.Floor(screenCentre.Y - Math.Floor((_cameraPosition.Y + screenCentre.Y) / spacingForZoom) * spacingForZoom);
// double currentPosition = topMostLine;
// while (currentPosition < bitmap.Height)
// {
// g.DrawLine(pen, new Point(0, (int)currentPosition), new Point(bitmap.Width, (int)currentPosition));
// currentPosition += spacingForZoom;
// }
// }
// public WorkspaceViewport()
// {
// InitializeComponent();
// this.pictureBox.MouseWheel += new MouseEventHandler(this.WorkspaceViewport_MouseWheel);
// this.pictureBox.MouseDown += new MouseEventHandler(this.WorkspaceViewport_MouseDown);
// this.pictureBox.MouseUp += new MouseEventHandler(this.WorkspaceViewport_MouseUp);
// this.pictureBox.MouseMove += new MouseEventHandler(this.WorkspaceViewport_MouseMove);
// this.Controls.Add(pictureBox);
// DrawGrid();
// }
// private void WorkspaceViewport_Resize(object sender, EventArgs e)
// {
// this.Invalidate();
// DrawGrid();
// }
// private bool _isMouseWhithin = false;
// private void WorkspaceViewport_MouseWheel(object sender, MouseEventArgs e)
// {
// double test = _zoomLevel + (1 * -Math.Sign(e.Delta));
// if (test > 0 && test < 11)
// {
// _zoomLevel = test;
// }
// DrawGrid();
// this.Invalidate();
// }
// private Point _positionMiddleMouseDown;
// private bool _middleMousePressed= false;
// private void WorkspaceViewport_MouseDown(object sender, MouseEventArgs e)
// {
// if (e.Button == MouseButtons.Middle)
// {
// _middleMousePressed = true;
// _positionMiddleMouseDown = new Point((int)(e.Location.X * _zoomLevel), (int)(e.Location.Y * _zoomLevel));
// }
// }
// private void WorkspaceViewport_MouseUp(object sender, MouseEventArgs e)
// {
// if (e.Button == MouseButtons.Middle)
// {
// _middleMousePressed = false;
// }
// }
// private void WorkspaceViewport_MouseMove(object sender, MouseEventArgs e)
// {
// if (_middleMousePressed)
// {
// Point point = e.Location;
// double distanceX = (point.X * _zoomLevel) - _positionMiddleMouseDown.X;
// double distanceY = (point.Y * _zoomLevel) - _positionMiddleMouseDown.Y;
// _cameraPosition.X += (int)distanceX;
// _cameraPosition.Y += (int)distanceY;
// }
// }
// }
//}
using Microsoft.VisualBasic;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace LensSimulator_WinForms.Viewport
{
public partial class WorkspaceViewport : UserControl
{
PictureBox pictureBox = new PictureBox
{
Dock = DockStyle.Fill,
SizeMode = PictureBoxSizeMode.Normal,
BackColor = Color.White,
};
private float _zoomLevel = 1f;
public float ZoomLevel
{
get { return _zoomLevel; }
set { _zoomLevel = value; }
}
private PointF _cameraPosition = new PointF(0, 0);
public PointF CameraPosition
{
get { return _cameraPosition; }
set { _cameraPosition = value; }
}
private Pen _primaryGridPen = new Pen(Color.LightGray, 2);
private Pen _secondaryGridPen = new Pen(Color.DarkGray, 1);
Bitmap bitmap;
private void DrawGrid()
{
if (bitmap is not null)
{
bitmap.Dispose();
}
bitmap = new Bitmap(pictureBox.Width, pictureBox.Height);
using (Graphics g = Graphics.FromImage(bitmap))
{
g.FillRectangle(Brushes.Black, new Rectangle(0, 0, bitmap.Width, bitmap.Height));
// Determine the actual spacing based on zoom level
float baseSpacing = 50;
float spacing = baseSpacing;
while (spacing / _zoomLevel < baseSpacing)
{
spacing *= 10;
}
while (spacing / _zoomLevel > 10 * baseSpacing)
{
spacing /= 10;
}
DrawGrid(g, spacing, _secondaryGridPen);
if (spacing / _zoomLevel <= 2 * baseSpacing)
{
DrawGrid(g, spacing * 10, _primaryGridPen);
}
pictureBox.Image = bitmap;
}
}
private void DrawGrid(Graphics g, float spacing, Pen pen)
{
float leftMostLine = _cameraPosition.X - (_cameraPosition.X % spacing);
float topMostLine = _cameraPosition.Y - (_cameraPosition.Y % spacing);
for (float x = leftMostLine; x < bitmap.Width + _cameraPosition.X; x += spacing)
{
g.DrawLine(pen, x - _cameraPosition.X, 0, x - _cameraPosition.X, bitmap.Height);
}
for (float y = topMostLine; y < bitmap.Height + _cameraPosition.Y; y += spacing)
{
g.DrawLine(pen, 0, y - _cameraPosition.Y, bitmap.Width, y - _cameraPosition.Y);
}
}
public WorkspaceViewport()
{
InitializeComponent();
this.pictureBox.MouseWheel += new MouseEventHandler(this.WorkspaceViewport_MouseWheel);
this.pictureBox.MouseDown += new MouseEventHandler(this.WorkspaceViewport_MouseDown);
this.pictureBox.MouseUp += new MouseEventHandler(this.WorkspaceViewport_MouseUp);
this.pictureBox.MouseMove += new MouseEventHandler(this.WorkspaceViewport_MouseMove);
this.Controls.Add(pictureBox);
DrawGrid();
}
private void WorkspaceViewport_Resize(object sender, EventArgs e)
{
DrawGrid();
}
private PointF _mouseDownLocation;
private void WorkspaceViewport_MouseWheel(object sender, MouseEventArgs e)
{
_zoomLevel *= (e.Delta > 0) ? 1.1f : 0.9f;
DrawGrid();
}
private void WorkspaceViewport_MouseDown(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Middle)
{
_mouseDownLocation = e.Location;
}
}
private void WorkspaceViewport_MouseUp(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Middle)
{
_cameraPosition.X += (_mouseDownLocation.X - e.Location.X) / _zoomLevel;
_cameraPosition.Y += (_mouseDownLocation.Y - e.Location.Y) / _zoomLevel;
_mouseDownLocation = e.Location;
DrawGrid();
}
}
private void WorkspaceViewport_MouseMove(object sender, MouseEventArgs e)
{
if (MouseButtons == MouseButtons.Middle)
{
_cameraPosition.X += (_mouseDownLocation.X - e.Location.X) / _zoomLevel;
_cameraPosition.Y += (_mouseDownLocation.Y - e.Location.Y) / _zoomLevel;
_mouseDownLocation = e.Location;
DrawGrid();
}
}
}
}

View File

@ -0,0 +1,60 @@
<root>
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -1,10 +1,15 @@

Microsoft Visual Studio Solution File, Format Version 12.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LensSimulatorCore", "LensSimulatorCore\LensSimulatorCore.csproj", "{D40A259B-E5C3-4735-8363-F59539DF4146}"
# Visual Studio Version 17
VisualStudioVersion = 17.5.33424.131
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LensSimulatorCore", "LensSimulatorCore\LensSimulatorCore.csproj", "{D40A259B-E5C3-4735-8363-F59539DF4146}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImplementationTest", "ImplementationTest\ImplementationTest.csproj", "{CA24EDE5-4FDA-482A-A2D4-6670CB420124}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ImplementationTest", "ImplementationTest\ImplementationTest.csproj", "{CA24EDE5-4FDA-482A-A2D4-6670CB420124}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LensSimulatorWindows", "LensSimulatorWindows\LensSimulatorWindows.csproj", "{ACDB5AA7-0C3D-4923-9843-E850C3807041}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LensSimulatorWindows", "LensSimulatorWindows\LensSimulatorWindows.csproj", "{ACDB5AA7-0C3D-4923-9843-E850C3807041}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LensSimulator-WinForms", "LensSimulator-WinForms\LensSimulator-WinForms.csproj", "{F16F2F39-B341-4591-8D1E-A0BAC484248E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@ -24,5 +29,15 @@ Global
{ACDB5AA7-0C3D-4923-9843-E850C3807041}.Debug|Any CPU.Build.0 = Debug|Any CPU
{ACDB5AA7-0C3D-4923-9843-E850C3807041}.Release|Any CPU.ActiveCfg = Release|Any CPU
{ACDB5AA7-0C3D-4923-9843-E850C3807041}.Release|Any CPU.Build.0 = Release|Any CPU
{F16F2F39-B341-4591-8D1E-A0BAC484248E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F16F2F39-B341-4591-8D1E-A0BAC484248E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F16F2F39-B341-4591-8D1E-A0BAC484248E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F16F2F39-B341-4591-8D1E-A0BAC484248E}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {9FACA93C-6B05-4480-8D81-CB6130C832DE}
EndGlobalSection
EndGlobal

View File

@ -1,23 +0,0 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v7.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v7.0": {
"LensSimulatorCore/1.0.0": {
"runtime": {
"LensSimulatorCore.dll": {}
}
}
}
},
"libraries": {
"LensSimulatorCore/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}

View File

@ -1,4 +0,0 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")]

View File

@ -1,22 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("LensSimulatorCore")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("LensSimulatorCore")]
[assembly: System.Reflection.AssemblyTitleAttribute("LensSimulatorCore")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Generated by the MSBuild WriteCodeFragment class.

View File

@ -1 +0,0 @@
a4b71101a57db2e7cc53aa3368d6967e1ad39701

View File

@ -1,11 +0,0 @@
is_global = true
build_property.TargetFramework = net7.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = LensSimulatorCore
build_property.ProjectDir = C:\Users\tango\RiderProjects\LensSimulator\LensSimulatorCore\

View File

@ -1,8 +0,0 @@
// <auto-generated/>
global using global::System;
global using global::System.Collections.Generic;
global using global::System.IO;
global using global::System.Linq;
global using global::System.Net.Http;
global using global::System.Threading;
global using global::System.Threading.Tasks;

View File

@ -1,12 +0,0 @@
C:\Users\tango\RiderProjects\LensSimulator\LensSimulatorCore\bin\Debug\net7.0\LensSimulatorCore.deps.json
C:\Users\tango\RiderProjects\LensSimulator\LensSimulatorCore\bin\Debug\net7.0\LensSimulatorCore.dll
C:\Users\tango\RiderProjects\LensSimulator\LensSimulatorCore\bin\Debug\net7.0\LensSimulatorCore.pdb
C:\Users\tango\RiderProjects\LensSimulator\LensSimulatorCore\obj\Debug\net7.0\LensSimulatorCore.csproj.AssemblyReference.cache
C:\Users\tango\RiderProjects\LensSimulator\LensSimulatorCore\obj\Debug\net7.0\LensSimulatorCore.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\tango\RiderProjects\LensSimulator\LensSimulatorCore\obj\Debug\net7.0\LensSimulatorCore.AssemblyInfoInputs.cache
C:\Users\tango\RiderProjects\LensSimulator\LensSimulatorCore\obj\Debug\net7.0\LensSimulatorCore.AssemblyInfo.cs
C:\Users\tango\RiderProjects\LensSimulator\LensSimulatorCore\obj\Debug\net7.0\LensSimulatorCore.csproj.CoreCompileInputs.cache
C:\Users\tango\RiderProjects\LensSimulator\LensSimulatorCore\obj\Debug\net7.0\LensSimulatorCore.dll
C:\Users\tango\RiderProjects\LensSimulator\LensSimulatorCore\obj\Debug\net7.0\refint\LensSimulatorCore.dll
C:\Users\tango\RiderProjects\LensSimulator\LensSimulatorCore\obj\Debug\net7.0\LensSimulatorCore.pdb
C:\Users\tango\RiderProjects\LensSimulator\LensSimulatorCore\obj\Debug\net7.0\ref\LensSimulatorCore.dll

View File

@ -1,68 +0,0 @@
{
"format": 1,
"restore": {
"C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\LensSimulatorCore.csproj": {}
},
"projects": {
"C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\LensSimulatorCore.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\LensSimulatorCore.csproj",
"projectName": "LensSimulatorCore",
"projectPath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\LensSimulatorCore.csproj",
"packagesPath": "C:\\Users\\tango\\.nuget\\packages\\",
"outputPath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\tango\\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": [
"net7.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"C:\\Program Files\\dotnet\\library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.201\\RuntimeIdentifierGraph.json"
}
}
}
}
}

View File

@ -1,16 +0,0 @@
<?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\tango\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.5.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\tango\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
</ItemGroup>
</Project>

View File

@ -1,2 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

View File

@ -1,74 +0,0 @@
{
"version": 3,
"targets": {
"net7.0": {}
},
"libraries": {},
"projectFileDependencyGroups": {
"net7.0": []
},
"packageFolders": {
"C:\\Users\\tango\\.nuget\\packages\\": {},
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\LensSimulatorCore.csproj",
"projectName": "LensSimulatorCore",
"projectPath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\LensSimulatorCore.csproj",
"packagesPath": "C:\\Users\\tango\\.nuget\\packages\\",
"outputPath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\tango\\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": [
"net7.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"C:\\Program Files\\dotnet\\library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.201\\RuntimeIdentifierGraph.json"
}
}
}
}

View File

@ -1,8 +0,0 @@
{
"version": 2,
"dgSpecHash": "ELXZaLHeA3IsTYCqQkwLGNYurz6FePlxzL+hJrsoVI5FAJX5EGuAHPzCTYS/GslziBFyO44dObttce2pZ+NFkQ==",
"success": true,
"projectFilePath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\LensSimulatorCore.csproj",
"expectedPackageFiles": [],
"logs": []
}

View File

@ -1 +0,0 @@
"restore":{"projectUniqueName":"C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\LensSimulatorCore.csproj","projectName":"LensSimulatorCore","projectPath":"C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\LensSimulatorCore.csproj","outputPath":"C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorCore\\obj\\","projectStyle":"PackageReference","fallbackFolders":["C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"],"originalTargetFrameworks":["net7.0"],"sources":{"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\":{},"C:\\Program Files\\dotnet\\library-packs":{},"https://api.nuget.org/v3/index.json":{}},"frameworks":{"net7.0":{"targetAlias":"net7.0","projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]}}"frameworks":{"net7.0":{"targetAlias":"net7.0","imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"C:\\Program Files\\dotnet\\sdk\\7.0.201\\RuntimeIdentifierGraph.json"}}

View File

@ -1,4 +0,0 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")]

View File

@ -1,70 +0,0 @@
#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "3E425E4B3F42BB166D9FF4C8B28F728A93B55702"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using LensSimulatorWindows;
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;
namespace LensSimulatorWindows {
/// <summary>
/// App
/// </summary>
public partial class App : System.Windows.Application {
/// <summary>
/// InitializeComponent
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "7.0.3.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", "7.0.3.0")]
public static void Main() {
LensSimulatorWindows.App app = new LensSimulatorWindows.App();
app.InitializeComponent();
app.Run();
}
}
}

View File

@ -1,24 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("LensSimulatorWindows")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("LensSimulatorWindows")]
[assembly: System.Reflection.AssemblyTitleAttribute("LensSimulatorWindows")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]
// Generated by the MSBuild WriteCodeFragment class.

View File

@ -1 +0,0 @@
8d237d588aa3da25c5cc632e575a7f1756530966

View File

@ -1,11 +0,0 @@
is_global = true
build_property.TargetFramework = net7.0-windows
build_property.TargetPlatformMinVersion = 7.0
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = LensSimulatorWindows
build_property.ProjectDir = C:\Users\tango\RiderProjects\LensSimulator\LensSimulatorWindows\

View File

@ -1,20 +0,0 @@
LensSimulatorWindows
winexe
C#
.cs
C:\Users\tango\RiderProjects\LensSimulator\LensSimulatorWindows\obj\Debug\net7.0-windows\
LensSimulatorWindows
none
false
TRACE;DEBUG;NET;NET7_0;NETCOREAPP
C:\Users\tango\RiderProjects\LensSimulator\LensSimulatorWindows\App.xaml
11407045341
3-1233169557
1981462702791
MainWindow.xaml;
True

View File

@ -1,4 +0,0 @@

FC:\Users\tango\RiderProjects\LensSimulator\LensSimulatorWindows\MainWindow.xaml;;

View File

@ -1,75 +0,0 @@
#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "1F75E03F780127AE90566E2C2C23D77355CE45A9"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using LensSimulatorWindows;
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;
namespace LensSimulatorWindows {
/// <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", "7.0.3.0")]
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Uri resourceLocater = new System.Uri("/LensSimulatorWindows;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", "7.0.3.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;
}
}
}

View File

@ -1,71 +0,0 @@
{
"format": 1,
"restore": {
"C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorWindows\\LensSimulatorWindows.csproj": {}
},
"projects": {
"C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorWindows\\LensSimulatorWindows.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorWindows\\LensSimulatorWindows.csproj",
"projectName": "LensSimulatorWindows",
"projectPath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorWindows\\LensSimulatorWindows.csproj",
"packagesPath": "C:\\Users\\tango\\.nuget\\packages\\",
"outputPath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorWindows\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\tango\\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": [
"net7.0-windows"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"C:\\Program Files\\dotnet\\library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net7.0-windows7.0": {
"targetAlias": "net7.0-windows",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net7.0-windows7.0": {
"targetAlias": "net7.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\\7.0.201\\RuntimeIdentifierGraph.json"
}
}
}
}
}

View File

@ -1,16 +0,0 @@
<?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\tango\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.5.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\tango\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
</ItemGroup>
</Project>

View File

@ -1,2 +0,0 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

View File

@ -1,77 +0,0 @@
{
"version": 3,
"targets": {
"net7.0-windows7.0": {}
},
"libraries": {},
"projectFileDependencyGroups": {
"net7.0-windows7.0": []
},
"packageFolders": {
"C:\\Users\\tango\\.nuget\\packages\\": {},
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorWindows\\LensSimulatorWindows.csproj",
"projectName": "LensSimulatorWindows",
"projectPath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorWindows\\LensSimulatorWindows.csproj",
"packagesPath": "C:\\Users\\tango\\.nuget\\packages\\",
"outputPath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorWindows\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\tango\\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": [
"net7.0-windows"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"C:\\Program Files\\dotnet\\library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net7.0-windows7.0": {
"targetAlias": "net7.0-windows",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net7.0-windows7.0": {
"targetAlias": "net7.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\\7.0.201\\RuntimeIdentifierGraph.json"
}
}
}
}

View File

@ -1,8 +0,0 @@
{
"version": 2,
"dgSpecHash": "tMx/si8Azo8pLQQZ1y8LDLWgnL97KtIKP+QPux+NFbt94iuR3k9hdSwUFibdUVx1ZGCRbMScMdzjrA/JWDxs3w==",
"success": true,
"projectFilePath": "C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorWindows\\LensSimulatorWindows.csproj",
"expectedPackageFiles": [],
"logs": []
}

View File

@ -1 +0,0 @@
"restore":{"projectUniqueName":"C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorWindows\\LensSimulatorWindows.csproj","projectName":"LensSimulatorWindows","projectPath":"C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorWindows\\LensSimulatorWindows.csproj","outputPath":"C:\\Users\\tango\\RiderProjects\\LensSimulator\\LensSimulatorWindows\\obj\\","projectStyle":"PackageReference","fallbackFolders":["C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"],"originalTargetFrameworks":["net7.0-windows"],"sources":{"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\":{},"C:\\Program Files\\dotnet\\library-packs":{},"https://api.nuget.org/v3/index.json":{}},"frameworks":{"net7.0-windows7.0":{"targetAlias":"net7.0-windows","projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]}}"frameworks":{"net7.0-windows7.0":{"targetAlias":"net7.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\\7.0.201\\RuntimeIdentifierGraph.json"}}