28/04/2014 by Nitesh

How To Round a decimal value to 2 decimal places in C#

Friends, This is a very basic post that will explain few ways of restricting a decimal value to 2 decimal places in C#. Normally, we need to output the decimal values to 2 precision numbers. However, sometimes we also need to restrict the decimal variable itself to store not more than 2 decimal values (For…

Continue Reading »

27/02/2014 by Nitesh

How to Add Child Forms to a Menu Item automatically in MDI Windows Form Application

Friends, When working with MDI applications in Windows forms, on several occasions we end up opening a lot of child forms and then finding across where the child form is. To provide a nice user experience, it is advisable to display all open child forms under a menu named “Windows”. This is not a must…

Continue Reading »

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 »

16/12/2013 by Nitesh

How to Setup your PC to start using Xamarin

Friends, Mobile Market has grown at a rapid speed in past few years and with the advent of big players like Apple, Google and Microsoft with their different OS, we have been hooked to use smartphones more than PC these days. As the use of smartphones has increased, so has increased the use of apps…

Continue Reading »

1 6 7 8 9 10