In my previous articles I have shown you how to draw a pixel in picture Box. In that method we have drawn pixel directly in control of picture Box so it was slow method. Here I am presenting the fastest method to draw a pixel. For this technique we first draw a pixel or bitmap in memory then only we load it in out picture Box.
Now lets start a project
1. Create a windows form application in c sharp and give project name fastPixelPlot or your choice.
2. Set the the form properties WindowState to maximized from properties window
3.Add pictureBox on a form from toolbox
4.Set pictureBox properties Dock to fill from properties window
I assume your form name is Form1 and pictureBox name is pictureBox1
Download complete application from GitHub.
Now lets start a project
1. Create a windows form application in c sharp and give project name fastPixelPlot or your choice.
2. Set the the form properties WindowState to maximized from properties window
3.Add pictureBox on a form from toolbox
4.Set pictureBox properties Dock to fill from properties window
I assume your form name is Form1 and pictureBox name is pictureBox1
Download complete application from GitHub.