Signed-off-by: Lev Rusanov <30170278+JDM170@users.noreply.github.com>
This commit is contained in:
2025-06-09 20:12:01 +07:00
parent 175817b262
commit 04dd654572
4 changed files with 279 additions and 1 deletions

33
ResultForm.cs Normal file
View File

@@ -0,0 +1,33 @@
using System;
using System.Drawing;
using System.Windows.Forms;
namespace ScreenCaptureApp
{
public partial class ResultForm : Form
{
public ResultForm(Image capturedImage)
{
InitializeComponent();
pictureBox1.Image = capturedImage;
}
private void btnSave_Click(object sender, EventArgs e)
{
this.DialogResult = DialogResult.OK;
this.Close();
}
private void btnCopy_Click(object sender, EventArgs e)
{
this.DialogResult = DialogResult.Yes;
this.Close();
}
private void btnCancel_Click(object sender, EventArgs e)
{
this.DialogResult = DialogResult.Cancel;
this.Close();
}
}
}