Top "Winforms" questions

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

Replacing .NET WebBrowser control with a better browser, like Chrome?

Is there any relatively easy way to insert a modern browser into a .NET application? As far as I understand, …

c# .net winforms webbrowser-control
How to open a new form from another form

I have form which is opened using ShowDialog Method. In this form i have a Button called More. If we …

c# .net winforms .net-2.0
Index of Currently Selected Row in DataGridView

It's that simple. How do I get the index of the currently selected Row of a DataGridView? I don't want …

c# .net winforms datagridview
How to remove all event handlers from an event

To create a new event handler on a control you can do this c.Click += new EventHandler(mainFormButton_Click); or …

c# .net winforms events
How can I make the cursor turn to the wait cursor?

I have a C# application that has users login to it, and because the hashing algorithm is expensive, it takes …

c# .net winforms cursor
How to change row color in datagridview?

I would like to change the color of a particular row in my datagridview. The row should be changed to …

c# winforms datagridview background-color
Cross-thread operation not valid: Control accessed from a thread other than the thread it was created on

I have a scenario. (Windows Forms, C#, .NET) There is a main form which hosts some user control. The user …

c# multithreading winforms invoke
Setting the filter to an OpenFileDialog to allow the typical image formats?

I have this code, how can I allow it to accept all typical image formats? PNG, JPEG, JPG, GIF? Here's …

c# winforms openfiledialog
How to bind a List to a ComboBox?

I want to connect a BindingSource to a list of class objects and then objects value to a ComboBox. Can …

c# winforms data-binding combobox
C# listView, how do I add items to columns 2, 3 and 4 etc?

To add items to column 1 in my listView control (Winform) I'm using listView1.Items.Add, this works fine but how …

c# winforms listview