Repository navigation
Expand file tree
/
Copy pathMainWindow.axaml
More file actions
24 lines (23 loc) · 1.71 KB
/
Copy pathMainWindow.axaml
File metadata and controls
24 lines (23 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<Window xmlns="https://github.com/avaloniaui"
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"
mc:Ignorable="d" d:DesignWidth="500" d:DesignHeight="300"
x:Class="CFL.MainWindow"
Title="CFL"
WindowStartupLocation="CenterScreen"
Position="0,0"
Width="500"
Height="300"
Background="White"
Closed="Window_Closed">
<Grid>
<Image x:Name="Img_Logo" Source="/Assets/LOGO.png" Margin="0,0,0,150" Width="300" Height="150"/>
<TextBlock x:Name="TBl_NumberOfClicksPerSecond" Margin="0,0,240,0" Width="100" Height="20" Text="Count Clicks" Foreground="Black"/>
<TextBox x:Name="TB_NumberOfClicksPerSecond" Margin="0,0,100,0" Width="25" Height="10" BorderBrush="Black" Background="White" Foreground="Black" VerticalContentAlignment="Center" HorizontalContentAlignment="Center"/>
<TextBlock x:Name="TBl_DelayBetweenClicks" Margin="100,0,0,0" Width="100" Height="20" Text="Delay" Foreground="Black"/>
<TextBox x:Name="TB_DelayBetweenClicks" Margin="150,0,0,0" Width="25" Height="10" BorderBrush="Black" Background="White" Foreground="Black" VerticalContentAlignment="Center" HorizontalContentAlignment="Center"/>
<Button x:Name="Btn_Switch" Margin="0,200,0,50" Width="70" Height="30" HorizontalAlignment="Center" VerticalAlignment="Center" Content="On" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" Click="Btn_Switch_Click">
</Button>
</Grid>
</Window>