Jestem już prawie u celu, jedyny błąd który mi się pojawia to "identifier "s" is undefined"... nie mam pomysu jak sobie z tym poradzić... pomoże ktoś?
Size s = pictureBox1->Size;
Bitmap ^memoryImage = gcnew Bitmap(s.Width, s.Height);
Graphics ^memoryGraphics = Graphics::FromImage(memoryImage);
Point ScreenPos = this->pictureBox1->PointToScreen(Point(0, 0));
memoryGraphics->CopyFromScreen(ScreenPos.X, ScreenPos.Y, 0, 0, s);
memoryImage->Save(L"D:\\filename2.png");