Uploaded!
MainPage.xaml
Code:
<Page
x:Class="Classical_Ball_Fall.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:Classical_Ball_Fall"
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}">
<Canvas HorizontalAlignment="Left" Height="500" Margin="106,79,0,0" VerticalAlignment="Top" Width="600" Background="DarkBlue" Name="Canvas01">
<Rectangle Fill="#FFF4F4F5" Height="1" Canvas.Left="250" Stroke="Yellow" Canvas.Top="99" Width="100"/>
<Ellipse Fill="#FFF4F4F5" Height="50" Canvas.Left="275" Stroke="Black" Canvas.Top="100" Width="50" Name="Ellipse01"/>
<Rectangle Fill="#FFF4F4F5" Height="12" Canvas.Left="100" Stroke="Black" Canvas.Top="450" Width="400"/>
</Canvas>
<Button Content="Start" HorizontalAlignment="Left" Margin="710,150,0,0" VerticalAlignment="Top" Click="ButtonStart_Click" Name="buttonStart"/>
<Button Content="Reset" HorizontalAlignment="Left" Margin="710,220,0,0" VerticalAlignment="Top" Click="ButtonReset_Click" Name="buttonReset"/>
<Button Content="Close" HorizontalAlignment="Left" Margin="710,290,0,0" VerticalAlignment="Top" Click="ButtonClose_Click" Name="buttonClose"/>
<Slider HorizontalAlignment="Left" Margin="713,380,0,0" VerticalAlignment="Top" Width="200" Name="Slider01" ValueChanged="Slider01_ValueChanged"/>
<Slider HorizontalAlignment="Left" Margin="713,460,0,0" VerticalAlignment="Top" Width="200" Name="Slider02" ValueChanged="Slider02_ValueChanged"/>
<Slider HorizontalAlignment="Left" Margin="713,540,0,0" VerticalAlignment="Top" Width="200" Name="Slider03" ValueChanged="Slider03_ValueChanged"/>
<TextBlock HorizontalAlignment="Left" Height="48" Margin="713,350,0,0" TextWrapping="Wrap" Text="N Simulation calculation bewteen display frames. Higher is more accurate but uses more CPU power so it must be balanced. Also watch out for extreme conditions on very hi-end settings" VerticalAlignment="Top" Width="325"/>
<TextBlock HorizontalAlignment="Left" Height="48" Margin="713,430,0,0" TextWrapping="Wrap" Text="
A scale for the distance being dispayed but it can also be viewed as a scale for the time" VerticalAlignment="Top" Width="325"/>
<TextBlock HorizontalAlignment="Left" Height="48" Margin="713,510,0,0" TextWrapping="Wrap" Text="
Ball's Elasticity (Large is good but not too large)" VerticalAlignment="Top" Width="325"/>
</Grid>
</Page>