BLOG.CSHARPHELPER.COM: Category Archive for controls

Change the form's AcceptButton depending on which control has focus in C#

Initialize a TreeView control to display a directory hierarchy in C#

Print the contents of a ListView control with data that doesn't fit in one line or one one page in C#

Make a form remain on top of or below other windows in C#

Make a StatusLabel display its text even if it doesn't fit in C#

Easily make owner-drawn ComboBoxes display images with text in C#

Easily make owner-drawn ComboBoxes display lists of colors or images in C#

Make a button display the picture that is under it in C#

Use a symbiote class to let the user graphically select a range of hours in C#

Let the user graphically select a range of hours in C#

Make an extender provider that makes it easy to preview TextBox changes in C#

Make a TextBox that lets the user only enter floats in C#

Make a TextBox that lets you preview and cancel changes to its text in C#, Part 2

Make a TextBox that lets you preview and cancel changes to its text in C#

Select a TreeView subtree when the user selects a node in C#

Expand a TreeView node's subtree in C#

Display an appropriate context menu when the user right clicks on a TreeView node in C#

Make a TreeView display an appropriate tooltip when the mouse moves over different nodes in C#

Load a TreeView control from a text file with tabs denoting indentation in C#

Use Windows Forms controls to make multiple stacked expanders in C#

Use Windows Forms controls to make an expander in C#

Make an image with a transparent background for use on a button in C#

Let the user press Ctrl+A to select all of the text in a TextBox in C#

Print the contents of a ListView control with data that doesn't fit in one line in C#

Print the contents of a ListView control in C#

Grow and shrink buttons when the mouse moves over them in C#

Make toolstrip buttons behave like a radio button group in C#

Use an OpenFileDialog's Filter property to let the user open different kinds of image files in C#

Display tips in a status bar instead of a tooltip in C#

Make a status strip label that sticks to the right side of the form in C#

Highlight the DataGridView row that is under the mouse in C#

Make a shaded ellipse control in C#

Use the ClientSize property to make a form fit its contents in C#

Use a message filter to make TextBox controls not display context menus in C#

Make a TextBox control without a context menu in C#

Use ActiveControl to enabled and disable menu items when appropriate in C#

Use the ActiveControl property to determine the active control in C#

Compare case-insensitive dictionaries in C#

Use a Dictionary object to store and look up items in C#

Use PNG files for button images and explore the images available in the Visual Studio Image Library in C#

Give transparent backgrounds to images displayed on buttons in C#

Make a TextBox convert text into proper case in C#

Make TextBoxes automatically convert to lower case or upper case in C#

Add useful extension methods to the ListView control to let it sort using all columns or clicked columns in C#

Display thumbnails for image files in a directory in C#

Display a different tooltip for each item in a ListBox in C#

Note when the user clicks any control on a form in C#

Center the cursor over a particular control in C#

Find the word under the mouse in a RichTextBox control in C#

Handle a NumericUpDown control's value change events in C#

Use a NumericUpDown control to let the user enter decimal values in C#

Use scrollbars to select a color in RGB or HLS format in C#

Make an owner-drawn ListView control that draws server status information in C#

Make numeric values line up nicely in ComboBox and ListBox controls in C#

Sort partly numeric items in a ComboBox or ListBox in C#

Sort items in a ComboBox or ListBox numerically in C#

Link data sources between ComboBoxes and ListBoxes in C#

Display items in a ListBox sorted in numeric order in C#

Use a PictureBox to make a slider with a value bar in C#

Use a PictureBox to make a slider with a needle in C#

Use a scroll bar to let the user select a non-integer value in C#

Make an owner-drawn ListBox that displays pictures in C#

Make an owner-drawn ListBox in C#

Validate a form's fields without trapping the user in a field in C#

Use the Validating event to make a form validate its fields in C#

Use tooltips and change them at run time in C#

Reparent a control in C#

Use Label controls to make a simple bar chart in C#

Open a PDF file in a WebBrowser control in C#

Display a series of PictureBoxes containing a standard palette of colors in C#

Use buttons to let the user move items between two ListBoxes in C#

Bind arrays and lists to ListBoxes to easily display their items in C#

Allow the user to select a limited number of CheckBoxes in C#

Use a tristate CheckBox to let the user select all or none of a group of other CheckBoxes in C#

Use a tristate CheckBox in C#

Add UAC shields to buttons, menu items, and picture boxes in C#

Bind a DataGridView control to a DataSet holding multiple tables at runtime in C#

Flush click events to prevent the user from clicking a button while its code is still running in C#

Update ComboBox choices when the user enters a new choice in C#

Set tab stops in a RichTextBox control in C#

Format pieces of text in a RichTextBox in C#

Make a menu and menu items at run time for a WPF application in C#

Make an owner drawn tooltip that displays a picture in C#

Handle errors when a DataGridView modifies data in C#

Make a DataTable in code and bind it to a DataGridView control in C#

Use Tag properties to allow controls to share code in C#

Size a form to fit its contents in C#

Display unique progress bars in C#

Let the user select a TabControl tab by pressing accelerator keys such as Alt-B in C#

Make a TabControl use owner-drawn tabs and let the user close tabs at run time in C#

Initialize a ComboBox's values from an enumerated type in C#

Use a NotifyIcon component to display status information in the system tray in C#

Calculate a DataGridView column's value and highlight specific values in C#

Use an array of objects to initialize a DataGridView in C#

Set a DataGridView control's column styles in C#

Make a type converter to let the PropertyGrid display and edit compound properties in C#

Let the PropertyGrid control display property descriptions and categories in C#

Use a PropertyGrid control to let the user edit program objects in C#

Make a ListView sort using the column you click in C#

Make a ListView control sort using all of its columns in C#

Calendar

May 2013
SuMoTuWeThFrSa
1234
567891011
12131415161718
19202122232425
262728293031

Subscribe


Blog Software
Blog Software