override public void BaseConstructor(Application applicationReference, Mercury.Client.Core.Forms.Control parentControl, Mercury.Server.Application.FormControl serverControl)
        {
            base.BaseConstructor(applicationReference, parentControl, serverControl);


            Mercury.Server.Application.FormControlSelection serverSelection = (Mercury.Server.Application.FormControlSelection)serverControl;

            selectionType = serverSelection.SelectionType;


            columns = serverSelection.Columns;

            rows = serverSelection.Rows;

            direction = serverSelection.Direction;

            wrap = serverSelection.Wrap;

            maxLength = serverSelection.MaxLength;

            readOnly = serverSelection.ReadOnly;

            selectionMode = serverSelection.SelectionMode;


            dataSource = serverSelection.DataSource;

            referenceSource = serverSelection.ReferenceSource;


            allowCustomText = serverSelection.AllowCustomText;

            customText = serverSelection.CustomText;


            items = new List <Mercury.Client.Core.Forms.Structures.SelectionItem> ();

            foreach (Mercury.Server.Application.FormControlSelectionItem currentServerItem in serverSelection.Items)
            {
                Structures.SelectionItem selectionItem = new Mercury.Client.Core.Forms.Structures.SelectionItem(currentServerItem);

                items.Add(selectionItem);
            }

            //items = new List<Mercury.Server.Application.FormControlSelectionItem> ();

            //items.AddRange (serverSelection.Items);


            label = new Label(Application, this, serverSelection.Label);

            return;
        }
        public Selection(Application applicationReference, Mercury.Client.Core.Forms.Control parentControl, Mercury.Server.Application.FormControlSelection serverSelection)
        {
            InitializeControl(applicationReference);

            BaseConstructor(applicationReference, parentControl, serverSelection);

            ChildServerControlsToLocal(this, serverSelection);

            return;
        }