all groups > dotnet windows forms designtime > march 2006
Control custom property
Posted by Andy at 3/30/2006 9:57:30 AM
Hi all,
I'm creating my own DataGridViewColumn class, and have added a string
property to it which should be settable via the Property designer.
I've gotten the property to show up, but even if i set a value, the
code generated sets the property to null, not the value I typed.
Any ideas?
T... more >>
Inherited BaseForm with ToolStripContainer
Posted by Techno_Dex at 3/29/2006 9:13:57 AM
I am having problems with a BaseForm which contains a ToolStripContainer
which all of my other Forms inherit from. In my inherited forms I don't
have access at design time to drop ToolStrips or MenuStrips onto the
base.ToolStripContainer Panels (except for the ContentPanel for some
reason).... more >>
VS2003 design-directive changed in VS2005?
Posted by Marinus at 3/29/2006 1:42:01 AM
Hello,
In VS2003 I could use the directive/flag DESIGN in my (C++) code to change
the desinger-behaviour. My code looks like this:
#ifdef DESIGN
.... (c++ code during design-time)
#else
.... (c++ code during run-time)
#endif
It seems this flag has been changed/removed in VS2005.
Ca... more >>
Upgrade VS2003 to VS2005 so Winform is split into separate .Designer.cs file (partial class)
Posted by Kai Bohli at 3/29/2006 12:00:00 AM
Hi All !
I got a few heavy forms with a lot of controls. What is the easiest/fastest way to convert these to
"partial class" type (Separate Designer.cs file) ?
TIA
Best wishes
Best wishes
Kai Bohli
kaiboe@online.no
Norway... more >>
Why Form Designer does not generate properties for controls (only fields)?
Posted by tomj NO[at]SPAM softhome.net at 3/28/2006 3:20:19 AM
Form Designer generates only fields for controls.
Form1.Designer.cs:
....
private Button closeButton;
....
Disadvantages:
- if I want to make closeButton protected or public I need to manually
write property(because making field protected or public is not
recommended)
- event handlers ... more >>
Mimic Sliding windiws in Visual Studio
Posted by vulcanite at 3/27/2006 8:46:02 AM
Does anyone know how to implement the 'solution explorer' and 'properties'
sliding panels you get in VS2005.
One way seems to be to put buttons on a panel for the 'autohide' bar and set
the image propety to vertically oriented text (e.g. created in Paint). The
animation could be acheived b... more >>
VS2005 ToolBox Behavior
Posted by Bruce at 3/20/2006 10:55:32 AM
I have a couple of questions related to the VS2005 ToolBox. It appears
that VS2005 automatically adds any controls or components found in the
current solution, which is different that VS2003, in which you had to
explicitly add them.
If you, for example, add a property to a custom control, when... more >>
Custom localization using an ExtenderProvider - some hurdles
Posted by Thomas Due at 3/20/2006 2:21:46 AM
I have decided upon my own localization scheme for my .NET 2.0
applications. The main reason for this, is that I do not want to use
satellite assemblies. There are several reasons for this, which I don't
want to go into now.
The design I have in mind is as follows:
In a separate assembly I... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Retrieving project location at designtime
Posted by Thomas Due at 3/20/2006 12:36:52 AM
I am currently designing an extender which needs to save a file in the
project location. Any ideas on how I retrieve the project location at
designtime from a component?
--
Thomas Due
Posted with XanaNews version 1.18.1.0
"There is always some madness in love. But there is also always som... more >>
Missing C# Code Snippets
Posted by JezB at 3/16/2006 3:47:24 PM
Trying to generate the necessary methods in order to implement an interface,
I'm given the error that they are missing! Indeed in Code Snippet Manager
there is nothing under c#, though VB has many.
How can I add the necessary snippets ?
... more >>
Label in custom control
Posted by jcavo at 3/8/2006 11:33:58 AM
Hi All,
I have a custom control that includes a Label as one of its properties.
During design-time I am able to modify the values of various properties of
the custom control, including Font, Location, .. of the Label property.
This all works very well with VS 2003. Recently I created the s... more >>
One or more errors encountered while loading the designer.
Posted by Daniel Corbett at 3/3/2006 2:31:30 PM
Then it says, "Object reference not set to an instance of an object. "
and "at DevExpress.XtraGrid.Design.GridControlDesigner.Initialize(IComponent
component)"
In my error list, numerous variables that work fine in running code, but it
says stuff like "Object reference not set to an instan... more >>
Suggestions For Touch Screen Form Sizes [C#]
Posted by MikeY at 3/3/2006 8:44:20 AM
Hi Everyone,
I'm looking for suggestions for touch screen form sizes. I'm trying to build
a hospitality touch screen application w/ Window forms. However I am getting
a bit flustered with choosing what size of the form I should have (base my
application on). I have been measuring various mo... more >>
|