I`m having a problem with my assignment. I should make simple Captcha in Windows Form Application. I have one text box, picture box and button. When I click GO button, my text from text box should become Captcha end show itself in picture box. Any idea how can I do that?
Thanks all for helping me.
Well, I would say there are two steps involved here.
Convert your text into an image (bitmap)
Alter the image you created and display it in the picturebox
You will probably (for clarity in my opinion) need two methods, one for each of those tasks.
For the first step I would check out the Drawing namespace. You need a method that returns a Bitmap object first. You can add the text from your textbox to the bitmap with the Graphics.Drawstring method. There's a (somewhat) decent example of this being done here.
For the second step, you need to modify your new bitmap object. This is the tricky part. I would suggest you start here.
I've never done anything like what you are doing though. Those are good starting points though.
Try searching Google for "Image Processing in C#" also for more ideas with the second step.
Those are just my suggestions, someone might have better ones.