Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • tie/ohj1/2021s/esimerkit
1 result
Show changes
Showing
with 253 additions and 111 deletions
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.MaterialComponents.Light.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
</style>
</resources>
......@@ -2,7 +2,6 @@
x:Class="AutolaskuriBind.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:AutolaskuriBind"
RequestedTheme="Light">
xmlns:local="using:AutolaskuriBind">
</Application>
......@@ -39,12 +39,6 @@ namespace AutolaskuriBind
/// <param name="e">Details about the launch request and process.</param>
protected override void OnLaunched(LaunchActivatedEventArgs e)
{
#if DEBUG
if (System.Diagnostics.Debugger.IsAttached)
{
this.DebugSettings.EnableFrameRateCounter = true;
}
#endif
Frame rootFrame = Window.Current.Content as Frame;
// Do not repeat app initialization when the Window already has content,
......
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProjectGuid>{164756E4-9013-4C97-8CF2-45168B4A5FE9}</ProjectGuid>
<ProjectGuid>{85A13ED6-3162-4A8D-B189-169A6A2CD409}</ProjectGuid>
<OutputType>AppContainerExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>AutolaskuriBind</RootNamespace>
<AssemblyName>AutolaskuriBind</AssemblyName>
<DefaultLanguage>en-US</DefaultLanguage>
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
<TargetPlatformVersion>10.0.10586.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.10240.0</TargetPlatformMinVersion>
<TargetPlatformVersion Condition=" '$(TargetPlatformVersion)' == '' ">10.0.19041.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<PackageCertificateKeyFile>AutolaskuriBind_TemporaryKey.pfx</PackageCertificateKeyFile>
<WindowsXamlEnableOverview>true</WindowsXamlEnableOverview>
<AppxPackageSigningEnabled>false</AppxPackageSigningEnabled>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
......@@ -64,6 +65,30 @@
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\ARM64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>ARM64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM64'">
<OutputPath>bin\ARM64\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>ARM64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
......@@ -87,10 +112,9 @@
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<ItemGroup>
<!-- A reference to the entire .Net Framework and Windows SDK are automatically included -->
<None Include="project.json" />
</ItemGroup>
<PropertyGroup>
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
</PropertyGroup>
<ItemGroup>
<Compile Include="App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
......@@ -105,7 +129,6 @@
<AppxManifest Include="Package.appxmanifest">
<SubType>Designer</SubType>
</AppxManifest>
<None Include="AutolaskuriBind_TemporaryKey.pfx" />
</ItemGroup>
<ItemGroup>
<Content Include="Properties\Default.rd.xml" />
......@@ -127,6 +150,11 @@
<SubType>Designer</SubType>
</Page>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
<Version>6.2.12</Version>
</PackageReference>
</ItemGroup>
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '14.0' ">
<VisualStudioVersion>14.0</VisualStudioVersion>
</PropertyGroup>
......
<Page
x:Class="AutolaskuriBind.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:AutolaskuriBind"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:Primitives="using:Telerik.UI.Xaml.Controls.Primitives"
x:Class="AutolaskuriBind.MainPage"
mc:Ignorable="d">
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<TextBox x:Name="LabelHA" Margin="10,63,0,0" TextWrapping="Wrap" Text="{Binding Count, ElementName=HA, Mode=TwoWay}" VerticalAlignment="Top" Width="164" FontSize="60" Foreground="Black" Background="#FF00F7F7" InputScope="Number" TextAlignment="Right" FontWeight="Bold" HorizontalAlignment="Left" RenderTransformOrigin="0.5,0.5" />
<Button x:Name="ButtonHA" Content="{Binding Name, ElementName=HA}" HorizontalAlignment="Left" Margin="10,213,0,0" VerticalAlignment="Top" Width="164" FontSize="60" Click="ButtonHA_Click" TabIndex="0" />
<TextBox x:Name="LabelKA" Margin="179,63,0,0" TextWrapping="Wrap" Text="{Binding Count, ElementName=KA, Mode=TwoWay}" VerticalAlignment="Top" Width="164" FontSize="60" Foreground="Black" Background="#FF00F7F7" InputScope="Number" TextAlignment="Right" FontWeight="Bold" HorizontalAlignment="Left" RenderTransformOrigin="0.5,0.5" />
<Button x:Name="ButtonKA" Content="{Binding Name, ElementName=KA}" HorizontalAlignment="Left" Margin="179,213,0,0" VerticalAlignment="Top" Width="164" FontSize="60" Click="ButtonHA_Click" TabIndex="2"/>
<Button x:Name="ButtonNollaa" Content="Nollaa" HorizontalAlignment="Left" Margin="50,348,0,0" VerticalAlignment="Top" Width="262" FontSize="40" Click="ButtonNollaa_Click" TabIndex="3"/>
<local:BindLaskuri x:Name="HA" HorizontalAlignment="Left" Height="100" Margin="50,510,0,0" VerticalAlignment="Top" Width="100"/>
<local:BindLaskuri x:Name="KA" HorizontalAlignment="Left" Height="100" Margin="50,510,0,0" VerticalAlignment="Top" Width="100"/>
<Slider x:Name="slider" HorizontalAlignment="Left" Margin="19,461,0,0" VerticalAlignment="Top" Width="293" Value="{Binding Count, ElementName=HA, Mode=TwoWay}"/>
mc:Ignorable="d"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<Grid>
<TextBox x:Name="LaskuriHA" Margin="10,63,0,0" TextWrapping="Wrap" Text="{Binding Count, ElementName=HA, Mode=TwoWay}" VerticalAlignment="Top" Width="164" FontSize="60" Foreground="Black" Background="#FF00F7F7" InputScope="Number" TextAlignment="Right" FontWeight="Bold" HorizontalAlignment="Left" RenderTransformOrigin="0.5,0.5" />
<Button x:Name="ButtonHA" Content="{Binding Name, ElementName=HA}" HorizontalAlignment="Left" Margin="10,213,0,0" VerticalAlignment="Top" Width="164" FontSize="60" TabIndex="0" Click="ButtonHA_Click" />
<TextBox x:Name="LaskuriKA" Margin="179,63,0,0" TextWrapping="Wrap" Text="{Binding Count, ElementName=KA, Mode=TwoWay}" VerticalAlignment="Top" Width="164" FontSize="60" Foreground="Black" Background="#FF00F7F7" InputScope="Number" TextAlignment="Right" FontWeight="Bold" HorizontalAlignment="Left" RenderTransformOrigin="0.5,0.5" />
<Button x:Name="ButtonKA" Content="{Binding Name, ElementName=KA}" HorizontalAlignment="Left" Margin="179,213,0,0" VerticalAlignment="Top" Width="164" FontSize="60" TabIndex="2" Click="ButtonHA_Click"/>
<Button x:Name="ButtonNollaa" Content="Nollaa" HorizontalAlignment="Left" Margin="50,348,0,0" VerticalAlignment="Top" Width="262" FontSize="40" TabIndex="3" Click="ButtonNollaa_Click"/>
<local:BindLaskuri x:Name="HA" HorizontalAlignment="Left" Margin="400,550,0,0" VerticalAlignment="Top"/>
<local:BindLaskuri x:Name="KA" HorizontalAlignment="Left" Margin="1035,565,0,0" VerticalAlignment="Top"/>
</Grid>
</Page>
using Windows.UI.Xaml;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation;
namespace AutolaskuriBind
{
......@@ -28,5 +39,6 @@ namespace AutolaskuriBind
if (ctr is BindLaskuri) ((BindLaskuri)ctr).Count = 0;
}
}
}
}
......@@ -7,11 +7,11 @@
IgnorableNamespaces="uap mp">
<Identity
Name="142e9c1f-0ba3-4511-9520-4fedfce50863"
Name="a1b2bb2a-c116-4697-a3eb-2e07bfccac67"
Publisher="CN=vesal"
Version="1.0.0.0" />
<mp:PhoneIdentity PhoneProductId="142e9c1f-0ba3-4511-9520-4fedfce50863" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
<mp:PhoneIdentity PhoneProductId="a1b2bb2a-c116-4697-a3eb-2e07bfccac67" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
<Properties>
<DisplayName>AutolaskuriBind</DisplayName>
......
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AutolaskuriBind")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("AutolaskuriBind")]
[assembly: AssemblyCopyright("Copyright © 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: ComVisible(false)]
\ No newline at end of file
<!--
This file contains Runtime Directives used by .NET Native. The defaults here are suitable for most
developers. However, you can modify these parameters to modify the behavior of the .NET Native
optimizer.
Runtime Directives are documented at https://go.microsoft.com/fwlink/?LinkID=391919
To fully enable reflection for App1.MyClass and all of its public/private members
<Type Name="App1.MyClass" Dynamic="Required All"/>
To enable dynamic creation of the specific instantiation of AppClass<T> over System.Int32
<TypeInstantiation Name="App1.AppClass" Arguments="System.Int32" Activate="Required Public" />
Using the Namespace directive to apply reflection policy to all the types in a particular namespace
<Namespace Name="DataClasses.ViewModels" Serialize="All" />
-->
<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">
<Application>
<!--
An Assembly element with Name="*Application*" applies to all assemblies in
the application package. The asterisks are not wildcards.
-->
<Assembly Name="*Application*" Dynamic="Required All" />
<!-- Add your application specific runtime directives here. -->
</Application>
</Directives>
\ No newline at end of file
{
"dependencies": {
"Microsoft.NETCore.UniversalWindowsPlatform": "5.0.0"
},
"frameworks": {
"uap10.0": {}
},
"runtimes": {
"win10-arm": {},
"win10-arm-aot": {},
"win10-x86": {},
"win10-x86-aot": {},
"win10-x64": {},
"win10-x64-aot": {}
}
}
\ No newline at end of file
......@@ -2,7 +2,6 @@
x:Class="AutolaskuriProp.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:AutolaskuriProp"
RequestedTheme="Light">
xmlns:local="using:AutolaskuriProp">
</Application>
......@@ -39,12 +39,6 @@ namespace AutolaskuriProp
/// <param name="e">Details about the launch request and process.</param>
protected override void OnLaunched(LaunchActivatedEventArgs e)
{
#if DEBUG
if (System.Diagnostics.Debugger.IsAttached)
{
this.DebugSettings.EnableFrameRateCounter = true;
}
#endif
Frame rootFrame = Window.Current.Content as Frame;
// Do not repeat app initialization when the Window already has content,
......
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProjectGuid>{f7bb1c00-e7c5-4b8e-bc02-f8cad737c338}</ProjectGuid>
<ProjectGuid>{5DB3504D-FE8F-4E38-AA26-C1ED511FA1F1}</ProjectGuid>
<OutputType>AppContainerExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>AutolaskuriProp</RootNamespace>
<AssemblyName>AutolaskuriProp</AssemblyName>
<DefaultLanguage>en-US</DefaultLanguage>
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
<TargetPlatformVersion>10.0.10586.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.10240.0</TargetPlatformMinVersion>
<TargetPlatformVersion Condition=" '$(TargetPlatformVersion)' == '' ">10.0.19041.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<PackageCertificateKeyFile>AutolaskuriProp_TemporaryKey.pfx</PackageCertificateKeyFile>
<WindowsXamlEnableOverview>true</WindowsXamlEnableOverview>
<AppxPackageSigningEnabled>false</AppxPackageSigningEnabled>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
......@@ -66,6 +65,30 @@
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\ARM64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<NoWarn>;2008</NoWarn>
<DebugType>full</DebugType>
<PlatformTarget>ARM64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|ARM64'">
<OutputPath>bin\ARM64\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>
<Optimize>true</Optimize>
<NoWarn>;2008</NoWarn>
<DebugType>pdbonly</DebugType>
<PlatformTarget>ARM64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
......@@ -89,10 +112,9 @@
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<ItemGroup>
<!-- A reference to the entire .Net Framework and Windows SDK are automatically included -->
<None Include="project.json" />
</ItemGroup>
<PropertyGroup>
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
</PropertyGroup>
<ItemGroup>
<Compile Include="App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
......@@ -106,9 +128,6 @@
<AppxManifest Include="Package.appxmanifest">
<SubType>Designer</SubType>
</AppxManifest>
<None Include="AutolaskuriProp_TemporaryKey.pfx" />
</ItemGroup>
<ItemGroup>
<Content Include="Properties\Default.rd.xml" />
......@@ -130,11 +149,14 @@
<SubType>Designer</SubType>
</Page>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
<Version>6.2.12</Version>
</PackageReference>
</ItemGroup>
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '14.0' ">
<VisualStudioVersion>14.0</VisualStudioVersion>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
......@@ -143,4 +165,4 @@
<Target Name="AfterBuild">
</Target>
-->
</Project>
</Project>
\ No newline at end of file
<Page
x:Class="AutolaskuriProp.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:AutolaskuriProp"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
xmlns:Custom="using:AutolaskuriBind"
x:Class="AutolaskuriProp.MainPage"
mc:Ignorable="d"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<TextBox x:Name="LaskuriHA" Margin="10,63,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="164" FontSize="60" Foreground="Black" Background="#FF00F7F7" InputScope="Number" TextAlignment="Right" FontWeight="Bold" HorizontalAlignment="Left" RenderTransformOrigin="0.5,0.5" />
<Button x:Name="ButtonHA" Content="HA" HorizontalAlignment="Left" Margin="10,213,0,0" VerticalAlignment="Top" Width="164" FontSize="60" Click="ButtonHA_Click" TabIndex="0" />
<TextBox x:Name="LaskuriKA" Margin="179,63,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="164" FontSize="60" Foreground="Black" Background="#FF00F7F7" InputScope="Number" TextAlignment="Right" FontWeight="Bold" HorizontalAlignment="Left" RenderTransformOrigin="0.5,0.5" />
<Button x:Name="ButtonKA" Content="KA" HorizontalAlignment="Left" Margin="179,213,0,0" VerticalAlignment="Top" Width="164" FontSize="60" Click="ButtonKA_Click" TabIndex="2"/>
<Button x:Name="ButtonNollaa" Content="Nollaa" HorizontalAlignment="Left" Margin="50,348,0,0" VerticalAlignment="Top" Width="262" FontSize="40" Click="ButtonNollaa_Click" TabIndex="3"/>
<Grid>
<Grid>
<TextBox x:Name="LaskuriHA" Margin="10,63,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="164" FontSize="60" Foreground="Black" Background="#FF00F7F7" InputScope="Number" TextAlignment="Right" FontWeight="Bold" HorizontalAlignment="Left" RenderTransformOrigin="0.5,0.5" />
<Button x:Name="ButtonHA" Content="HA" HorizontalAlignment="Left" Margin="10,213,0,0" VerticalAlignment="Top" Width="164" FontSize="60" Click="ButtonHA_Click" TabIndex="0" />
<TextBox x:Name="LaskuriKA" Margin="179,63,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="164" FontSize="60" Foreground="Black" Background="#FF00F7F7" InputScope="Number" TextAlignment="Right" FontWeight="Bold" HorizontalAlignment="Left" RenderTransformOrigin="0.5,0.5" />
<Button x:Name="ButtonKA" Content="KA" HorizontalAlignment="Left" Margin="179,213,0,0" VerticalAlignment="Top" Width="164" FontSize="60" Click="ButtonKA_Click" TabIndex="2"/>
<Button x:Name="ButtonNollaa" Content="Nollaa" HorizontalAlignment="Left" Margin="50,348,0,0" VerticalAlignment="Top" Width="262" FontSize="40" Click="ButtonNollaa_Click" TabIndex="3"/>
</Grid>
</Grid>
</Page>
......@@ -13,6 +13,7 @@ using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation;
namespace AutolaskuriProp
{
/// <summary>
......@@ -48,4 +49,5 @@ namespace AutolaskuriProp
}
}
}
......@@ -7,11 +7,11 @@
IgnorableNamespaces="uap mp">
<Identity
Name="c468b96e-e9e3-47f9-a9bd-cb04d074c2ee"
Name="70c1dd1f-89e8-4e6f-bb6b-56b5fb28c2c1"
Publisher="CN=vesal"
Version="1.0.0.0" />
<mp:PhoneIdentity PhoneProductId="c468b96e-e9e3-47f9-a9bd-cb04d074c2ee" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
<mp:PhoneIdentity PhoneProductId="70c1dd1f-89e8-4e6f-bb6b-56b5fb28c2c1" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
<Properties>
<DisplayName>AutolaskuriProp</DisplayName>
......
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AutolaskuriProp")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("AutolaskuriProp")]
[assembly: AssemblyCopyright("Copyright © 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: ComVisible(false)]
\ No newline at end of file
<!--
This file contains Runtime Directives used by .NET Native. The defaults here are suitable for most
developers. However, you can modify these parameters to modify the behavior of the .NET Native
optimizer.
Runtime Directives are documented at https://go.microsoft.com/fwlink/?LinkID=391919
To fully enable reflection for App1.MyClass and all of its public/private members
<Type Name="App1.MyClass" Dynamic="Required All"/>
To enable dynamic creation of the specific instantiation of AppClass<T> over System.Int32
<TypeInstantiation Name="App1.AppClass" Arguments="System.Int32" Activate="Required Public" />
Using the Namespace directive to apply reflection policy to all the types in a particular namespace
<Namespace Name="DataClasses.ViewModels" Serialize="All" />
-->
<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">
<Application>
<!--
An Assembly element with Name="*Application*" applies to all assemblies in
the application package. The asterisks are not wildcards.
-->
<Assembly Name="*Application*" Dynamic="Required All" />
<!-- Add your application specific runtime directives here. -->
</Application>
</Directives>
\ No newline at end of file
{
"dependencies": {
"Microsoft.NETCore.UniversalWindowsPlatform": "5.0.0"
},
"frameworks": {
"uap10.0": {}
},
"runtimes": {
"win10-arm": {},
"win10-arm-aot": {},
"win10-x86": {},
"win10-x86-aot": {},
"win10-x64": {},
"win10-x64-aot": {}
}
}
\ No newline at end of file
using static System.Console;
string tervehdys = "hello";
WriteLine(tervehdys);
Moi();
void Moi()
{
WriteLine(tervehdys);
}