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.FormControlCollection serverCollection = (Mercury.Server.Application.FormControlCollection)serverControl; collectionType = serverCollection.CollectionType; if (serverCollection.Label != null) { label = new Label(Application, this, serverCollection.Label); } items.Clear(); items.AddRange(serverCollection.Items); SelectedItem = serverCollection.SelectedItem; return; }
public Collection(Application applicationReference, Mercury.Client.Core.Forms.Control parentControl, Mercury.Server.Application.FormControlCollection serverControl) { BaseConstructor(applicationReference, parentControl, serverControl); InitializeControl(applicationReference); ChildServerControlsToLocal(this, serverControl); return; }