Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C#/WinRT Example #17

Merged
merged 4 commits into from
Mar 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions Shmuelie.WinRTServer.sln
Original file line number Diff line number Diff line change
Expand Up @@ -45,48 +45,96 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Shmuelie.WinRTServer.Sample
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Shmuelie.WinRTServer.Sample.CppConsoleClient", "tests\Shmuelie.WinRTServer.Sample.CppConsoleClient\Shmuelie.WinRTServer.Sample.CppConsoleClient.vcxproj", "{A78E8601-3191-4987-B61A-E48256869A39}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Shmuelie.WinRTServer.Sample.WpfNet6Client", "tests\Shmuelie.WinRTServer.Sample.WpfNet6Client\Shmuelie.WinRTServer.Sample.WpfNet6Client.csproj", "{8FFAA094-2D9C-49B5-BB36-4B2BB7512444}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{F09FEFE0-ED5E-4A17-9C54-DB6C1CD559E9}.Debug|x64.ActiveCfg = Debug|Any CPU
{F09FEFE0-ED5E-4A17-9C54-DB6C1CD559E9}.Debug|x64.Build.0 = Debug|Any CPU
{F09FEFE0-ED5E-4A17-9C54-DB6C1CD559E9}.Debug|x86.ActiveCfg = Debug|Any CPU
{F09FEFE0-ED5E-4A17-9C54-DB6C1CD559E9}.Debug|x86.Build.0 = Debug|Any CPU
{F09FEFE0-ED5E-4A17-9C54-DB6C1CD559E9}.Release|x64.ActiveCfg = Release|Any CPU
{F09FEFE0-ED5E-4A17-9C54-DB6C1CD559E9}.Release|x64.Build.0 = Release|Any CPU
{F09FEFE0-ED5E-4A17-9C54-DB6C1CD559E9}.Release|x86.ActiveCfg = Release|Any CPU
{F09FEFE0-ED5E-4A17-9C54-DB6C1CD559E9}.Release|x86.Build.0 = Release|Any CPU
{7E420EEB-3D6C-49FB-9E60-AE448BAC8B1F}.Debug|x64.ActiveCfg = Debug|x64
{7E420EEB-3D6C-49FB-9E60-AE448BAC8B1F}.Debug|x64.Build.0 = Debug|x64
{7E420EEB-3D6C-49FB-9E60-AE448BAC8B1F}.Debug|x86.ActiveCfg = Debug|x86
{7E420EEB-3D6C-49FB-9E60-AE448BAC8B1F}.Debug|x86.Build.0 = Debug|x86
{7E420EEB-3D6C-49FB-9E60-AE448BAC8B1F}.Release|x64.ActiveCfg = Release|x64
{7E420EEB-3D6C-49FB-9E60-AE448BAC8B1F}.Release|x64.Build.0 = Release|x64
{7E420EEB-3D6C-49FB-9E60-AE448BAC8B1F}.Release|x86.ActiveCfg = Release|x86
{7E420EEB-3D6C-49FB-9E60-AE448BAC8B1F}.Release|x86.Build.0 = Release|x86
{87FC77FB-0955-4262-A0EF-39440C72A62A}.Debug|x64.ActiveCfg = Debug|x64
{87FC77FB-0955-4262-A0EF-39440C72A62A}.Debug|x64.Build.0 = Debug|x64
{87FC77FB-0955-4262-A0EF-39440C72A62A}.Debug|x86.ActiveCfg = Debug|x86
{87FC77FB-0955-4262-A0EF-39440C72A62A}.Debug|x86.Build.0 = Debug|x86
{87FC77FB-0955-4262-A0EF-39440C72A62A}.Release|x64.ActiveCfg = Release|x64
{87FC77FB-0955-4262-A0EF-39440C72A62A}.Release|x64.Build.0 = Release|x64
{87FC77FB-0955-4262-A0EF-39440C72A62A}.Release|x86.ActiveCfg = Release|x86
{87FC77FB-0955-4262-A0EF-39440C72A62A}.Release|x86.Build.0 = Release|x86
{AEAC1534-6CA9-4A7E-9F24-E1F72D261AE4}.Debug|x64.ActiveCfg = Debug|x64
{AEAC1534-6CA9-4A7E-9F24-E1F72D261AE4}.Debug|x64.Build.0 = Debug|x64
{AEAC1534-6CA9-4A7E-9F24-E1F72D261AE4}.Debug|x86.ActiveCfg = Debug|Win32
{AEAC1534-6CA9-4A7E-9F24-E1F72D261AE4}.Debug|x86.Build.0 = Debug|Win32
{AEAC1534-6CA9-4A7E-9F24-E1F72D261AE4}.Release|x64.ActiveCfg = Release|x64
{AEAC1534-6CA9-4A7E-9F24-E1F72D261AE4}.Release|x64.Build.0 = Release|x64
{AEAC1534-6CA9-4A7E-9F24-E1F72D261AE4}.Release|x86.ActiveCfg = Release|Win32
{AEAC1534-6CA9-4A7E-9F24-E1F72D261AE4}.Release|x86.Build.0 = Release|Win32
{1C27B092-88C3-4631-848B-F7165F8CF5E9}.Debug|x64.ActiveCfg = Debug|x64
{1C27B092-88C3-4631-848B-F7165F8CF5E9}.Debug|x64.Build.0 = Debug|x64
{1C27B092-88C3-4631-848B-F7165F8CF5E9}.Debug|x64.Deploy.0 = Debug|x64
{1C27B092-88C3-4631-848B-F7165F8CF5E9}.Debug|x86.ActiveCfg = Debug|x86
{1C27B092-88C3-4631-848B-F7165F8CF5E9}.Debug|x86.Build.0 = Debug|x86
{1C27B092-88C3-4631-848B-F7165F8CF5E9}.Debug|x86.Deploy.0 = Debug|x86
{1C27B092-88C3-4631-848B-F7165F8CF5E9}.Release|x64.ActiveCfg = Release|x64
{1C27B092-88C3-4631-848B-F7165F8CF5E9}.Release|x64.Build.0 = Release|x64
{1C27B092-88C3-4631-848B-F7165F8CF5E9}.Release|x64.Deploy.0 = Release|x64
{1C27B092-88C3-4631-848B-F7165F8CF5E9}.Release|x86.ActiveCfg = Release|x86
{1C27B092-88C3-4631-848B-F7165F8CF5E9}.Release|x86.Build.0 = Release|x86
{1C27B092-88C3-4631-848B-F7165F8CF5E9}.Release|x86.Deploy.0 = Release|x86
{080D9051-AF78-4B2A-B5CC-9F5BA79A0A9B}.Debug|x64.ActiveCfg = Debug|x64
{080D9051-AF78-4B2A-B5CC-9F5BA79A0A9B}.Debug|x64.Build.0 = Debug|x64
{080D9051-AF78-4B2A-B5CC-9F5BA79A0A9B}.Debug|x64.Deploy.0 = Debug|x64
{080D9051-AF78-4B2A-B5CC-9F5BA79A0A9B}.Debug|x86.ActiveCfg = Debug|x86
{080D9051-AF78-4B2A-B5CC-9F5BA79A0A9B}.Debug|x86.Build.0 = Debug|x86
{080D9051-AF78-4B2A-B5CC-9F5BA79A0A9B}.Debug|x86.Deploy.0 = Debug|x86
{080D9051-AF78-4B2A-B5CC-9F5BA79A0A9B}.Release|x64.ActiveCfg = Release|x64
{080D9051-AF78-4B2A-B5CC-9F5BA79A0A9B}.Release|x64.Build.0 = Release|x64
{080D9051-AF78-4B2A-B5CC-9F5BA79A0A9B}.Release|x64.Deploy.0 = Release|x64
{080D9051-AF78-4B2A-B5CC-9F5BA79A0A9B}.Release|x86.ActiveCfg = Release|x86
{080D9051-AF78-4B2A-B5CC-9F5BA79A0A9B}.Release|x86.Build.0 = Release|x86
{080D9051-AF78-4B2A-B5CC-9F5BA79A0A9B}.Release|x86.Deploy.0 = Release|x86
{6B799403-7548-4FD8-9AF8-76BD13473029}.Debug|x64.ActiveCfg = Debug|x64
{6B799403-7548-4FD8-9AF8-76BD13473029}.Debug|x64.Build.0 = Debug|x64
{6B799403-7548-4FD8-9AF8-76BD13473029}.Debug|x86.ActiveCfg = Debug|x86
{6B799403-7548-4FD8-9AF8-76BD13473029}.Debug|x86.Build.0 = Debug|x86
{6B799403-7548-4FD8-9AF8-76BD13473029}.Release|x64.ActiveCfg = Release|x64
{6B799403-7548-4FD8-9AF8-76BD13473029}.Release|x64.Build.0 = Release|x64
{6B799403-7548-4FD8-9AF8-76BD13473029}.Release|x86.ActiveCfg = Release|x86
{6B799403-7548-4FD8-9AF8-76BD13473029}.Release|x86.Build.0 = Release|x86
{A78E8601-3191-4987-B61A-E48256869A39}.Debug|x64.ActiveCfg = Debug|x64
{A78E8601-3191-4987-B61A-E48256869A39}.Debug|x64.Build.0 = Debug|x64
{A78E8601-3191-4987-B61A-E48256869A39}.Debug|x86.ActiveCfg = Debug|Win32
{A78E8601-3191-4987-B61A-E48256869A39}.Debug|x86.Build.0 = Debug|Win32
{A78E8601-3191-4987-B61A-E48256869A39}.Release|x64.ActiveCfg = Release|x64
{A78E8601-3191-4987-B61A-E48256869A39}.Release|x64.Build.0 = Release|x64
{A78E8601-3191-4987-B61A-E48256869A39}.Release|x86.ActiveCfg = Release|Win32
{A78E8601-3191-4987-B61A-E48256869A39}.Release|x86.Build.0 = Release|Win32
{8FFAA094-2D9C-49B5-BB36-4B2BB7512444}.Debug|x64.ActiveCfg = Debug|x64
{8FFAA094-2D9C-49B5-BB36-4B2BB7512444}.Debug|x64.Build.0 = Debug|x64
{8FFAA094-2D9C-49B5-BB36-4B2BB7512444}.Debug|x86.ActiveCfg = Debug|x86
{8FFAA094-2D9C-49B5-BB36-4B2BB7512444}.Debug|x86.Build.0 = Debug|x86
{8FFAA094-2D9C-49B5-BB36-4B2BB7512444}.Release|x64.ActiveCfg = Release|x64
{8FFAA094-2D9C-49B5-BB36-4B2BB7512444}.Release|x64.Build.0 = Release|x64
{8FFAA094-2D9C-49B5-BB36-4B2BB7512444}.Release|x86.ActiveCfg = Release|x86
{8FFAA094-2D9C-49B5-BB36-4B2BB7512444}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -100,6 +148,7 @@ Global
{080D9051-AF78-4B2A-B5CC-9F5BA79A0A9B} = {CB701FA8-9663-444D-9610-1A8CDFF30E61}
{6B799403-7548-4FD8-9AF8-76BD13473029} = {CB701FA8-9663-444D-9610-1A8CDFF30E61}
{A78E8601-3191-4987-B61A-E48256869A39} = {CB701FA8-9663-444D-9610-1A8CDFF30E61}
{8FFAA094-2D9C-49B5-BB36-4B2BB7512444} = {CB701FA8-9663-444D-9610-1A8CDFF30E61}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {97F14D53-B029-4E3E-B7DE-51A510B2D428}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
<TargetPlatformVersion>10.0.22000.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.18362.0</TargetPlatformMinVersion>
<TargetFramework>net462</TargetFramework>
<ExtrasUwpMetaPackageVersion>6.2.13</ExtrasUwpMetaPackageVersion>
<ExtrasUwpMetaPackageVersion>6.2.14</ExtrasUwpMetaPackageVersion>
<Platforms>x64;x86</Platforms>
<OutputType>winmdobj</OutputType>
<DebugType>full</DebugType>
<Nullable>disable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Windows.SDK.Contracts" Version="10.0.22000.197" />
Expand Down
11 changes: 11 additions & 0 deletions tests/Shmuelie.WinRTServer.Sample.Package/Package.appxmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,17 @@
Square44x44Logo="Images\Square44x44Logo.png">
</uap:VisualElements>
</Application>
<Application Id="Shmuelie.WinRTServer.Sample.WpfNet6Client"
Executable="Shmuelie.WinRTServer.Sample.WpfNet6Client\Shmuelie.WinRTServer.Sample.WpfNet6Client.exe"
EntryPoint="Windows.FullTrustApplication">
<uap:VisualElements
DisplayName="WPF .NET 6 Client"
Description="WPF .NET 6 Client"
BackgroundColor="transparent"
Square150x150Logo="Images\Square150x150Logo.png"
Square44x44Logo="Images\Square44x44Logo.png">
</uap:VisualElements>
</Application>
<Application Id="Shmuelie.WinRTServer.Sample.CppConsoleClient"
Executable="Shmuelie.WinRTServer.Sample.CppConsoleClient\Shmuelie.WinRTServer.Sample.CppConsoleClient.exe"
EntryPoint="Windows.FullTrustApplication">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@
<TargetPlatformMinVersion>10.0.18362.0</TargetPlatformMinVersion>
<DefaultLanguage>en-US</DefaultLanguage>
<AppxPackageSigningEnabled>false</AppxPackageSigningEnabled>
<NoWarn>$(NoWarn);NU1702</NoWarn>
<EntryPointProjectUniqueName>..\Shmuelie.WinRTServer.Sample.UwpClient\Shmuelie.WinRTServer.Sample.UwpClient.csproj</EntryPointProjectUniqueName>
<NoWarn>$(NoWarn);NU1702;APPX1707;APPX0006</NoWarn>
<EntryPointProjectUniqueName>..\Shmuelie.WinRTServer.Sample.WpfNet6Client\Shmuelie.WinRTServer.Sample.WpfNet6Client.csproj</EntryPointProjectUniqueName>
</PropertyGroup>
<ItemGroup>
<AppxManifest Include="Package.appxmanifest">
Expand All @@ -74,7 +74,7 @@
</ItemGroup>
<Import Project="$(WapProjPath)\Microsoft.DesktopBridge.targets" />
<PropertyGroup>
<AssetTargetFallback>native;$(AssetTargetFallback)</AssetTargetFallback>
<AssetTargetFallback>native;net481;net6.0-windows$(TargetPlatformVersion);$(AssetTargetFallback)</AssetTargetFallback>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.1" PrivateAssets="all" />
Expand All @@ -86,7 +86,8 @@
<TargetFramework>net462</TargetFramework>
</ProjectReference>
<ProjectReference Include="..\Shmuelie.WinRTServer.Sample.UwpClient\Shmuelie.WinRTServer.Sample.UwpClient.csproj" />
<ProjectReference Include="..\Shmuelie.WinRTServer.Sample.WpfNet6Client\Shmuelie.WinRTServer.Sample.WpfNet6Client.csproj" />
<ProjectReference Include="..\Shmuelie.WinRTServer.Sample.WpfNetFxClient\Shmuelie.WinRTServer.Sample.WpfNetFxClient.csproj" />
<ProjectReference Include="..\Shmuelie.WinRTServer.Sample.CppConsoleClient\Shmuelie.WinRTServer.Sample.CppConsoleClient.vcxproj" />
</ItemGroup>
</Project>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<NoWarn>;2008</NoWarn>
<NoWarn>;2008;APPX0006</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
Expand All @@ -35,7 +35,7 @@
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<NoWarn>;2008;APPX0006</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
Expand All @@ -47,7 +47,7 @@
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\ARM\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<NoWarn>;2008</NoWarn>
<NoWarn>;2008;APPX0006</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>ARM</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
Expand All @@ -58,7 +58,7 @@
<OutputPath>bin\ARM\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<NoWarn>;2008;APPX0006</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>ARM</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
Expand All @@ -70,7 +70,7 @@
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\ARM64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<NoWarn>;2008</NoWarn>
<NoWarn>;2008;APPX0006</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>ARM64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
Expand All @@ -82,7 +82,7 @@
<OutputPath>bin\ARM64\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<NoWarn>;2008;APPX0006</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>ARM64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
Expand All @@ -94,7 +94,7 @@
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<NoWarn>;2008</NoWarn>
<NoWarn>;2008;APPX0006</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
Expand All @@ -105,7 +105,7 @@
<OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<NoWarn>;2008;APPX0006</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
Expand Down
9 changes: 9 additions & 0 deletions tests/Shmuelie.WinRTServer.Sample.WpfNet6Client/App.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<Application x:Class="Shmuelie.WinRTServer.Sample.WpfNet6Client.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Shmuelie.WinRTServer.Sample.WpfNet6Client"
StartupUri="MainWindow.xaml">
<Application.Resources>

</Application.Resources>
</Application>
17 changes: 17 additions & 0 deletions tests/Shmuelie.WinRTServer.Sample.WpfNet6Client/App.xaml.cs
Original file line number Diff line number Diff line change
@@ -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 Shmuelie.WinRTServer.Sample.WpfNet6Client
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
}
}
10 changes: 10 additions & 0 deletions tests/Shmuelie.WinRTServer.Sample.WpfNet6Client/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -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)
)]
41 changes: 41 additions & 0 deletions tests/Shmuelie.WinRTServer.Sample.WpfNet6Client/MainWindow.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<Window x:Class="Shmuelie.WinRTServer.Sample.WpfNet6Client.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:Shmuelie.WinRTServer.Sample.WpfNet6Client"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
<Grid>
<StackPanel Orientation="Vertical">
<StackPanel Orientation="Horizontal">
<Button x:Name="RemBtn" Click="RemBtn_Click">Rem</Button>
<TextBlock x:Name="RemResponse" />
</StackPanel>
<StackPanel Orientation="Horizontal">
<Button x:Name="DelayBtn" Click="DelayBtn_Click">Delay</Button>
<ProgressBar x:Name="DelayProg" Width="100" VerticalAlignment="Stretch" />
</StackPanel>
<StackPanel Orientation="Horizontal">
<Button x:Name="LoopBtn" Click="LoopBtn_Click">Loop</Button>
<ProgressBar x:Name="LoopProg" VerticalAlignment="Stretch" Width="200" Minimum="0" Maximum="100" Value="0" />
</StackPanel>
<StackPanel Orientation="Horizontal">
<Button x:Name="ListBtn" Click="ListBtn_Click">List</Button>
<ProgressBar x:Name="ListProg" VerticalAlignment="Stretch" Width="200" Minimum="0" Maximum="10" Value="0" />
<TextBlock x:Name="ListResp" />
</StackPanel>
<Button x:Name="DateTimeUtcBtn" HorizontalAlignment="Left" Click="DateTimeUtcBtn_Click" />
<StackPanel Orientation="Horizontal">
<Button x:Name="OpenFileBtn" Click="OpenFileBtn_Click">Open</Button>
<TextBlock x:Name="OpenFileTxt" />
</StackPanel>
<StackPanel Orientation="Horizontal">
<Button x:Name="GetTimesBtn" Click="GetTimesBtn_Click">GetTimes</Button>
<TextBlock x:Name="LocalTimeTxt" />
<TextBlock x:Name="UtcTimeTxt" />
<TextBlock x:Name="NameAndDescriptionTxt" />
</StackPanel>
</StackPanel>
</Grid>
</Window>
Loading