Top "Winforms" questions

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

How to programmatically set cell value in DataGridView?

I have a DataGridView. Some of the cells receive their data from a serial port: I want to shove the …

c# winforms datagridview
Display a tooltip over a button using Windows Forms

How can I display a tooltip over a button using Windows Forms?

.net winforms button tooltip
Simplest way to have a configuration file in a Windows Forms C# application

I'm really new to .NET, and I still didn't get the hang about how configuration files work. Every time I …

.net xml winforms configuration
How do you simulate Mouse Click in C#?

How do you simulate Mouse clicks in C# winforms applications?

c# .net winforms
How to check if a windows form is already open, and close it if it is?

I have a form "fm" that is a simple info window that opens every 10 mins (fm.Show();). How I can …

c# winforms
Check/Uncheck a checkbox on datagridview

Can someone help me why it doesn't work? I have a checkbox and if I click on it, this should …

c# winforms datagridview datagridviewcheckboxcell
Programmatically add new column to DataGridView

I have a DataGridView bound to a DataTable. The DataTable is populated from a database query. The table contains a …

c# winforms datagridview
Best way to implement keyboard shortcuts in a Windows Forms application?

I'm looking for a best way to implement common Windows keyboard shortcuts (for example Ctrl+F, Ctrl+N) in my …

c# winforms keyboard-shortcuts
How do I center a window onscreen in C#?

I need a way to center the current window. So for example, if a user pushes a button, I want …

c# winforms screen center
How to change the color of progressbar in C# .NET 3.5?

I'd like to do two things on my progress bar. Change the green colour to red. Remove the blocks and …

c# .net winforms .net-3.5