Update after Final revision
Signed-off-by: Lev Rusanov <30170278+JDM170@users.noreply.github.com>
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user