26/02/2014 by Nitesh

How to Add Custom Checkbox Column to DataGridView in Windows Forms

Friends, In this post we will see how we can add a custom Checkbox column to an existing DataGridView in windows forms. Generally, when you assign a data source to the DataGridView and the data source contains a “bit” column or “bool” column, DataGridView automatically converts it into a Checkbox column. However, at times we…

Continue Reading »

10/01/2014 by Nitesh

How to Move a Windows Form By Dragging

Friends, Today, I was working on a Desktop application where I was required to drag a form by Mouse left click as we do in normal drag and drop operations. the only difference in this scenario was I needed to drag the entire form and the form was not supposed to be dropped anywhere else….

Continue Reading »

10/01/2014 by Nitesh

How to Get Width & Height of Desktop in WinForms

Friends, In certain scenarios we need to know the screen resolution our desktop application will be running on. To get this information, Microsoft provides us with a very handy class namely SystemInformation that can be found in System.Windows.Forms namespace. Using this class, we can almost every information about the current system environment, the application is…

Continue Reading »

26/10/2012 by Nitesh

AutoComplete Textbox in Windows Form

Friends, We use AutoComplete feature in our websites many times. Wonder, how we can achieve the same in windows forms. Let us build it today. We will do it step by step as mentioned below- Open Visual Studio and create a new Windows Form Application Project and name it “AutoCompleter” Drag and Add a TextBox…

Continue Reading »

1 3 4 5