Skip to content

Tag Archives: Drawing

Color Picker Dropdown using C#

15-Oct-09

While playing around one of hobby project, I found there is a nice color picker dropdown available in WordPad, for setting the font color. I was using Windows
Color Dialog. So I thought of implementing a WordPad like color picker. And I think I almost readed my goal. I need to try this in the [...]

Convert Image to Icon using C#

30-Sep-09

Sometimes we will get nice Images from Web as Icons. But we can’t use these Images as application icons in .Net, because the .Net supports *.ico(Icon) format only. This code will convert an Image to Icon using C#. It is written .Net Framework 3.5, but it should work in .Net 2.0. It supports Images upto [...]

Captcha using ASP.Net and C#

15-Sep-09

Few days back, I got some question related to Captcha (security mechanism, which helps web masters to avoid spam) in a Forum. So I thought of implementing one. I got few nice scripts in Code Project, its a simple implementation, no too much logic and not too complex to understand. Also I am using an [...]

Loading Image from URL in Windows Forms

19-May-09

Recently I got a chance to work on Windows Application, it is Twitter client using C#. In that I need to show some Image from a URL. I thought like Microsoft will provide some way to load Images from URL and I tried to do the same with “Image.FromFile” method. But it failed. [...]

Freehand drawing with .Net Windows forms

26-Feb-09

Few days back, I got a requirement to implement Free Hand drawing in .Net. I searched a lot but I didn’t get any good solution, the one I found from code project was Invalidating the picture box every time. So today I got a solution, it not seems to be a perfect solution because Paint [...]