-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
38 lines (33 loc) · 2.17 KB
/
MainWindow.xaml
File metadata and controls
38 lines (33 loc) · 2.17 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<Window x:Class="RamLimiterPro.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="RamLimiter Pro" Height="500" Width="600"
Background="#121212" Foreground="White" ResizeMode="CanMinimize">
<Grid Margin="20">
<StackPanel>
<TextBlock Text="Target Apps:" FontSize="14" Foreground="#AAAAAA"/>
<TextBox x:Name="txtApps" Height="35" Margin="0,10,0,10" Background="#252526" Foreground="White"
BorderBrush="#3E3E42" VerticalContentAlignment="Center" Padding="5"
Text="chrome, discord, spotify" FontFamily="Consolas"/>
<TextBlock Text="Running Mode:" FontSize="14" Foreground="#AAAAAA" Margin="0,10,0,0"/>
<ComboBox x:Name="cmbMod" Height="35" Margin="0,5,0,20" Background="#252526" Foreground="Black" FontSize="14" VerticalContentAlignment="Center">
<ComboBoxItem Content="AUTO (5-12 sec)" IsSelected="True"/>
<ComboBoxItem Content="Terminator (3 sec - NON-STOP)"/>
<ComboBoxItem Content="Angry (5 sec - NO MERCY)"/>
<ComboBoxItem Content="DEFAULT (10 sn - THE BALANCE)"/>
<ComboBoxItem Content="Sleepy (30 sn - RELAX)"/>
<ComboBoxItem Content="Playing Dead (60 sn - ECONOMIC)"/>
</ComboBox>
<Button x:Name="btnToggle" Content="START" Height="50"
Background="#2E7D32" Foreground="White" FontWeight="Bold" FontSize="16"
Click="BtnToggle_Click" BorderThickness="0"/>
<Border Background="#1E1E1E" Margin="0,20,0,0" Padding="10" CornerRadius="5">
<TextBlock x:Name="lblStatus" Text="Waiting for start..."
Foreground="#00E676" FontFamily="Consolas" FontSize="13"
TextWrapping="NoWrap"/>
</Border>
<TextBlock x:Name="lblInfo" Text="Mode: Waiting" HorizontalAlignment="Right"
Margin="0,5,0,0" Foreground="Gray" FontSize="11"/>
</StackPanel>
</Grid>
</Window>