Top "Winforms" questions

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

Developing C# on Linux

I'd like to know if there are effective and open source tools to develop C# applications on Linux (Ubuntu). In …

c# .net linux winforms ide
Close a MessageBox after several seconds

I have a Windows Forms application VS2010 C# where I display a MessageBox for show a message. I have an …

c# winforms messagebox
C# ListView Column Width Auto

How can I set the column width of a c# winforms listview control to auto. Something like width = -1 / -2 ?

c# .net winforms listview width
Console.WriteLine does not show up in Output window

I have put some Console.WriteLine calls in to test, but they aren't appearing in the output box? public static …

c# .net winforms
How do I drag and drop files into an application?

I've seen this done in Borland's Turbo C++ environment, but I'm not sure how to go about it for a …

c# winforms drag-and-drop
How to disable textbox from editing?

I want to use a text box to display some text. I can not disable it, because then the scroll …

c# winforms textbox
Color different parts of a RichTextBox string

I'm trying to color parts of a string to be appended to a RichTextBox. I have a string built from …

c# string winforms colors richtextbox
How should you diagnose the error SEHException - External component has thrown an exception

Whenever a user reports an error such as System.Runtime.InteropServices.SEHException - External component has thrown an exception? is …

c# winforms .net-2.0 error-logging
How to get value of checked item from CheckedListBox?

I have used a CheckedListBox over my WinForm in C#. I have bounded this control as shown below - chlCompanies.…

c# .net winforms checkedlistbox
Visual Studio build fails: unable to copy exe-file from obj\debug to bin\debug

Update: A sample project reproducing this bug can be found here at Microsoft Connect. I have also tested and verified …

c# .net winforms visual-studio