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.FormControlInput serverInput = (Mercury.Server.Application.FormControlInput)serverControl; inputType = serverInput.InputType; text = serverInput.Text; textMode = serverInput.TextMode; columns = serverInput.Columns; rows = serverInput.Rows; wrap = serverInput.Wrap; maxLength = serverInput.MaxLength; emptyMessage = serverInput.EmptyMessage; validation = serverInput.Validation; readOnly = serverInput.ReadOnly; selectionOnFocus = serverInput.SelectionOnFocus; mask = serverInput.Mask; numericType = serverInput.NumericType; minValue = serverInput.MinValue; maxValue = serverInput.MaxValue; showSpinButtons = serverInput.ShowSpinButtons; buttonPosition = serverInput.ButtonPosition; dateFormat = serverInput.DateFormat; displayDateFormat = serverInput.DisplayDateFormat; minDate = serverInput.MinDate; maxDate = serverInput.MaxDate; label = new Label(Application, this, serverInput.Label); return; }
public Input(Application applicationReference, Mercury.Client.Core.Forms.Control parentControl, Mercury.Server.Application.FormControlInput serverInput) { InitializeControl(applicationReference); BaseConstructor(applicationReference, parentControl, serverInput); ChildServerControlsToLocal(this, serverInput); }