all groups > dotnet windows forms designtime > july 2004
User Controls Property VS .resx files
Posted by Tony at 7/30/2004 5:03:43 PM
Hi all,
I have a simple question here. I developed a user control which inhreits
from the UserControl class. I exposed an custom property and then build the
project. In another project, I added this control to a Window Form, set that
property to a value, save and build the project. Everything... more >>
Designer serialization samples?
Posted by schneider at 7/30/2004 2:32:21 PM
I look for a sample on how VS serialize/deserialize a Form in the designer.
So If a was making an IDE how could I serialize/deserialize a form...
Anyone have a sample to start from?
Thanks,
Schneider
... more >>
User Control Constituents As Containers?
Posted by mlanza NO[at]SPAM lycos.com at 7/29/2004 4:21:46 PM
I am designing a user control that is made up of several constituent
controls (Panels to be precise). Basically, my user control is made
up of 4 Panels that I am using to define a very specific layout. The
goal is to add this "Layout Control" onto a form and then to drop
certain controls direc... more >>
Urgent Problem in adding Events tab to propertygrid
Posted by gurjinder NO[at]SPAM beesys.com at 7/29/2004 12:21:45 AM
Hi,
I am making a form designer. It is same like VS.net IDE.
I am facing difficulty in adding Eventstab to propertygrid control.
In some forums it is mentioned that just assign some Site to sIte
property of propertygrid and then just do
grid.propertytabs.addtabtype(typeof(eventstab),Pr... more >>
My controls keep dissapearing!
Posted by Simon at 7/27/2004 4:49:15 PM
I have a c# solution containing the following projects -
a windows form control library containing some custom windows form controls
a windows form app with forms containing these controls (with a local
solution reference to the controls proj)
Randomly(?) the designer will just wipe these co... more >>
Custom component problem - ANY help appreciated
Posted by Alexander Kolev at 7/27/2004 11:17:07 AM
I'm writing a .Net component in C#. Let's name it component A. This
component
represents a collection of other .net components ( component B ) that are
not visible design
time in VS 2003. Component B provides several events. I take advantage of
the .net Collection
Editor and the addition and r... more >>
Updating Properties Window at design-time
Posted by Jamie Burkholder at 7/26/2004 8:26:59 AM
I have a control designer that is manipulating my control through the use of
a verb on the property window. Everything works fine except for the fact
that the property that I am modifying is not updated to its current value
until the user clicks on the property in the Properties windows. Is there... more >>
control throws exception at design time
Posted by Mitch at 7/23/2004 9:21:02 AM
I create a new control (derived from Control, not UserControl).
The OnPaint method is driven by application data. In other words when the
application is running it passes the data to the control, and the control
does the painting. When I drag the control to a form in the VS designer,
that data... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
non-resizable control
Posted by Victor Irzak at 7/21/2004 1:19:41 PM
Hello,
How can I disable resizing for a custom control in design-time?
TrackBar control, for example cannot be vertically resized.
Thanks,
Victor
... more >>
Problems with IsupportInitialize and CodeDom
Posted by Dennes Torres at 7/18/2004 6:48:34 PM
Hi !
I created a new component for my project. One of the properties of this
component is a collection of a class created by me, I called this class
"UmaTabela"
The class (each element in collection) has two properties, one of them is
another class, created by me. I called this class as "Mape... more >>
How to get the parent form?
Posted by Deena at 7/15/2004 4:47:36 PM
I want to get a reference to the parent form in the constructor of a child
form? I.e. I want to do something like this :
FormX Child = new FormX(); //FormX inherits from the Form class
In Child's constructor I want find the parent form? I've tried .Parent and
..FindForm() to no avail! Rea... more >>
Relative path for <value> of .resx data element (ResxFileRef)
Posted by Ly Lam at 7/13/2004 3:24:45 PM
In my .resx file (below) I wish to reference an external bitmap that is
located in my project's folder. When I try to compile the project I get an
error on my .resx file:
Resource transformation for file 'Images.resX' failed. Could not find file
"C:\Program Files\Microsoft Visual Studio .NET
... more >>
Problem: Assemblies cannot be replaced at VS designtime
Posted by Bernd S at 7/6/2004 5:26:19 PM
Hi,
is it possible to copy assemblies from the original place in the solution to
another place in the file system and then - at Visual Studio designtime, in
order to create an instance descriptor for a property for code serialization
in InitializeComponent - loading them from there (in order t... more >>
Edit addButton and removeButton in CollectionEditorForm
Posted by magic13 NO[at]SPAM korea.com at 7/4/2004 10:59:23 PM
I implemented a class that inherited the
System.ComponentMode.Design.CollectionEditor.
It's has two buttons - addButton(Insert) and removeButton(Remove).
I want to change their Enable property to false.
How can I try for it?
Reference) I can control their Visible property to false.... more >>
IExtenderProvider: How can I change property name?
Posted by WALDO NO[at]SPAM WALDOLand.com at 7/2/2004 6:51:46 AM
I have a class, let's call it ExtenderComponent, that implements
IExtenderProvider. It Extends a property called ImageIndex via
CanExtend, GetImageIndex, and SetImageIndex.
What I want to do is on the component that it is extended to
(extendee), have the property simply read 'ImageIndex', rath... more >>
|