Initial commit

This commit is contained in:
jvyden 2021-10-17 23:49:22 -04:00
commit d7fdb034cd
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278
10 changed files with 76 additions and 19 deletions

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="DiscordProjectSettings">
<option name="show" value="ASK" />
<option name="show" value="PROJECT_FILES" />
<option name="description" value="" />
</component>
</project>

View file

@ -0,0 +1,9 @@
using Eto.Forms;
namespace UnionPatcher.Gui.Windows {
public static class Program {
public static void Main(string[] args) {
new Application().Run(new TestForm());
}
}
}

View file

@ -0,0 +1,20 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net5.0-windows</TargetFramework>
<RootNamespace>UnionPatcher.Gui.Windows</RootNamespace>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Eto.Platform.Direct2D" Version="2.5.11" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\UnionPatcher.Gui\UnionPatcher.Gui.csproj" />
</ItemGroup>
<ItemGroup>
<KnownFrameworkReference Update="Microsoft.WindowsDesktop.App.WindowsForms" IsWindowsOnly="false" />
</ItemGroup>
</Project>

10
UnionPatcher.Gui/Gui.cs Normal file
View file

@ -0,0 +1,10 @@
using System;
using Eto.Forms;
namespace UnionPatcher.Gui {
public static class Gui {
public static void Show() {
new Application().Run(new TestForm());
}
}
}

View file

@ -0,0 +1,12 @@
using Eto.Drawing;
using Eto.Forms;
namespace UnionPatcher.Gui {
public class TestForm : Form {
public TestForm() {
this.Title = "test";
this.ClientSize = new Size(200, 200);
this.Content = new Label { Text = "i'm stuff" };
}
}
}

View file

@ -0,0 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<RootNamespace>UnionPatcher.Gui</RootNamespace>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Eto.Forms" Version="2.5.11" />
<PackageReference Include="Eto.Platform.Gtk" Version="2.5.11" />
</ItemGroup>
</Project>

View file

@ -1,6 +1,8 @@

Microsoft Visual Studio Solution File, Format Version 12.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnionPatcher", "UnionPatcher\UnionPatcher.csproj", "{235B4DEC-11A0-42EF-9B8D-16529869ED1A}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnionPatcher.Gui", "UnionPatcher.Gui\UnionPatcher.Gui.csproj", "{235B4DEC-11A0-42EF-9B8D-16529869ED1A}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnionPatcher.Gui.Windows", "UnionPatcher.Gui.Windows\UnionPatcher.Gui.Windows.csproj", "{5F8CDEA2-B483-40D1-B1FB-EF8EC667185A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@ -12,5 +14,9 @@ Global
{235B4DEC-11A0-42EF-9B8D-16529869ED1A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{235B4DEC-11A0-42EF-9B8D-16529869ED1A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{235B4DEC-11A0-42EF-9B8D-16529869ED1A}.Release|Any CPU.Build.0 = Release|Any CPU
{5F8CDEA2-B483-40D1-B1FB-EF8EC667185A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5F8CDEA2-B483-40D1-B1FB-EF8EC667185A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5F8CDEA2-B483-40D1-B1FB-EF8EC667185A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5F8CDEA2-B483-40D1-B1FB-EF8EC667185A}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal

View file

@ -0,0 +1,4 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:String x:Key="/Default/Environment/AssemblyExplorer/XmlDocument/@EntryValue">&lt;AssemblyExplorer&gt;
&lt;Assembly Path="/home/jvyden/Documents/UnionPatcher/UnionPatcher.Gui.Windows/bin/Release/net5.0-windows/win10-x64/api-ms-win-core-file-l2-1-0.dll" /&gt;
&lt;/AssemblyExplorer&gt;</s:String></wpf:ResourceDictionary>

View file

@ -1,9 +0,0 @@
using System;
namespace UnionPatcher {
public class Program {
public static void Main(string[] args) {
Console.WriteLine("Hello World!");
}
}
}

View file

@ -1,8 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>
</Project>