all groups > dotnet windows forms designtime > december 2004
Point & PointF
Posted by adrin at 12/29/2004 12:22:15 AM
How come I can change the values of X & Y for a Point in a Property Grid but
not for a PointF?
I suppose a UITypeEditor must be written but all the examples that I've seen
don't show how to display the
X and Y as to separate values... Is this possible?
Thanks,
Adrin
... more >>
UserControl public child Control does not change child Name to match UserControl Name in Designer
Posted by Gregg Walker at 12/22/2004 3:57:58 PM
I'm having a problem getting the designer to update the name of any public child controls of user control when the user control's
name is changed. When I try to build after changing the name I get build errors that the child controls name does not exist. If I
then build again the name is synch... more >>
Leave designtime mode in runtime
Posted by ipaqlinux48 at 12/16/2004 11:19:04 PM
Is there an easy way to exit designtime mode in runtime and switch back to
designtime?
Thanks in advance.... more >>
In VB.NET, can I show available Events in the Properties box?
Posted by boilersrock NO[at]SPAM gmail.com at 12/16/2004 6:26:01 AM
I know that in C#, the Properties box has a second tab that lists all
of the available Events for a selected control during design time - it
would be really, really nice if this same kind of tab could be used
while working in VB - the only way to list events (from what I can
tell) is to go into ... more >>
I need a sample of an IDesignerSerializationService implementation
Posted by ipaqlinux48 at 12/16/2004 1:23:03 AM
Hi,
I've just finished my custom windows form designer application. I can place
different controls on my container. However, the next step is to serialize
the container. Looking in the MSDN documentation, I need to implement the
IDesignerSerializationService interface.
After searching th... more >>
DefaultValue(typeof(Padding), "??"
Posted by Juan Ignacio Gelos at 12/15/2004 8:53:33 PM
Hi all,
I tried this one but doesn't seem to work. I looked into the IL for Padding
and PaddingConverter but doesn't seem to have a CreateInstance(string)... is
it possible at all to specify a DefaultValue for it? Any workarounds?
[DefaultValue(typeof(Padding), "{Left=2,Top=2,Right=2,Bottom=... more >>
System.Windows.Forms.Design.ControlDesigner is not defined
Posted by Cris via DotNetMonster.com at 12/14/2004 2:29:51 PM
hello world,
i'm quite a newby to .net, and so i try to follow the
msdn samples.
many samples refer to a System.Windows.Forms.Design.ControlDesigner
class, but, what's on ?
Visual Studio (IDE 7.1, Framework 1.1) obviously doesnt know anything about a 'ControlDesigner'.
Where am i wrong?
yours... more >>
document designers
Posted by maersa at 12/14/2004 7:40:43 AM
hi all,
would appreciate if somebody can point me to the right direction in writing
a designer surface for my document.
just like .resx, xml, xsd files have designers associated with them, i've
got a file type .xsx in which needs a designer for it.
1) what kind of designer interface to impl... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Images in the designer
Posted by Adam Dockter at 12/13/2004 9:55:14 AM
I am trying to create image property that will work in the designer. I want
the image to be written to the resource file for the class.
Here is what I have so far, but I am running into a wall here. The property
comes up okay in the designer with the drill button and the file selector.
But a... more >>
IDesignerHost + CreateComponent problem
Posted by the-savior at 12/10/2004 9:54:09 AM
hi!
i have a big problem with the designer in vs2003/c#. i searched the internet
but can't find any solution to the problem described below...
i would like to create a usercontrol with some content in it. e.g. a
titlebar and a stateicon and so on. there is also a panel (i'll name it
cont... more >>
Stop designer from dropping controls from form?
Posted by WXS at 12/9/2004 7:59:02 PM
When putting user controls in panels on a form, sometimes the designer just
loses
them. Many people have reported this issue. The potential causes people
speculated were the control was not accessible or was changed in the project
at runtime so the designer could not read it. We elimina... more >>
Reliable way to determine after all properties were set?
Posted by WXS at 12/9/2004 7:57:03 PM
Is there a reliable place where I can do some work after all of the
properties have been set?
Controls/Components that need to know when all properties have been set
need to use ISupportInitialize BeginInit, EndInit and use the EndInit call
BUT Begin and EndInit are never called when the co... more >>
Focus at design time
Posted by James Hancock at 12/9/2004 4:48:00 PM
Anyone know how to change the focus to another control at design time?
I have a container control and I want to be able to at design time change to
another control in the container control based on the mouse click. I figured
that part out, but I can't get it to set the focus with just a simpl... more >>
More design mode help?
Posted by WXS at 12/7/2004 1:35:01 PM
Some issues we have noticed with the designer:
1. Can not determine design mode before the properties are actually set,
making it difficult to code the connection of controls? Is there a way to
tell design mode earlier?
2. Controls/Components that need to know when all properties have been s... more >>
where is the Line Control ?
Posted by Tark Siala at 12/7/2004 2:48:53 AM
hi again :)
in VB6 i use the Line to Draw Lines Like when i make Wizard Forms.
but in VB.NET i cant find this Control......
it's realy not important Control
but nice to make GUI like 3D Lines
please tell me where the line Control in VB.NET???
--
----------------------------------------... more >>
Ensure that the File is a valid .NET Framework assembly.
Posted by Dave at 12/5/2004 9:09:04 PM
Attempting to inherit my form from a form in a different project. When I try
to add the inhertied form, I get the message "unable to load assembly...dll.
Ensure that the file is a valid .NET Framework assembly.
The base class compiles fine and I do have a reference. Any ideas regarding
w... more >>
EditorAttribute constructor resolution
Posted by Edward Diener at 12/4/2004 2:20:17 PM
One of the constructors for an EditorAttribute takes two strings, the type
name and the base type name. These strings allow, although do not require,
specifying a property editor which is in another assembly from the actual
property, without having to reference the other assembly from the assembl... more >>
Design Time Inheriting of forms
Posted by Roger Webb at 12/4/2004 11:44:13 AM
I'm trying to inherit from a form I've got. Seems easy enough, however, in
the base form's Load Event I have something that runs off to a config file
on disk (To set the runtime control values). When I inherit this form, it
tells me it had an error in creating it because the file doesnt exist a... more >>
Help with code generation
Posted by Slim Shady at 12/4/2004 7:50:37 AM
I am experimenting with a code generator that creates form class code in
vb language using the codedom. I have successfully created a form file
(.vb) and when looking at the code everything looks just as the vb
designer would create it......however when I open it in VS none of the
controls s... more >>
Not able to take screen shots of "S to make presentation
Posted by Rajat Tandon at 12/3/2004 11:02:53 PM
Hello there,
I am relatively new to the newsgroups and C#. I have never been disappointed
with the groups and always got the prompt replies to my queries.This is yet
another strange issue, I am facing. Please please help me to solve this as
soon as possible.
So here we go ...
I am not ab... more >>
Form Inheritance and missing controls
Posted by cduden at 12/2/2004 11:21:04 AM
Ok, I know this is going to sound odd but this is what I am seeing. I have
a form inheritance chain that looks like this:
baseform --> childform -- > two seperate endforms (endform1, endform2)
When I open the designer for childform I only see the controls that were
laid out in baseform. ... more >>
StackOverflow in VS Designer when generating code
Posted by LF at 12/1/2004 9:46:39 PM
Hi,
I get StackOverflow when I return an InstanceDescriptor which represents a
constructor which takes it's own type as parameter. Could someone explain
why return new InstanceDescriptor(ci,new object[]{date}); causes
StackOverflow? Is it again going into the ConvertTo? Why?
Short cod... more >>
|