Category Archives: Windows Forms

Sortable Binding List for custom data objects

Binding generic collections to Windows forms Data gridview can be done using DataSource property of Gridview control. But the problem with normal generic lists that it doesn’t support sorting, by clicking the grid view headers. .Net Framework provides an generic … Continue reading

Posted in .Net, .Net 3.0 / 3.5, Windows Forms | Tagged , , , , , , | Leave a comment

ArgumentException – This row already belongs to another table

Today one of my colleague got this problem while copying datarow from one table to another, he just want to update few values of a same schema dataTable. So he used following method. He was getting an exception like “This … Continue reading

Posted in .Net, .Net 3.0 / 3.5, .Net 4.0, ASP.Net, Windows Forms | Tagged , , , , , | Leave a comment

How to add simple water mark to images

While working on one of my friend’s blog, I got a chance to write a code snippet which helps to add water mark for all images automatically. And I created a simple library do this. I added few extra options, … Continue reading

Posted in .Net, .Net 4.0, ASP.Net, Windows Forms | Tagged , , , , | 1 Comment

CaptureItPlus – A screen capture utility

Few days back I started working on another open source project, for capturing screen shots. It is similar or can be used as an alternative to Snipping Tool in Windows Vista / 7. Here is the main features of CaptureItPlus … Continue reading

Posted in .Net, .Net 3.0 / 3.5, Miscellaneous, Win 32 API, Windows Forms | Tagged , , , , , | 4 Comments

Image cropping control in C# for Windows Forms

This post is also inspired by a SO post – Image Cropping Control for WinForms with Selection Rectangle. I had done a similar implementation using VB.Net long back but I couldn’t remember the implementation. Today I tried it again and … Continue reading

Posted in .Net, .Net 3.0 / 3.5, .Net 4.0, Windows Forms | Tagged , , , , | 2 Comments