Windows Forms methods enable you to perform various tasks, such as opening, activating and closing the form.
The commonly used methods are explained in the following:
1. Show ( )
Description : Is used to display a form.
Example...
Friday, April 15, 2016
Thursday, April 7, 2016
Types of Dialog Boxes in Windows Form C#
Windows provides the following type of dialog boxes:
1. Modal
2. System Modal
3. Modeless
Modal Dialog Box : A modal dialog box does not allow you to switch focus to another area of the application, which has invokes the d...
Sunday, January 10, 2016
Change System date Format using c#
If you want to change Your system date format using c# then you must to use RegistryKey class. This class is available in Microsoft.Win32 namespace. By using this class you can change the short and long date format, Before any ch...
Friday, January 8, 2016
Export DataGridView to Excel using OpenXML and ClosedXML
In this article, I will explain you, How to export data of DataGridView to Excel file. In this article, I will use OpenXML and ClosedXml libraries for export data. We can also export data of DataGridView using Foreach loop by fe...
Sunday, November 16, 2014
How to add controls dynamically in windows form c#
Visual studio provide the best features to design the form. By the designer window, you can add the controls from the toolBox. After added the items, you can set the properties by the property window. Same this things, you can do...
Tuesday, December 24, 2013
How to Delete Multiple Records from DataGridView in Winforms: C#
To remove multiple records from the DataGridView, programmer need to write some line of code, code may be written in a button's click event that is outside of the DataGridView. The article shows about how to select multiple recor...
Friday, December 6, 2013
Moving Records from a DataGridView to Another in C#: WinForms
Drag-n-Drop operation is an important action in the winforms application like our file explorer. This article will let you perform moving items from one datagridview to another, code is in c#. Follow the article and you will easi...
Saturday, June 1, 2013
Change textbox value according to Combo Box in c# programming: WinForms
In our previous post we have learnt perform binding Combo Box and Listbox, now it’s time to get access their values and use them to bind
another controls in winforms. I am binding a combo box with an employee list and them acces...