About ToolStrip in design-time
Tue, 16 Oct 2007 20:11:15 +0800
hi
I have a question about ToolStrip control in design-time.
In design-time, the ToolStrip control's designer can show some kinds of
ToolStripItem,like ToolStripItemLabel,ToolStripItemButton,ToolstripItemText
and so on.
Now I want the dropdownlist can only show the kind of ToolStripItemButton,
how can i do? ...
|
DataGridView - ReadOnly
Sat, 6 Oct 2007 22:06:26 +0100
I have a DataGridView column which will not allow me to set ReadOnly=False.
I can change the setting from True to False in the designer but, as soon as
I click OK and then go in and look again, it has gone back to True.
The underlying SQL which feeds the DataSet, BindingSource, etc is not
updateable. I suspec ...
|
Does OnPaintAdornments work with DesignSurface?
Wed, 03 Oct 2007 14:20:24 -0700
I've been trying to figure out ControlDesigners of late... I have a
custom design surface in which I've used the OnPaint event to change
the visual appearance of my user controls. When I add a
ControlDesigner, all of the custom paint work goes away. So I added
an OnPaintAdornments and did the same work and no ...
|
What is the best way to restrict a drop in a designer?
Wed, 03 Oct 2007 14:12:41 -0700
I have a designer surface that allows several custom user controls to
be used on it. I have created a new user control which is a container
that needs to only allow a few of the possible controls choices to be
placed in it.
I've experimented with a ParentControlDesigner and found that the
various 'Can...' me ...
|
question about copy/paste/cut in designer
Sat, 29 Sep 2007 10:51:45 +0800
hi:
Now I have implemented the copy/paste/cut by calling the StandardCommands
in the windows designer, I have some additional problem: when i copy some
controls in the designer, then paste them and new Name would be made.
ex: I copy "textbox1" and "textbox2",and then paste them as "textbox3" and
"textbox4" ...
|
Get the ExternaProvider Control Refrence in the UITypeEditor
Thu, 27 Sep 2007 14:38:29 +0200
Dear Sir
I created a control "MyControl" that implements the IExternalProvider Class, "MyControl" should provide the property MyProperty for all other controls.
I created also an UITypeEditor class that help the user to select "MyProperty1" form a DropDownList
My Problem is I need to get a re ...
|
Resize controls with window resize
Wed, 26 Sep 2007 06:00:04 -0700
My window opens at a particular size. When a user makes the window taller, I
want to expand the grid control to fit the extra available space. I only want
the grid control to grow with the window resize.
Is there a simple way to accomplish this? I'm using VB.Net in a Windows
application.
System Info:
Mi ...
|
|
|
Custom CodeDomSerializer issues
Mon, 24 Sep 2007 16:04:43 -0000
Hi All,
I wrote a custom CodeDom serializer class that first invokes default
serialization for a class, after which it does some custom code
generation.
public override object Serialize(IDesignerSerializationManager
manager, object value)
{
CodeDomSerializer baseSerializer =
(CodeDomSerializer)manager.Ge ...
|
Connection string design-time editor
Sun, 23 Sep 2007 11:07:02 +0200
Dear Sir
I'd like to create a user control that has a connection string property that allows the user to setup a connection at design time in the same fashion as in Project settings or TableAdapters.
When a someone adds this control to their form, there will be a property called ConnectionString that when it is cli ...
|
Trap a build start event from designer
Thu, 20 Sep 2007 15:28:10 -0700
I'm developing a custom .Net control (in C++), in which I can set values in
Designer.
I need to validate those values before build started, so I would like to
trap event when I click on "Build" or "Start debugging" (press F7 or F5).
Could you please provide any advice how to do it.
...
|