all groups > dotnet windows forms designtime > january 2006
Displaying a form to accept user input from a property in property grid (custom TypeConverter??)
Posted by Mav at 1/31/2006 4:38:46 PM
This is what I want to do and I am struggling with it:
I have a property which gets displayed in the property grid and when
the user clicks on it, a form shows up which allows the user to select
multiple email id's and when he clicks OK, the list should be displayed
for the property as a comma s... more >>
DesignMode property when debugging a component
Posted by Mario Vázquez at 1/31/2006 12:00:00 AM
Hi,
I've found that the DesignMode property is set to true when I debug a
component by setting the component project as start-up project. I suppose
that this property is set to true because, in fact, the devenv program is
running, so the actual state is run-time.
Is there any way to aviod ... more >>
Designer goes crazy on DataGridView
Posted by Jakob Lithner at 1/30/2006 2:16:30 AM
I upgraded a VB.Net VS2003 Windows Forms project to VS2005.
I have now VERY frequent problems with the designer!!
Some controls are "destroyed" in the designer.
They disappear from the declaration list (Friend WithEvents ....)
and turn up twice in the InitializeComponent procedure:
Priv... more >>
Retrieving ExecuteCommand results
Posted by Mario Vázquez at 1/27/2006 6:07:19 PM
Hi,
I've wrote the following lines of code to open the "Add Connection" dialog
of the IDE at design time.
EnvDTE.DTE d = (EnvDTE.DTE)this.Site.GetService(typeof(EnvDTE.DTE));
// Find first the path of the current project (there is a more elegant way?)
object[] o = (object[])d.ActiveSoluti... more >>
vs.net 2k3 dll reference issue
Posted by SharpCoderMP at 1/25/2006 9:43:00 PM
hi,
i've created very complicated custom control that sits inside the dll.
the problem is that this custom control needs two other dlls from
different namespaces. now when i drop my control on the form in the
final project (using vs.net 2k3) only the reference to the dll with
custom controll ... more >>
Changing the DescriptionAttribute value
Posted by Mario Vázquez at 1/25/2006 5:03:12 PM
How can I change the value of the DescriptionAttribute depending on the
CultureInfo context?
[ Description( "Description for the property at design-time") ]
public object TestProperty
{
get{ return this.testProperty; }
set{ this.testProperty = value; } string testProperty;
}
I've... more >>
Retrieving the original component that extends a property in a converter
Posted by Remus Rusanu [MSFT] at 1/25/2006 1:50:43 AM
I have a component that implements IExtenderProvider and add a property, say
"ID", to some controls, say a Button. I have added a type converter to this
property and this type converter offers a drop down list of possible values,
by overriding GetStandardValuesSupported and GetStandardValues. ... more >>
VS2005 Windows Form Designer - Small vs. Large fonts
Posted by Mike Baker at 1/23/2006 9:58:04 AM
We have a .NET Windows form project we are working on in VS2005 that is
stored in source control. A developer using large fonts on his dev machine
creates a form and checks in the files. Another developer using small fonts
gets the latest files.
When the developer using small fonts opens ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Customizing TableLayoutPanel control designer
Posted by nick at 1/20/2006 3:53:35 PM
Hi,
I have to use TableLayoutPanel in a custom designer form. This control
comes with a default design time context menu and SmartTag UI which
enable users to add rows and columns.
I have to disable this feature and provide custom context menu and
smarttag action list.
Normal process i... more >>
shared, read-only data
Posted by at 1/18/2006 5:54:34 PM
Hi, NG!
Is there any way to share DataTable "definitions" across multiple DataSets
in the DataSet designer? To make it more clear I need to have a "master"
DataSet that contains unrelated tables (that are read-only at runtime,
reference lists...) At runtime an instance of this DataSet will be ... more >>
Sharing source code between Vs2003 and Vs2005 IDE
Posted by Carlo (MCP only) at 1/14/2006 1:59:22 PM
Hi to all
I'm askyng you a suggestion about the best way to share the same source code
between VS2003 and VS2005.
The project I'm developing is a controls and components library, and the
Solution.sln includes a standard WindowsForms application for testing
pourposes.
What I need is an eff... more >>
Extreme 3-Tier Binding Problem
Posted by Dave Johnson at 1/12/2006 7:47:35 PM
In a 3-Tier application, once upon a while comes the need for binding
objects or usercontrols from other objects, example binding a
usercontrol in the Presentation layer from a Business Layer Object,
My problem:
I have a Dynamically Rendered WebUserControl that it needs some
properties that... more >>
Disable property in design time (as a result of Action)
Posted by Sean at 1/12/2006 10:38:02 AM
Hello,
I'm trying to figure out how to disable a certain property of control when a
certain event occured (like an action is executed from ActionsList).
Thank you.
PS: I'm buiding ASP.NET control, but I believe the idea is prety much the
same.... more >>
new indian sex forum online
Posted by asder NO[at]SPAM kjdfy.com at 1/11/2006 11:37:19 AM
are you looking for sexy indian pictures? movies? chit chat?
this is the place :)
http://forum.allhotindian.com
<center><table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="500"><tr><td nowrap height="4" bgcolor="#000000"></td></tr><tr><td width="100%" b... more >>
DataGridView Validation Problem!
Posted by David Morgenlender at 1/9/2006 2:13:48 AM
I have implemented a custom date control; it's a UserControl containing a
MaskedTextBox control. I have created a DataGridView custom column using this
UserControl.
DataGridView is very demanding of its custom column controls. But I have
finally modified the UserControl so it mostly works c... more >>
replacement for "EnableDesignMode" function for .net 1.1
Posted by hhiillaa at 1/8/2006 1:49:56 AM
Hi,
I am trying to create a user control that will act as a container for
other controls.
I have a control with some child controls on it, but one (or more) of
the child controls needs to be a content area where the user can drop
additional controls. Within this content area I want the user to... more >>
System.Windows.Forms.Design.Behavior.DropSourceBehavior
Posted by thomas hulka at 1/6/2006 1:55:08 AM
The type of Drag-and-Drop data in a Windows Forms Designer (eg derived from
ControlDesigner)
is of type
System.Windows.Forms.Design.Behavior.DropSourceBehavior
To my surprise this class is defined internal in System.Design. How can one
find out the control is dragged?
I believe this clas... more >>
Why does the default Deserializer crash on array index expressions?
Posted by Eric Pierce at 1/5/2006 3:46:20 PM
Greetings,
I have some windows forms controls that add their own code to the
InitializeComponents() method of the control or form that uses them. Until
now, this has gone pretty well as there are numerous examples out there for
doing this. My code inserts a method call at the end of the... more >>
Problem in using word object
Posted by Gomathi at 1/3/2006 3:22:27 PM
hi all,
In my windows application, i added a word object reference.
Using word object, i'm doing spell checking. After spell checking, i quited
the word object. But still its running in task manager and utilizing 100% in
CPU. How to solve this?. I attached the code which i used in my applica... more >>
|