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.FormControlService serverService = (Mercury.Server.Application.FormControlService)serverControl;


            memberId = serverService.MemberId;

            memberServiceId = serverService.MemberServiceId;

            serviceId = serverService.ServiceId;

            serviceName = serverService.ServiceName;

            serviceDate = serverService.ServiceDate;

            serviceDateVisible = serverService.ServiceDateVisible;

            mostRecentMemberServiceId = serverService.MostRecentMemberServiceId;

            mostRecentMemberServiceDate = serverService.MostRecentMemberServiceDate;

            mostRecentMemberServiceDateVisible = serverService.MostRecentMemberServiceDateVisible;


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

            return;
        }
Example #2
0
        public Service(Application applicationReference, Mercury.Client.Core.Forms.Control parentControl, Mercury.Server.Application.FormControlService serverService)
        {
            InitializeControl(applicationReference);

            BaseConstructor(applicationReference, parentControl, serverService);

            ChildServerControlsToLocal(this, serverService);

            return;
        }