diff --git a/WinPowerHelper.Wpf/MainWindow.xaml b/WinPowerHelper.Wpf/MainWindow.xaml
index 0eb722e..2c4ce58 100644
--- a/WinPowerHelper.Wpf/MainWindow.xaml
+++ b/WinPowerHelper.Wpf/MainWindow.xaml
@@ -9,12 +9,13 @@
mc:Ignorable="d"
DataContext="{StaticResource MainViewModel}"
Title="{Binding AppTitle}"
- MinHeight="240" MinWidth="420" Width="500" Height="240"
+ MinHeight="240" MinWidth="420" Width="500" Height="250"
MaxHeight="400" MaxWidth="680" ResizeMode="CanMinimize">
+
@@ -46,30 +47,39 @@
Command="{Binding SetIntervalToZeroCmd}">set to zero
-
+
+
-
-
+
+ Style="{StaticResource ComboBox}"
+ SelectedValue="{Binding SelectedPowerOption, Mode=OneWayToSource, UpdateSourceTrigger=PropertyChanged, FallbackValue=Sleep}"
+ IsEditable="False"
+ ItemContainerStyle="{StaticResource ComboBoxItem.Accent}">
-
+
-
-
-
-
+
diff --git a/WinPowerHelper.Wpf/Styles/Controls.ComboBox.xaml b/WinPowerHelper.Wpf/Styles/Controls.ComboBox.xaml
new file mode 100644
index 0000000..ed3f642
--- /dev/null
+++ b/WinPowerHelper.Wpf/Styles/Controls.ComboBox.xaml
@@ -0,0 +1,269 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/WinPowerHelper.Wpf/Styles/Controls.xaml b/WinPowerHelper.Wpf/Styles/Controls.xaml
index 92c53a9..87e968e 100644
--- a/WinPowerHelper.Wpf/Styles/Controls.xaml
+++ b/WinPowerHelper.Wpf/Styles/Controls.xaml
@@ -2,5 +2,6 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
+
\ No newline at end of file
diff --git a/WinPowerHelper.Wpf/Views/TimerControl.xaml b/WinPowerHelper.Wpf/Views/TimerControl.xaml
index cb85466..6341523 100644
--- a/WinPowerHelper.Wpf/Views/TimerControl.xaml
+++ b/WinPowerHelper.Wpf/Views/TimerControl.xaml
@@ -3,10 +3,11 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- mc:Ignorable="d"
- d:DesignHeight="180" d:DesignWidth="480"
+ mc:Ignorable="d" d:DesignWidth="480"
+ xmlns:system="clr-namespace:System;assembly=System.Runtime"
x:Name="timespan">
+ 96
-
-
-
-
-
-
-
-
-