Re: Control Properties
From: joeycalisay (hcalisay_at__spamkiller_codex-systems.com)
Date: 10/29/04
- Next message: joeycalisay: "Re: Form title custom button contol"
- Previous message: ClayB [Syncfusion]: "ANN: Syncfusion - Native .NET HTML display engine. Limited number of beta testers needed."
- In reply to: Herfried K. Wagner [MVP]: "Re: Control Properties"
- Next in thread: Herfried K. Wagner [MVP]: "Re: Control Properties"
- Reply: Herfried K. Wagner [MVP]: "Re: Control Properties"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 29 Oct 2004 09:09:11 +0800
Do you mean VS Form Designer only support full CLS for its codegen?
"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
news:uQdVIrQvEHA.4028@TK2MSFTNGP15.phx.gbl...
> "C# Learner" <csharp@learner.here> schrieb:
> > class MyControl : TextBox
> > {
> > uint foo;
> >
> > public uint Foo {
> > [...]
> > When I create an instance of this control with VS.NET's form designer,
it
> > complains that 'Foo' isn't a CLS-compliant type and that it can't create
> > code that sets it.
>
> Simply do not use unsigned types, they are not CLS compliant. Instead,
use
> 'short'/'int'/'long'.
>
> --
> Herfried K. Wagner [MVP]
> <URL:http://dotnet.mvps.org/>
>
- Next message: joeycalisay: "Re: Form title custom button contol"
- Previous message: ClayB [Syncfusion]: "ANN: Syncfusion - Native .NET HTML display engine. Limited number of beta testers needed."
- In reply to: Herfried K. Wagner [MVP]: "Re: Control Properties"
- Next in thread: Herfried K. Wagner [MVP]: "Re: Control Properties"
- Reply: Herfried K. Wagner [MVP]: "Re: Control Properties"
- Messages sorted by: [ date ] [ thread ]