Top "Winforms" questions

WinForms is the informal name given to Windows Forms, a GUI class library in the Microsoft .NET Framework and Mono.

Set default format of datetimepicker as dd-MM-yyyy

I have a datetimepicker which on loading of windows form shows me format in 'MM-dd-yyyy', as follows: I would like …

c# .net vb.net winforms datetimepicker
How do I pass command-line arguments to a WinForms application?

I have two different WinForms applications, AppA & AppB. Both are running .NET 2.0. In AppA I want to open AppB, …

c# winforms command-line
Sort dataGridView columns in C# ? (Windows Form)

I have a datagridview that i bind from an sql table, in that dv i have those attributes: Id, Name …

c# winforms datagridview sorting grid
Word wrap for a label in Windows Forms

How can one get word wrap functionality for a Label for text which goes out of bounds?

c# .net winforms label controls
Selecting default item from Combobox C#

I have few items on my ComboBox items collection, and i'd like to select one item from this list and …

c# .net winforms combobox
How to change the button text for 'Yes' and 'No' buttons in the MessageBox.Show dialog?

I need to change the message box control buttons Yes to Continue and No to Close. How do I change …

c# winforms messagebox
Best way to access a control on another form in Windows Forms?

First off, this is a question about a desktop application using Windows Forms, not an ASP.NET question. I need …

c# winforms controls
Make a borderless form movable?

Is there a way to make a form that has no border (FormBorderStyle is set to "none") movable when the …

c# winforms border movable
How do I execute code AFTER a form has loaded?

In .NET, Windows Forms have an event that fires before the Form is loaded (Form.Load), but there is no …

c# .net winforms events
Binding Listbox to List<object> in WinForms

What's the simplest way to bind a Listbox to a List of objects in Windows Forms?

c# list winforms dictionary listbox