Top "Winforms" questions

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

Adding new line of data to TextBox

I'm doing a chat client, and currently I have a button that will display data to a multi-line textbox when …

c# .net winforms user-interface textbox
How to fit Windows Form to any screen resolution?

I work on VS 2008 with C#. This below code does not work for me. My form was designed in 1024 x 768 …

c# winforms c#-3.0 desktop-application
Label word wrapping

Is there a way to do a word wrap in a .NET label control? I know there is an alternate …

c# winforms c#-4.0 c#-3.0
Binding an enum to a WinForms combo box, and then setting it

a lot of people have answered the question of how to bind an enum to a combo box in WinForms. …

c# .net winforms combobox enums
Saving image to file

I am working on a basic drawing application. I want the user to be able to save the contents of …

c# winforms image gdi+ save
How to remove the focus from a TextBox in WinForms?

I need to remove the focus from several TextBoxes. I tried using: textBox1.Focused = false; Its ReadOnly property value is …

c# .net winforms textbox focus
Change PictureBox's image to image from my resources?

How do I set a PictureBox image to an image from my resources? (I tried this without success: pictuerbox.Image = "…

c# winforms image resources picturebox
How can I bring my application window to the front?

How to bring my application window to front? For example whan my app needs attention. This is for my personal …

c# .net winforms
Change the Textbox height?

How do I change the height of a textbox ? Neither of the below work: this.TextBox1.Size = new System.Drawing.…

c# winforms .net-3.5 textbox
How to format DateTime columns in DataGridView?

I'm using a DataGridView with object data binding to display information about logging entities in a system, retrieved via SOAP …

c# winforms data-binding datetime datagridview