Example #1
0
        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.FormControlAddress serverAddress = (Mercury.Server.Application.FormControlAddress)serverControl;

            EntityAddressId = serverAddress.EntityAddressId;

            AddressType = serverAddress.AddressType;

            EffectiveDate = serverAddress.EffectiveDate;

            TerminationDate = serverAddress.TerminationDate;

            Line1 = serverAddress.Line1;

            Line2 = serverAddress.Line2;

            City = serverAddress.City;

            State = serverAddress.State;

            ZipCode = serverAddress.ZipCode;

            ZipPlus4 = serverAddress.ZipPlus4;

            PostalCode = serverAddress.PostalCode;


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

            return;
        }
Example #2
0
        public Address(Application applicationReference, Mercury.Client.Core.Forms.Control parentControl, Mercury.Server.Application.FormControlAddress serverAddress)
        {
            InitializeControl(applicationReference);

            BaseConstructor(applicationReference, parentControl, serverAddress);

            ChildServerControlsToLocal(this, serverAddress);
        }