What's AGL.Form.WNT?

  • Thread starter Thread starter Carl
  • Start date Start date
C

Carl

Hi,

I want to write a control derived from numericUpDown that will support
numbers greater than signed 16-bit and also precision to 2dp.

I've noticed the default constructor for the UpDownBase class takes some
arguments. This is contrary to the docs in MSDN.

When I declare the constructor in my derived class like this:

public SuperNumericUpDown ():
base (1)
{
}

I get the following C# error CS1502:

The best overloaded method match for
'System.Windows.Forms.UpDownBase.UpDownBase(AGL.Form.WNT)' has some
invalid arguments

What is the AGL namespace? I can't find any documentation for it
anywhere, and the docmuentation I have for UpDownBase appears to be
incorrect. Help!
 
It's a hidden enum (non-public). Essentially it means that UpDownBase class
is not extensible
The actual enum values are "Window Types", such as Listbox, Combbox,
Control, TextBox etc
 
Back
Top