mirror of
https://github.com/ZuneDev/MicrosoftIris.git
synced 2026-07-27 13:13:29 -07:00
Added simple Iris test app
This commit is contained in:
+21
-6
@@ -7,11 +7,13 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UIX", "UIX\UIX.csproj", "{7
|
|||||||
EndProject
|
EndProject
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UIX.RenderApi", "UIX.RenderApi\UIX.RenderApi.csproj", "{CB2B7609-C7B8-4E2A-82D8-DD631B70B621}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UIX.RenderApi", "UIX.RenderApi\UIX.RenderApi.csproj", "{CB2B7609-C7B8-4E2A-82D8-DD631B70B621}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UIX.Debug", "UIX.Debug\UIX.Debug.csproj", "{B5E91A1A-82F4-404B-8CAA-8E4D298EB6DE}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UIX.Debug", "UIX.Debug\UIX.Debug.csproj", "{B5E91A1A-82F4-404B-8CAA-8E4D298EB6DE}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{1F0A2AD3-81C3-4A53-8AEF-DC67ABC63183}"
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{1F0A2AD3-81C3-4A53-8AEF-DC67ABC63183}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleDebugClient", "Tests\SimpleDebugClient\SimpleDebugClient.csproj", "{283532A3-A744-4C1C-960C-0B4FE9AF98C9}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SimpleDebugClient", "Tests\SimpleDebugClient\SimpleDebugClient.csproj", "{283532A3-A744-4C1C-960C-0B4FE9AF98C9}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleIrisApp", "Tests\SimpleIrisApp\SimpleIrisApp.csproj", "{96FB9772-5619-47AD-93FC-F26319EC6BB1}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
@@ -61,22 +63,35 @@ Global
|
|||||||
{B5E91A1A-82F4-404B-8CAA-8E4D298EB6DE}.Release|x86.Build.0 = Release|Any CPU
|
{B5E91A1A-82F4-404B-8CAA-8E4D298EB6DE}.Release|x86.Build.0 = Release|Any CPU
|
||||||
{283532A3-A744-4C1C-960C-0B4FE9AF98C9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{283532A3-A744-4C1C-960C-0B4FE9AF98C9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{283532A3-A744-4C1C-960C-0B4FE9AF98C9}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{283532A3-A744-4C1C-960C-0B4FE9AF98C9}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{283532A3-A744-4C1C-960C-0B4FE9AF98C9}.Debug|x64.ActiveCfg = Debug|Any CPU
|
{283532A3-A744-4C1C-960C-0B4FE9AF98C9}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
{283532A3-A744-4C1C-960C-0B4FE9AF98C9}.Debug|x64.Build.0 = Debug|Any CPU
|
{283532A3-A744-4C1C-960C-0B4FE9AF98C9}.Debug|x64.Build.0 = Debug|x64
|
||||||
{283532A3-A744-4C1C-960C-0B4FE9AF98C9}.Debug|x86.ActiveCfg = Debug|Any CPU
|
{283532A3-A744-4C1C-960C-0B4FE9AF98C9}.Debug|x86.ActiveCfg = Debug|x86
|
||||||
{283532A3-A744-4C1C-960C-0B4FE9AF98C9}.Debug|x86.Build.0 = Debug|Any CPU
|
{283532A3-A744-4C1C-960C-0B4FE9AF98C9}.Debug|x86.Build.0 = Debug|x86
|
||||||
{283532A3-A744-4C1C-960C-0B4FE9AF98C9}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{283532A3-A744-4C1C-960C-0B4FE9AF98C9}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{283532A3-A744-4C1C-960C-0B4FE9AF98C9}.Release|Any CPU.Build.0 = Release|Any CPU
|
{283532A3-A744-4C1C-960C-0B4FE9AF98C9}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
{283532A3-A744-4C1C-960C-0B4FE9AF98C9}.Release|x64.ActiveCfg = Release|Any CPU
|
{283532A3-A744-4C1C-960C-0B4FE9AF98C9}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
{283532A3-A744-4C1C-960C-0B4FE9AF98C9}.Release|x64.Build.0 = Release|Any CPU
|
{283532A3-A744-4C1C-960C-0B4FE9AF98C9}.Release|x64.Build.0 = Release|Any CPU
|
||||||
{283532A3-A744-4C1C-960C-0B4FE9AF98C9}.Release|x86.ActiveCfg = Release|Any CPU
|
{283532A3-A744-4C1C-960C-0B4FE9AF98C9}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
{283532A3-A744-4C1C-960C-0B4FE9AF98C9}.Release|x86.Build.0 = Release|Any CPU
|
{283532A3-A744-4C1C-960C-0B4FE9AF98C9}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{96FB9772-5619-47AD-93FC-F26319EC6BB1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{96FB9772-5619-47AD-93FC-F26319EC6BB1}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{96FB9772-5619-47AD-93FC-F26319EC6BB1}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{96FB9772-5619-47AD-93FC-F26319EC6BB1}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{96FB9772-5619-47AD-93FC-F26319EC6BB1}.Debug|x86.ActiveCfg = Debug|x86
|
||||||
|
{96FB9772-5619-47AD-93FC-F26319EC6BB1}.Debug|x86.Build.0 = Debug|x86
|
||||||
|
{96FB9772-5619-47AD-93FC-F26319EC6BB1}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{96FB9772-5619-47AD-93FC-F26319EC6BB1}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{96FB9772-5619-47AD-93FC-F26319EC6BB1}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{96FB9772-5619-47AD-93FC-F26319EC6BB1}.Release|x64.Build.0 = Release|Any CPU
|
||||||
|
{96FB9772-5619-47AD-93FC-F26319EC6BB1}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{96FB9772-5619-47AD-93FC-F26319EC6BB1}.Release|x86.Build.0 = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(NestedProjects) = preSolution
|
GlobalSection(NestedProjects) = preSolution
|
||||||
{283532A3-A744-4C1C-960C-0B4FE9AF98C9} = {1F0A2AD3-81C3-4A53-8AEF-DC67ABC63183}
|
{283532A3-A744-4C1C-960C-0B4FE9AF98C9} = {1F0A2AD3-81C3-4A53-8AEF-DC67ABC63183}
|
||||||
|
{96FB9772-5619-47AD-93FC-F26319EC6BB1} = {1F0A2AD3-81C3-4A53-8AEF-DC67ABC63183}
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
SolutionGuid = {25300402-D4C7-4F92-841D-894A842FF055}
|
SolutionGuid = {25300402-D4C7-4F92-841D-894A842FF055}
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 300 KiB |
@@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<UIX xmlns="http://schemas.microsoft.com/2007/uix">
|
||||||
|
<UI Name="Frame">
|
||||||
|
<Content>
|
||||||
|
<Panel Layout="VerticalFlow">
|
||||||
|
<Children>
|
||||||
|
<Graphic Content="clr-res://SimpleIrisApp!ZuneDevLogo.png" StretchingPolicy="Uniform"
|
||||||
|
SizingPolicy="SizeToContent" MaximumSize="140,0"/>
|
||||||
|
|
||||||
|
<Text Content="Howdy from Microsoft Iris!" Font="Segoe UI,14" Color="White"/>
|
||||||
|
</Children>
|
||||||
|
</Panel>
|
||||||
|
</Content>
|
||||||
|
</UI>
|
||||||
|
</UIX>
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
using Microsoft.Iris;
|
||||||
|
using System;
|
||||||
|
using System.IO;
|
||||||
|
|
||||||
|
namespace SimpleIrisApp;
|
||||||
|
|
||||||
|
internal class Program
|
||||||
|
{
|
||||||
|
static void Main(string[] args)
|
||||||
|
{
|
||||||
|
Console.WriteLine("Launching Iris app...");
|
||||||
|
|
||||||
|
Application.Initialize();
|
||||||
|
|
||||||
|
Application.Window.Caption = "Iris app";
|
||||||
|
Application.Window.RequestLoad("clr-res://SimpleIrisApp!MainPage.uix#Frame");
|
||||||
|
|
||||||
|
Application.Run(OnInitialLoadComplete);
|
||||||
|
}
|
||||||
|
|
||||||
|
static void OnInitialLoadComplete(object arg)
|
||||||
|
{
|
||||||
|
Console.WriteLine("Initial load complete");
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<TargetFramework>net6.0</TargetFramework>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
<Platforms>x86;x64</Platforms>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<EmbeddedResource Include="Assets\*.*" />
|
||||||
|
<EmbeddedResource Include="Pages\*.*" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\..\UIX\UIX.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<Target Name="CopyCustomContent" AfterTargets="AfterBuild">
|
||||||
|
<Copy SourceFiles="..\..\UIXrender.dll" DestinationFolder="$(OutDir)" />
|
||||||
|
</Target>
|
||||||
|
|
||||||
|
</Project>
|
||||||
Reference in New Issue
Block a user