all groups > dotnet windows forms designtime > october 2005
Code serialization order
Posted by arjunsingri NO[at]SPAM gmail.com at 10/31/2005 2:49:02 AM
Hello,
I want the code to serialize in the following order:
MyClass object2 = new MyClass();
Wrapper object1 = new Wrapper(object2);
but currently the code is being serialized in the following way:
Wrapper object1 = new Wrapper(object2);
MyClass object2 = new MyClass();
This is an e... more >>
Design-time Licensing
Posted by perabi NO[at]SPAM nospam.com at 10/29/2005 12:00:00 AM
What is the license restrictions for using controls such as
"SurfaceDesigner" and allowing the end user tweak the position of controls
in a application written in .NET?
Thanks.
... more >>
Adding a toolbar tab?
Posted by Carl at 10/26/2005 12:00:00 AM
Hi,
For my own components, how do I add them to a own tab automatically? I add
them to the toolbox using this method:
[ToolboxItem(true)]
[ToolboxBitmap(typeof(MyStuff.Common.Controls.MyComboBox),
"MyComboBox.ico")]
I would like to specify an attribute that says which tab in the toolbo... more >>
cannot use unicode in variable names
Posted by cody at 10/20/2005 12:00:00 AM
for example i cannot use the dollar-sign or the euro-sign in a variable name
although c# itself allows it.
is this a bug?
... more >>
Scrolling and Toolbar problem
Posted by Fiaz Ali Saleemi at 10/19/2005 10:55:33 PM
Hi All
I have a form which contains Toolbar at the top. Form is scrollable when I
scroll the form Toolbar also get scrolled and disappeared. What would be the
best solution to overcome this issue. Any help will be appreciated.
Thanking in advance
Fiaz Ali Saleemi
... more >>
How to reflect on application assembly from a library assembly in designer
Posted by Bill Henning at 10/19/2005 8:49:29 PM
Ok, this is a really wacky situation but I have this scenario:
1) An application project.
2) A library project with controls used by the application.
In the designer of one of the controls, what I want to do is enumerate
through all the classes in the application project and look for classes ... more >>
PRB: .NET Beta2 : Cannot move ContainerControls on designer surface
Posted by Stuart Carnie at 10/18/2005 4:42:13 PM
I have a working example of a designer host from available working examples
:
http://www.divil.co.uk/net/articles/designers/hosting.asp
and
http://msdn.microsoft.com/msdnmag/issues/04/12/CustomFormsDesigner/default.aspx
I'd recommend the first link, as it's there appear to be more issu... more >>
ShouldSerialize question
Posted by Carlo at 10/18/2005 12:00:00 AM
Hi all,
In my Form1, I have this statement:
Me.EnhancedPanelGreen2.Background.Color =
System.Drawing.Color.GreenYellow
This is normal, because I've set to GreenYellow the Color property of the
class Background in the component EnhancedPanelGreen2.
Now, the following is the part of ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Root designer and form serialization problem
Posted by Sergey M at 10/17/2005 3:54:11 PM
Hi all,
We have a custom form designer that is based on Microsoft's sample
available for download. There were few things missing in that sample
that we've added:
- IExtenderListService implementation for site class
- GetExtenderProviders() for site class that calls into class host
- our ow... more >>
Code serialization
Posted by Marcin_Rze=BCnicki at 10/16/2005 1:46:25 PM
Hello,
I am currently involved in implementation of custom CodeDomSerializer.
I would like to generate code following the pattern:
System.Drawing.Drawing2D.Blend blend = new
System.Drawing.Drawing2D.Blend(3);
// ... blend property settings ...
MyType gradient = new MyType(... (some params), bl... more >>
2-way Splitter Panel... design-time detail
Posted by A Ratcliffe at 10/13/2005 12:00:00 AM
Hi
I'm working on a 2-way splitter for something I'm developing in C#... ok so
the MFC version wasn't amazing, but at least we had something to work with.
Anyway, given that it will always have 4 child panes, it should only ever
have 4 children - not 3 or 5 (or more).
I figure it would m... more >>
"Ensure that the file is a valid .Net Framework assembly.
Posted by Chris McKenzie at 10/11/2005 10:25:00 AM
I've got a dll project containing a set of windows forms user controls. I'm
trying to add an inherited control, but I keep getting the following error:
"Unable to load assembly '<my assembly>'. Ensure that the file is a valid
..Net Framework assembly.
Up until today I have been able to add... more >>
control-like form
Posted by SharpCoderMP at 10/10/2005 12:00:00 AM
hi,
i've designed a form that does "something" for me :)
now i need this form to be related to some other "parent" form. how can
i add this (first) to the "parent" form in the desing time?
i created dll - like i normaly do when i create my own control, but i
cant add this dll to the VS tool... more >>
How to provide design-time support for LinearGradientBrush type?
Posted by Marcin Rzeznicki at 10/8/2005 6:18:42 AM
Hello,
I am writing control which exposes design-time browsable property for
setting gradient background of type LinearGradientBrush. I wanted to
provide design-time support for creating brushes. Having delved into
that topic it seemed to me that creating my own UITypeEditor showing
modal form ... more >>
Serializing properties: please help
Posted by Carlo, MCP at 10/7/2005 11:27:55 AM
Hi,
Sorry for posting twice, but I hope in your comprehension. Please help me!
I'm troubling from months with a serious serialization problem that I'm not
able to solve. I try to describe as simply
as I can.
1) I have a class tha does something with colors. All default values are
obvio... more >>
Error on LinearGradientBrush
Posted by Carlo at 10/2/2005 2:00:02 AM
Hello
I found an abnormal behaviour on LinearGradientBrush (or FillRectangle).
This code
Public Class PanelPanel
Inherits System.Windows.Forms.Panel
Protected Overrides Sub OnPaint(ByVal e As
System.Windows.Forms.PaintEventArgs)
Dim rect As System.Drawing.Rectangle = New ... more >>
|