| Thread | Last Post | Replies |
|
| Setting properties on hosted toolstrip control at design time | 31 Jul 2009 15:01 GMT | 1 |
I created my own toolstrip control using ToolStripControlHost. When I add this to a toolstrip, I want to adjust the properties of the hosted control in the designer but they always get reset when I compile. Can anyone tell me how to fix this? This should be similar to accessing
|
| How can a text box allow a user to press ESC key to undo edit chan | 28 Jul 2009 14:11 GMT | 10 |
I am developing a windows form in VS2008 C#. A Text box control in the Detail view allows a user to press <CTL>-z to undo the edit changes in the text box but the <ESC> key does nothing. How can the <ESC> key work the same as the <CTL>-z key press to undo text
|
| Pen, Brush - lifetime & dispose | 21 Jul 2009 22:36 GMT | 5 |
Hi; First off, if I am always using the same 3 brushes & 2 pens when I draw in a control, should I create them for the lifetime of the control, or create/dispose of them on each paint/draw?
|
| Using DataGrid in Windows Mobile | 21 Jul 2009 10:30 GMT | 2 |
I am writing a Windows Mobile 5.0 Pocket PC application using Visual Studio 2005. I am using Datagrid control to show values from a table to the user. I used 'Generate Data Forms' smart tasks option of the datagrid and this creates 2
|
| How do I draw a bitmap at it's pixel size? | 19 Jul 2009 18:13 GMT | 1 |
Hi; I am trying to draw a PNG file that is 16x16 pixels. But no matter what I try to do, it draws it at 20x20 pixels, I assume because of it's DPI setting.
|
| Problem with ToolStrip-Control an inherited Forms | 18 Jul 2009 22:57 GMT | 4 |
I've found the following problem: I've got a form "Form1" with a ToolStrip-Control. It's as public defined. And I've got an 2. form "Form2" that inherit from "Form1" In Form2 I can see the toolstrip-control from Form1, but I haven't any
|
| DataGridView text wrapping | 17 Jul 2009 09:00 GMT | 12 |
I have some text that's too wide to fit into a DatagridView column so I have used CellStyle.WrapMode = System.Windows.Forms.DataGridViewTriState.True. Unfortunately, it only wraps on blanks, no matter how long the string is. This means that I can't see last part of the string.
|
| help with dock and groupboxes | 14 Jul 2009 16:26 GMT | 1 |
VS 2005. I have a splitter on the form, and in the left panel, some groupboxes, arranged vertically: GB1 dock: top
|
| ContextMenu Does Not Work? | 09 Jul 2009 22:18 GMT | 8 |
Why doesn't the following sample code work? The click event never seems to fire for the menu items. Similar code works for the ContextMenuStrip class but I need the modal nature of ContextMenu. private void ShowContextMenu()
|
| Drag Drop - Move Data Between Apps | 08 Jul 2009 15:25 GMT | 3 |
I want to drag drop data from one app to another. If the other app chooses to ‘move’ the data, I need to respond by deleting it from the source app. I was reading about the GiveFeedBack event.
|
| Adding new Item to a data-bound ComboBox | 06 Jul 2009 14:58 GMT | 1 |
I have a data-bound ComboBox. I want it to show the text "---- Please Select ---" in addition to the bound data. I try to use BindingSource's Insert method but it throws argument exception with this message : "Cannot insert external objects to this list."
|
| Property Grid One Property Updates Another | 03 Jul 2009 05:08 GMT | 1 |
Writing custom properties for user controls... I have a property that updates another property. But I only want this to occur when the one property is changed in the property grid, not when the form is loaded in design view (at which time the property that updates the other ...
|
| Enabling and Disabling nodes in TreeView Control in C#.Net 2.0 | 03 Jul 2009 05:08 GMT | 1 |
I have drag and drop a TreeView control into my Windows Form. I have added some parent nodes and the child nodes to the treeView Control. I am not able to find any property or any event for Enabling/Disabling all the child nodes under the parent nodes.
|
| OpenFileDialog - get Microsoft Live files | 02 Jul 2009 18:39 GMT | 10 |
Hi; How can I get the "Microsoft Live" option in the OpenFileDialog control? thanks - dave
|