0
Next I’m making a tutorial screen for the program, I did not find a good solution to do.
I created a screen over another with transparency, so far so good, but when I put an image on this screen, it was also transparent. So I created a third screen, it’s totally transparent and with the images, so far so good, but the images were pixelated or checkered, it’s very blurred, to see the pixels around it, I don’t know what this effect is called, but anyway, I can’t make them look pretty.
I have tried with a Picturebox, but keep the black background, I tried also with the code below, this is transparent, but it is as I described pixel:
protected override void OnPaint(PaintEventArgs e)
{
RectangleF rect = new RectangleF((this.Size.Width * 0.26f) / 2, (this.Size.Height * 0.26f) / 2, this.Size.Width * 0.84f, this.Size.Height * 0.84f);
e.Graphics.DrawImage(this.img, rect);
}
If anyone has any idea how it can be done, or if it can be done with less Form’s...
It was more or less what I used, but with the black color, but would it be possible to reduce the border of pictureBox a little? The border is kind of flashy for the image I use. @Vinicius
– Gabriel Monteiro de Oliveira