Strings for DataGridViewComboBoxColumn from resource file
1 Apr 2006 06:10:18 -0800
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.Items1")});
If ...
|
Is there something wrong with my cast from IntPtr type to Struct type?
31 Mar 2006 13:35:23 -0800
void getrecord (const struct RequestParams *pRequestParams, struct
Record* rd)
parameter [in] pRequestParams
[out] rd
struct RequestParams
{
const char * _instrument;
}
struct Record
{
const struct
Bar * bars;
Int numbars;
};
struct Bar
{
DOU ...
|
Control custom property
30 Mar 2006 09:57:30 -0800
Hi all,
I'm creating my own DataGridViewColumn class, and have added a string
property to it which should be settable via the Property designer.
I've gotten the property to show up, but even if i set a value, the
code generated sets the property to null, not the value I typed.
Any ideas?
Thanks
...
|
Icons visibility problem in windows xp sp 2.
Thu, 30 Mar 2006 10:58:24 +0500
I have developed an application "Simple windows form" using visual studio c#. net 1.1.
I am using windows 2000 advanced server operating system when i deploy my application to same operating system all icons and banners are visible "but when i deploy my application in windows xp some icons are not visible."
...
|
Object Type cannot be converted to Type
Wed, 29 Mar 2006 16:22:42 -0500
Google shows that the problem I'm having has reared its head before:
http://groups.google.com/group/microsoft.public.dotnet.framework.windowsforms.designtime/browse_frm/thread/d176d97c7954a117/d651ca094756a146?q=object+type+cannot+be+converted+to+target+type&rnum=3#d651ca094756a146
Unfortunately, the solution t ...
|
Inherited BaseForm with ToolStripContainer
Wed, 29 Mar 2006 09:13:57 -0600
I am having problems with a BaseForm which contains a ToolStripContainer
which all of my other Forms inherit from. In my inherited forms I don't
have access at design time to drop ToolStrips or MenuStrips onto the
base.ToolStripContainer Panels (except for the ContentPanel for some
reason). I have tried ...
|
Upgrade VS2003 to VS2005 so Winform is split into separate .Designer.cs file (partial class)
Wed, 29 Mar 2006 12:37:45 +0200
Hi All !
I got a few heavy forms with a lot of controls. What is the easiest/fastest way to convert these to
"partial class" type (Separate Designer.cs file) ?
TIA
Best wishes
Best wishes
Kai Bohli
kaiboe@online.no
Norway ...
|
|
|
VS2003 design-directive changed in VS2005?
Wed, 29 Mar 2006 01:42:01 -0800
Hello,
In VS2003 I could use the directive/flag DESIGN in my (C++) code to change
the desinger-behaviour. My code looks like this:
#ifdef DESIGN
.... (c++ code during design-time)
#else
.... (c++ code during run-time)
#endif
It seems this flag has been changed/removed in VS2005.
Can you help me?
...
|
Why Form Designer does not generate properties for controls (only fields)?
28 Mar 2006 03:20:19 -0800
Form Designer generates only fields for controls.
Form1.Designer.cs:
....
private Button closeButton;
....
Disadvantages:
- if I want to make closeButton protected or public I need to manually
write property(because making field protected or public is not
recommended)
- event handlers for controls do ...
|
Mimic Sliding windiws in Visual Studio
Mon, 27 Mar 2006 08:46:02 -0800
Does anyone know how to implement the 'solution explorer' and 'properties'
sliding panels you get in VS2005.
One way seems to be to put buttons on a panel for the 'autohide' bar and set
the image propety to vertically oriented text (e.g. created in Paint). The
animation could be acheived by continously/q ...
|