diff --git a/PacticeSolution/Capture/MainWindow.xaml b/PacticeSolution/Capture/MainWindow.xaml
index 69c5d0b..14b4db3 100644
--- a/PacticeSolution/Capture/MainWindow.xaml
+++ b/PacticeSolution/Capture/MainWindow.xaml
@@ -20,6 +20,14 @@
-
+
+
+
+
+
+
+
+
+
diff --git a/PacticeSolution/Capture/MainWindow.xaml.cs b/PacticeSolution/Capture/MainWindow.xaml.cs
index 369e80b..307b7fa 100644
--- a/PacticeSolution/Capture/MainWindow.xaml.cs
+++ b/PacticeSolution/Capture/MainWindow.xaml.cs
@@ -80,5 +80,10 @@ namespace Capture
this.DragMove();
}
+
+ private void btnClose_Click(object sender, RoutedEventArgs e)
+ {
+ Application.Current.Shutdown();
+ }
}
}
diff --git a/PacticeSolution/Capture/OptionContext.cs b/PacticeSolution/Capture/OptionContext.cs
index 9e4d627..32f6d1f 100644
--- a/PacticeSolution/Capture/OptionContext.cs
+++ b/PacticeSolution/Capture/OptionContext.cs
@@ -10,6 +10,7 @@ namespace Capture
public class OptionContext
{
public int ButtonHeight { get; set; } = 20;
+ public int CloseButtonWidth { get; set; } = 20;
public Brush FrameColor { get; set; } = Brushes.Red;
public int FrameThickness { get; set; } = 2;
}