internal void layoutControl()
{
spnSpinner.Height = this.Height;
//TODO: fix this bug, had to add 20 to make up for the shrunken size
txtView.Height = this.Height * 2;
txtView.Width = this.Width - spnSpinner.Width;
if(_UpDownAlign == LeftRightAlignment.Left)
{
txtView.Location = new Point(spnSpinner.Width,0);
spnSpinner.Location = new Point(0,0);
}
else
{
txtView.Location = new Point(0,0);
spnSpinner.Location = new Point(txtView.Width,0);
}
}