all groups > dotnet windows forms designtime > april 2006
Need CodeDomSerializer?
Posted by vrml97 NO[at]SPAM gmail.com at 4/27/2006 6:59:45 PM
Hi ,
I have a user control using custom class as property,
Custom Class,
public class myMarginBound : System.Drawing.Printing.Margins
{
public myMarginBound()
{
}
}
User control,
public class UserControl1 : System.Windows.Forms.UserControl
{
... more >>
Collection Editor - Add Button - Customize new item names?
Posted by Fran Garcia at 4/27/2006 12:54:24 PM
Hi,
I have a component that has a collection of child components. The user
selects the type of child component he wants to create in the context menu
that pops up after clicking Add button.
Is it possible to customize the item names that appear on that menu?
Currently, type name is used,... more >>
How to track current index in the textbox string
Posted by Fiaz Ali Saleemi at 4/24/2006 6:51:24 AM
Hi All
I have developed a custom user control for onscreen Keyboard functionality.
When user clicks any button then it should act accordingly and add the
appropriate character into the string or do the appropriate action(Delete,
Backspace etc).
Now if user sets cursor in the middle of the str... more >>
ExtenderProviders
Posted by Steve at 4/18/2006 1:05:45 PM
Hello,
I have created an extenderprovider 'MyExtenderProvider' to extend a
property 'NewProperty'. In the property grid, the property is
displayed as:
NewProperty on MyExtenderProvider
How do you I remove the 'on MyExtenderProvider' portion?
Thanks for any help.
Steve
... more >>
ShouldSerialize
Posted by João Santa Bárbara at 4/17/2006 6:51:46 PM
Hi all
i have 3 forms and the all inherited from each others, and in the base form
i have a custom control with a complex structure property (" MyProperty as
ComplexStructure )
and my problem is, i just want to change this property in the base (form1)
and i want to serialize the code for it,... more >>
Support for Generics in Forms and Controls
Posted by Chuck Cobb at 4/13/2006 2:34:45 PM
I just discovered the hard way that the Visual Studio designer for forms and
controls does not support generics.
I created the following controls:
Base Class:
public partial class CtlDataGrid<CollectionClass, InfoClass> : CtlBase
where CollectionClass : BaseCollection<InfoClass... more >>
serialization in InitializeComponents
Posted by Ivan at 4/12/2006 12:28:01 AM
My custom composite control for the .NET Compact Framework will not serialize
the DesignTime DefaultValues I assign to properties. For instance, VS
serializes '0' for ints and it serializes the first value for any enumeration
types.
For example:
// I implemented this default value via t... more >>
how do I dynamically enable/disable a property?
Posted by Xafier at 4/7/2006 3:02:39 AM
Hi
I've got a control that has a property in the Behavior section, it has
3 options, depending upon this property's selection I want to hide or
show other property's, because the user won't need access to them
unless they've selected the appropriate selection on the property in
Behavior.
I... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
BackgroundWorker with a DataAccess Layer
Posted by Techno_Dex at 4/5/2006 4:41:11 PM
I'm stumped with a design problem and hoping someone has an elegant
solution. I have a DataAccess Layer which contains all my database access
functionality. I would like to run all the processing requests that come
into the DataAccess Layer on a thread that is NOT the UI thread. My
DataAc... more >>
Take a look at that security pack which comes from MS Corporation
Posted by LOLA at 4/3/2006 7:23:27 AM
Microsoft Customer
this is the latest version of security update, the
"April 2006, Cumulative Patch" update which fixes
all known security vulnerabilities affecting
MS Internet Explorer, MS Outlook and MS Outlook Express.
Install now to protect your computer
from these vulnerabilities, the m... more >>
Strings for DataGridViewComboBoxColumn from resource file
Posted by jens.ro at 4/1/2006 6:10:18 AM
Hello,
if I add a ComboBox to a form via the designer and insert the text for
items, then these strings are fetched from the resource file:
// designer generated code
myComboBox.Items.AddRange(new object[]{
resources.GetString("myComboBox.Items"),
resources.GetString("myComboBox.It... more >>
|