L
LPeter
Hi,
I created a .NET CF custom control with a standard type (int) property and a
custom one (enum) like this:
public enum EnumTest
{
Value0,
Value1,
Value2
}
When
a./ I use an import method using [DllImport()] or
b./ I declare any other device-specific field (e.g. field from
Microsoft.WindowsCE.Forms.MessageWindow)
the enum property of my custom control class does not appear in the Visual
Studio property editor.
There is not necessary to use the imported method or anything from the
MessageWindow field.
In addition, there is no error/warning message about VS's problem.
Otherwise, the standard typed property (int) appears correctly in this case.
My questions are:
1. How can I make visible my custom typed (enum) property in the designer?
2. Enum is not a device-specific part of my control but the VS does not
display it. Why?
I would appreciate it if anybody would help me. Thanks!
I created a .NET CF custom control with a standard type (int) property and a
custom one (enum) like this:
public enum EnumTest
{
Value0,
Value1,
Value2
}
When
a./ I use an import method using [DllImport()] or
b./ I declare any other device-specific field (e.g. field from
Microsoft.WindowsCE.Forms.MessageWindow)
the enum property of my custom control class does not appear in the Visual
Studio property editor.
There is not necessary to use the imported method or anything from the
MessageWindow field.
In addition, there is no error/warning message about VS's problem.
Otherwise, the standard typed property (int) appears correctly in this case.
My questions are:
1. How can I make visible my custom typed (enum) property in the designer?
2. Enum is not a device-specific part of my control but the VS does not
display it. Why?
I would appreciate it if anybody would help me. Thanks!