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; }
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; }