all groups > dotnet windows forms designtime > february 2006
Problem with IDE when overriding Text property
Posted by Jason Barnett at 2/28/2006 10:05:46 AM
I noticed when overriding the Text property of the
System.Windows.Forms.UserControl that the Form.Designer file does not
reflect changes made via the property browser. In other words, when you
override the Text property and then try to change it's value at design-time,
the value is not seri... more >>
How to add StandardCommands.Undo/Redo to MenuCommandService?
Posted by Alan at 2/26/2006 7:08:27 PM
I implemented an undoEngine in my custom form designer (using MSKB 2004
sample). But when I call GlobalInvoke(StandardCommands.Undo), the
menucommandservice cannot find the StandardCommands.Undo menucommand. I
found out that the StandardCommands.Undo was never added to my
menucommandservice... more >>
Notify when collection changes
Posted by Greg at 2/23/2006 1:54:11 PM
I have a control derived from UserControl with a collection member. When
the designer invokes its collection editor and the developer adds/removes
items, can I get notified of that in my control? When they hit OK on the
collection editor dialog, I'd like to invoke some of my code. How do I ... more >>
PropertyGrid Click events
Posted by msnews.microsoft.com at 2/21/2006 9:28:47 PM
Does any one have any experience getting any click events in the property
grid where a property value is selected. The functionality I want to
duplicate is simular to the events tab in VS2003/2005 where clicking on the
specific property would create and wire an event.
Thanks in advance,
Ma... more >>
.Net 2.0 Rich Text Editor
Posted by Jay Douglas at 2/21/2006 9:22:20 AM
Is anybody aware of a component or sample application using a RichTextBox
with a formatting toolbar using the .Net 2.0 framework. (Much like WordPad)
... I found one control, http://www.textcontrol.com/products/dotnet/,
however this control is using the 1.1 framework and would cause deployme... more >>
Windows Froms 2.0 Horizontal Rule
Posted by Josh Crosby at 2/21/2006 9:11:30 AM
I have searched high and low, tryed a picture box, 3D border, etc... doesn't
appear right, can someone help me with this, i'm sure it's really simple. How
do you put a horizontal rule, or seperator bar on a windows form, i.e. those
that are most commonly seen on dialog boxes.
Thanks in adva... more >>
Possible Bug of the TableLayoutPanel?
Posted by Alan at 2/20/2006 6:56:29 PM
Try this to duplicate the possible bug:
1. Drag a tablelayoutpanel on a form inside the VS 2005 IDE.
2. Make it two rows and two columns.
3. Put a textbox in the seond column on the seond row
4. Set the textbox's columnspan = 2.
Since the default grow behavior of the tablelayoutpanel is ... more >>
Drawing on View control of DesignSurface
Posted by Fitim Skenderi at 2/20/2006 12:00:00 AM
Hi,
I am trying to draw a custom image to the View Control of DesignSurface but
without any success. I have tried by capturing Graphics from window handle
of View control (Graphics.FromHwnd) but without any success. I have also
tried to set BackgroundImage but again without success.
Can ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Subclassed control issues
Posted by CJM at 2/17/2006 7:42:56 AM
I'm currently working on an assembly that has both forms and controls
in it.
When I create a new control based on UserControl and compile, it shows
up in the toolbox for all forms in this assembly.
When I create a subclassed control (from label in this case), it does
not show up in the tool... more >>
How does PropertyGrid implement multi select?
Posted by bgm at 2/14/2006 3:51:24 AM
When using the propertygrid (in Visual Studio or the property grod
control), it allows for us to edit properties of multiple objects.
Now, let's say we have two textboxes TextBox1 and TextBox2 with
TextBox1.Visible = false and textBox2.Visible = true;
Now, let's say we are editing both these tex... more >>
How to hide the component tray in the designer?
Posted by Alan at 2/11/2006 2:16:27 PM
I'd like to hide the component tray (which is automatically turned on when
dropping a component on the designer) from the user so that they're not aware
of the behind-the-scene extenderprovider component for the extended
properties. I read some post saying that the componenttray is just a spli... more >>
Using my own component without adding to toolbox, "Toolbox Setup"
Posted by pRumpf NO[at]SPAM procom-gmbh.com at 2/9/2006 9:47:33 AM
Hi,
I create my own component
public class MyComponent : System.ComponentModel.Component
{
....
}
1)
Can I add MyComponent to a Form using the designer, without adding
MyComponent into the toolbox ?
2)
Is it possible to "Setup" the Toolbox for different Projects ?
My Problem is... more >>
Get DesignMode
Posted by Lespaul36 at 2/8/2006 5:02:11 PM
I have a base control that has anther control (ctr2) in it. I want ctr2 to
react in different ways depending on if the control is in designmode. I
can't seem to find out if it is or not when I inherit the base control.
Any thoughts?
... more >>
Load an assmebly both at design and run time ...
Posted by Nicola Cisternino at 2/7/2006 12:00:00 AM
Hi all,
I've developed a custom control that uses a public interface and can be
plugged using external assemblies that implements this interface.
The assembly, therefor, must be loaded dynamically using reflection
(Reflection.Assembly.LoadFrom("<assemblyname")).
Now, all works fine at run tim... more >>
Load an assembly both at design and run time ....
Posted by Nicola Cisternino at 2/7/2006 12:00:00 AM
Hi all,
I've developed a custom control that uses a public interface and can be
plugged using external assemblies that implements this interface.
The assembly, therefor, must be loaded dynamically using reflection
(Reflection.Assembly.LoadFrom("<assemblyname")).
Now, all works fine at run tim... more >>
inheriting a form with special constructor
Posted by msnews.microsoft.com at 2/2/2006 9:35:23 PM
Hi,
I created a base form, what holds several graphical elements (text boxes,
etc). This form has only one constructor, what expects one integer
parameter. Call this BaseForm
It's constructor looks like:
public BaseForm(int Param1)
{
InitializeComponent();
}
Now I inherit a second form ... more >>
disabling back button of window
Posted by Vani Donthula at 2/1/2006 6:42:58 PM
Hi
In my web application,in one of the page
where I need to disable the back button of the toolbar.
Suggestions on this are welcome.
Thanks,
Vani.
... more >>
Language & Localizable properties for Windows Form designer
Posted by Notre Poubelle at 2/1/2006 10:16:27 AM
Hello,
I'm looking to host the Windows Form designer outside Visual Studio. I've
seen several examples from various places that demonstrate how to rehost the
design surface and provide implementations for the toolbox, property page,
and other parts of the designer.
What I'm interested i... more >>
|