Update after Final revision

Signed-off-by: Lev Rusanov <30170278+JDM170@users.noreply.github.com>
This commit is contained in:
2025-06-09 21:03:20 +07:00
parent 594217203d
commit e763e52fa2
3 changed files with 25 additions and 35 deletions

View File

@@ -18,12 +18,7 @@ namespace ScreenCaptureApp
public ScreenCaptureForm()
{
InitializeForm();
CaptureScreen();
}
private void InitializeForm()
{
this.SetTopLevel(true);
this.FormBorderStyle = FormBorderStyle.None;
this.WindowState = FormWindowState.Maximized;
this.Opacity = 0.3;
@@ -35,6 +30,8 @@ namespace ScreenCaptureApp
this.Size = Screen.PrimaryScreen.Bounds.Size;
_selectionPen = new Pen(Color.Red, 2) { DashStyle = System.Drawing.Drawing2D.DashStyle.Dash };
CaptureScreen();
}
private void CaptureScreen()