MainPage.xaml
MainPage.xaml
Code:
<Page
x:Class="ThreadFeeder.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:ThreadFeeder"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<Button Content="Re-Initialize" HorizontalAlignment="Left" Margin="224,128,0,0" VerticalAlignment="Top" Click="ButReInitialize_Click" Width="115"/>
<Button Content="Method 1" HorizontalAlignment="Left" Margin="224,192,0,0" VerticalAlignment="Top" Click="ButMethod1_Click" Width="115"/>
<Button Content="Method 2" HorizontalAlignment="Left" Margin="224,253,0,0" VerticalAlignment="Top" Click="ButMethod2_Click" Width="115"/>
<TextBox Name="txtBox" HorizontalAlignment="Left" Margin="144,256,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="39" InputScope="Number" TextChanged="TextBox_TextChanged"/>
<TextBlock HorizontalAlignment="Left" Margin="71,207,0,0" TextWrapping="Wrap" Text="1 Thread" VerticalAlignment="Top"/>
<TextBlock HorizontalAlignment="Left" Margin="71,268,0,0" TextWrapping="Wrap" Text="N Threads" VerticalAlignment="Top"/>
<TextBlock Name="txtStatus" HorizontalAlignment="Left" Margin="64,362,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Height="101" RenderTransformOrigin="0.5,0.5" Width="641" FontSize="24"/>
<TextBlock Name="txtTimeMethod1" HorizontalAlignment="Left" Margin="383,207,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top"/>
<TextBlock Name="txtTimeMethod2" HorizontalAlignment="Left" Margin="383,268,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top"/>
</Grid>
</Page>