public override void LocalControlToServer(Server.Application.FormControl parentControl, Server.Application.FormControl serverControl) { base.LocalControlToServer(parentControl, serverControl); ((Server.Application.FormControlAddress)serverControl).EntityAddressId = EntityAddressId; ((Server.Application.FormControlAddress)serverControl).AddressType = AddressType; ((Server.Application.FormControlAddress)serverControl).EffectiveDate = EffectiveDate; ((Server.Application.FormControlAddress)serverControl).TerminationDate = TerminationDate; ((Server.Application.FormControlAddress)serverControl).Line1 = Line1; ((Server.Application.FormControlAddress)serverControl).Line2 = Line2; ((Server.Application.FormControlAddress)serverControl).City = City; ((Server.Application.FormControlAddress)serverControl).State = State; ((Server.Application.FormControlAddress)serverControl).ZipCode = ZipCode; ((Server.Application.FormControlAddress)serverControl).ZipPlus4 = ZipPlus4; ((Server.Application.FormControlAddress)serverControl).PostalCode = PostalCode; ((Server.Application.FormControlAddress)serverControl).Label = new Server.Application.FormControlLabel(); label.LocalControlToServer(serverControl, ((Server.Application.FormControlAddress)serverControl).Label); }
public override void LocalControlToServer(Server.Application.FormControl parentControl, Server.Application.FormControl serverControl) { base.LocalControlToServer(parentControl, serverControl); ((Server.Application.FormControlService)serverControl).MemberId = MemberId; ((Server.Application.FormControlService)serverControl).MemberServiceId = MemberServiceId; ((Server.Application.FormControlService)serverControl).ServiceId = serviceId; ((Server.Application.FormControlService)serverControl).ServiceName = serviceName; ((Server.Application.FormControlService)serverControl).ServiceDate = serviceDate; ((Server.Application.FormControlService)serverControl).ServiceDateVisible = serviceDateVisible; ((Server.Application.FormControlService)serverControl).MostRecentMemberServiceId = MostRecentMemberServiceId; ((Server.Application.FormControlService)serverControl).MostRecentMemberServiceDate = MostRecentMemberServiceDate; ((Server.Application.FormControlService)serverControl).MostRecentMemberServiceDateVisible = mostRecentMemberServiceDateVisible; ((Server.Application.FormControlService)serverControl).Label = new Server.Application.FormControlLabel(); label.LocalControlToServer(serverControl, ((Server.Application.FormControlService)serverControl).Label); return; }
public void LocalControlToServer(Server.Application.FormControl serverControl) { base.MapToServerObject((Server.Application.CoreObject)serverControl); serverControl.ControlId = controlId; serverControl.ControlType = controlType; serverControl.TabIndex = tabIndex; serverControl.Enabled = enabled; serverControl.Visible = visible; serverControl.ReadOnly = readOnly; serverControl.Required = required; serverControl.Position = position; serverControl.Capabilities = capabilities; // serverControl.Style = style; serverControl.EventHandlers = eventHandlers; //serverControl.DataBindings = new Server.Application.FormControlDataBinding[dataBindings.Count]; //dataBindings.CopyTo (serverControl.DataBindings); return; }
public override void UpdateControl(Server.Application.FormControl serverControl) { if (controlId != serverControl.ControlId) { return; } base.UpdateControl(serverControl); Server.Application.FormControlSelection serverSelection = (Server.Application.FormControlSelection)serverControl; // TODO: UPDATE SELECTION ITEMS (CAN YOU ADD ITEMS?) if (SelectionItemsChangedAfterUpdate(serverSelection)) { // TODO: NOTIFY FULL UPDATE OF ITEMS (NEEDS TO BE RE-RENDERED } else { for (Int32 currentItemIndex = 0; currentItemIndex < items.Count; currentItemIndex++) { items[currentItemIndex].Selected = serverSelection.Items[currentItemIndex].Selected; items[currentItemIndex].Enabled = serverSelection.Items[currentItemIndex].Enabled; } } return; }
public override void LocalControlToServer(Server.Application.FormControl parentControl, Server.Application.FormControl serverControl) { base.LocalControlToServer(parentControl, serverControl); ((Server.Application.FormControlLabel)serverControl).Text = text; return; }
public override void LocalControlToServer(Server.Application.FormControl parentControl, Server.Application.FormControl serverControl) { base.LocalControlToServer(parentControl, serverControl); ((Server.Application.FormControlSelection)serverControl).SelectionType = selectionType; ((Server.Application.FormControlSelection)serverControl).Columns = columns; ((Server.Application.FormControlSelection)serverControl).Rows = rows; ((Server.Application.FormControlSelection)serverControl).Direction = direction; ((Server.Application.FormControlSelection)serverControl).Wrap = wrap; ((Server.Application.FormControlSelection)serverControl).MaxLength = maxLength; ((Server.Application.FormControlSelection)serverControl).ReadOnly = readOnly; ((Server.Application.FormControlSelection)serverControl).SelectionMode = selectionMode; ((Server.Application.FormControlSelection)serverControl).DataSource = dataSource; ((Server.Application.FormControlSelection)serverControl).ReferenceSource = referenceSource; ((Server.Application.FormControlSelection)serverControl).AllowCustomText = allowCustomText; ((Server.Application.FormControlSelection)serverControl).CustomText = customText; ((Server.Application.FormControlSelection)serverControl).Items = new System.Collections.ObjectModel.ObservableCollection <Mercury.Server.Application.FormControlSelectionItem> (); foreach (Structures.SelectionItem currentSelectionItem in items) { Server.Application.FormControlSelectionItem serverItem = new Mercury.Server.Application.FormControlSelectionItem(); serverItem.Text = currentSelectionItem.Text; serverItem.Value = currentSelectionItem.Value; serverItem.Enabled = currentSelectionItem.Enabled; serverItem.Selected = currentSelectionItem.Selected; ((Server.Application.FormControlSelection)serverControl).Items.Add(serverItem); } ((Server.Application.FormControlSelection)serverControl).Label = new Server.Application.FormControlLabel(); label.LocalControlToServer(serverControl, ((Server.Application.FormControlSelection)serverControl).Label); return; }
public override void LocalControlToServer(Server.Application.FormControl parentControl, Server.Application.FormControl serverControl) { base.LocalControlToServer(parentControl, serverControl); ((Server.Application.FormControlInput)serverControl).InputType = inputType; ((Server.Application.FormControlInput)serverControl).Text = text; ((Server.Application.FormControlInput)serverControl).TextMode = textMode; ((Server.Application.FormControlInput)serverControl).Columns = columns; ((Server.Application.FormControlInput)serverControl).Rows = rows; ((Server.Application.FormControlInput)serverControl).Wrap = wrap; ((Server.Application.FormControlInput)serverControl).MaxLength = maxLength; ((Server.Application.FormControlInput)serverControl).EmptyMessage = emptyMessage; ((Server.Application.FormControlInput)serverControl).Validation = validation; ((Server.Application.FormControlInput)serverControl).ReadOnly = readOnly; ((Server.Application.FormControlInput)serverControl).SelectionOnFocus = selectionOnFocus; ((Server.Application.FormControlInput)serverControl).Mask = mask; ((Server.Application.FormControlInput)serverControl).NumericType = numericType; ((Server.Application.FormControlInput)serverControl).MinValue = minValue; ((Server.Application.FormControlInput)serverControl).MaxValue = maxValue; ((Server.Application.FormControlInput)serverControl).ShowSpinButtons = showSpinButtons; ((Server.Application.FormControlInput)serverControl).ButtonPosition = buttonPosition; ((Server.Application.FormControlInput)serverControl).DateFormat = dateFormat; ((Server.Application.FormControlInput)serverControl).DisplayDateFormat = displayDateFormat; ((Server.Application.FormControlInput)serverControl).MinDate = minDate; ((Server.Application.FormControlInput)serverControl).MaxDate = maxDate; ((Server.Application.FormControlInput)serverControl).Label = new Server.Application.FormControlLabel(); label.LocalControlToServer(serverControl, ((Server.Application.FormControlInput)serverControl).Label); return; }
public virtual void UpdateControl(Server.Application.FormControl serverControl) { if (controlId != serverControl.ControlId) { return; } // ONLY UPDATE SUPPORTED PROPERTIES, SOME BASE PROPERTIES CANNOT BE UPDATED (NO STRUCTURE CHANGES SUPPORTED) TabIndex = serverControl.TabIndex; Enabled = serverControl.Enabled; Visible = serverControl.Visible; ReadOnly = serverControl.ReadOnly; Required = serverControl.Required; Position = serverControl.Position; Capabilities = serverControl.Capabilities; CreateAccountInfo = serverControl.CreateAccountInfo; ModifiedAccountInfo = serverControl.ModifiedAccountInfo; foreach (Server.Application.FormControl currentChildControl in serverControl.Controls) { Control childControl = GetChildControl(currentChildControl.ControlId); if (childControl != null) { childControl.UpdateControl(currentChildControl); } } return; }
public override void LocalControlToServer(Server.Application.FormControl parentControl, Server.Application.FormControl serverControl) { base.LocalControlToServer(parentControl, serverControl); ((Server.Application.FormControlCollection)serverControl).CollectionType = collectionType; //((Server.Application.FormControlCollection) serverControl).Items = new Int64[items.Count]; //Items.CopyTo (((Server.Application.FormControlCollection) serverControl).Items, 0); ((Server.Application.FormControlCollection)serverControl).SelectedItem = selectedItem; ((Server.Application.FormControlCollection)serverControl).Label = new Server.Application.FormControlLabel(); label.LocalControlToServer(serverControl, ((Server.Application.FormControlCollection)serverControl).Label); return; }
public override void LocalControlToServer(Server.Application.FormControl parentControl, Server.Application.FormControl serverControl) { base.LocalControlToServer(parentControl, serverControl); ((Server.Application.FormControlMetric)serverControl).MemberId = memberId; ((Server.Application.FormControlMetric)serverControl).MemberMetricId = memberMetricId; ((Server.Application.FormControlMetric)serverControl).MetricId = metricId; ((Server.Application.FormControlMetric)serverControl).MetricName = metricName; ((Server.Application.FormControlMetric)serverControl).MetricDate = metricDate; ((Server.Application.FormControlMetric)serverControl).MetricValue = metricValue; ((Server.Application.FormControlMetric)serverControl).Label = new Server.Application.FormControlLabel(); label.LocalControlToServer(serverControl, ((Server.Application.FormControlMetric)serverControl).Label); return; }
override public void BaseConstructor(Mercury.Client.Core.Forms.Control parentControl, Server.Application.FormControl serverControl) { base.BaseConstructor(parentControl, serverControl); Server.Application.FormControlCollection serverCollection = (Server.Application.FormControlCollection)serverControl; collectionType = serverCollection.CollectionType; label = new Label(Application, this, serverCollection.Label); items.Clear(); items.AddRange(serverCollection.Items); SelectedItem = serverCollection.SelectedItem; return; }
override public void BaseConstructor(Mercury.Client.Core.Forms.Control parentControl, Server.Application.FormControl serverControl) { base.BaseConstructor(parentControl, serverControl); Server.Application.FormControlInput serverInput = (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; }
override public void BaseConstructor(Mercury.Client.Core.Forms.Control parentControl, Server.Application.FormControl serverControl) { base.BaseConstructor(parentControl, serverControl); Server.Application.FormControlAddress serverAddress = (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; }
virtual public void BaseConstructor(Mercury.Client.Core.Forms.Control parentControl, Server.Application.FormControl serverControl) { base.BaseConstructor(application, serverControl); controlId = serverControl.ControlId; controlType = serverControl.ControlType; tabIndex = serverControl.TabIndex; enabled = serverControl.Enabled; visible = serverControl.Visible; readOnly = serverControl.ReadOnly; required = serverControl.Required; position = serverControl.Position; capabilities = serverControl.Capabilities; eventHandlers = serverControl.EventHandlers; if (eventHandlers == null) { eventHandlers = new ObservableCollection <Mercury.Server.Application.FormControlEventHandler> (); } if (serverControl.Style != null) { style = new Mercury.Client.Core.Forms.Structures.Style(this, serverControl.Style); } else if (style == null) { style = new Mercury.Client.Core.Forms.Structures.Style(this); } dataBindings = serverControl.DataBindings; parent = parentControl; return; }
override public void BaseConstructor(Mercury.Client.Core.Forms.Control parentControl, Server.Application.FormControl serverControl) { base.BaseConstructor(parentControl, serverControl); Server.Application.FormControlMetric serverMetric = (Server.Application.FormControlMetric)serverControl; memberId = serverMetric.MemberId; memberMetricId = serverMetric.MemberMetricId; metricId = serverMetric.MetricId; metricName = serverMetric.MetricName; metricDate = serverMetric.MetricDate; metricValue = serverMetric.MetricValue; label = new Label(Application, this, serverMetric.Label); return; }
override public void BaseConstructor(Mercury.Client.Core.Forms.Control parentControl, Server.Application.FormControl serverControl) { base.BaseConstructor(parentControl, serverControl); Server.Application.FormControlSelection serverSelection = (Server.Application.FormControlSelection)serverControl; selectionType = serverSelection.SelectionType; columns = serverSelection.Columns; rows = serverSelection.Rows; direction = serverSelection.Direction; wrap = serverSelection.Wrap; maxLength = serverSelection.MaxLength; readOnly = serverSelection.ReadOnly; selectionMode = serverSelection.SelectionMode; dataSource = serverSelection.DataSource; referenceSource = serverSelection.ReferenceSource; allowCustomText = serverSelection.AllowCustomText; customText = serverSelection.CustomText; items = new System.Collections.ObjectModel.ObservableCollection <Mercury.Client.Core.Forms.Structures.SelectionItem> (); foreach (Server.Application.FormControlSelectionItem currentServerItem in serverSelection.Items) { Structures.SelectionItem selectionItem = new Mercury.Client.Core.Forms.Structures.SelectionItem(this, currentServerItem); items.Add(selectionItem); } label = new Label(Application, this, serverSelection.Label); return; }
virtual public void LocalControlToServer(Server.Application.FormControl parentControl, Server.Application.FormControl serverControl) { Int32 controlIndex = 0; LocalControlToServer(serverControl); serverControl.Controls = new System.Collections.ObjectModel.ObservableCollection <Server.Application.FormControl> (); foreach (Control currentLocalControl in Controls) { switch (currentLocalControl.ControlType) { case Server.Application.FormControlType.Section: Server.Application.FormControlSection serverSection = new Server.Application.FormControlSection(); ((Mercury.Client.Core.Forms.Controls.Section)currentLocalControl).LocalControlToServer(serverControl, serverSection); serverControl.Controls.Insert(controlIndex, serverSection); controlIndex = controlIndex + 1; break; case Server.Application.FormControlType.SectionColumn: Server.Application.FormControlSectionColumn serverSectionColumn = new Server.Application.FormControlSectionColumn(); ((Mercury.Client.Core.Forms.Controls.SectionColumn)currentLocalControl).LocalControlToServer(serverControl, serverSectionColumn); serverControl.Controls.Insert(controlIndex, serverSectionColumn); controlIndex = controlIndex + 1; break; case Server.Application.FormControlType.Label: Server.Application.FormControlLabel serverLabel = new Server.Application.FormControlLabel(); ((Mercury.Client.Core.Forms.Controls.Label)currentLocalControl).LocalControlToServer(serverControl, serverLabel); serverControl.Controls.Insert(controlIndex, serverLabel); controlIndex = controlIndex + 1; break; case Server.Application.FormControlType.Text: Server.Application.FormControlText serverText = new Server.Application.FormControlText(); ((Mercury.Client.Core.Forms.Controls.Text)currentLocalControl).LocalControlToServer(serverControl, serverText); serverControl.Controls.Insert(controlIndex, serverText); controlIndex = controlIndex + 1; break; case Server.Application.FormControlType.Input: Server.Application.FormControlInput serverInput = new Server.Application.FormControlInput(); ((Mercury.Client.Core.Forms.Controls.Input)currentLocalControl).LocalControlToServer(serverControl, serverInput); serverControl.Controls.Insert(controlIndex, serverInput); controlIndex = controlIndex + 1; break; case Server.Application.FormControlType.Selection: Server.Application.FormControlSelection serverSelection = new Server.Application.FormControlSelection(); ((Mercury.Client.Core.Forms.Controls.Selection)currentLocalControl).LocalControlToServer(serverControl, serverSelection); serverControl.Controls.Insert(controlIndex, serverSelection); controlIndex = controlIndex + 1; break; case Server.Application.FormControlType.Button: Server.Application.FormControlButton serverButton = new Server.Application.FormControlButton(); ((Mercury.Client.Core.Forms.Controls.Button)currentLocalControl).LocalControlToServer(serverControl, serverButton); serverControl.Controls.Insert(controlIndex, serverButton); controlIndex = controlIndex + 1; break; case Server.Application.FormControlType.Entity: Server.Application.FormControlEntity serverEntity = new Server.Application.FormControlEntity(); ((Mercury.Client.Core.Forms.Controls.Entity)currentLocalControl).LocalControlToServer(serverControl, serverEntity); serverControl.Controls.Insert(controlIndex, serverEntity); controlIndex = controlIndex + 1; break; case Server.Application.FormControlType.Collection: Server.Application.FormControlCollection serverCollection = new Server.Application.FormControlCollection(); ((Mercury.Client.Core.Forms.Controls.Collection)currentLocalControl).LocalControlToServer(serverControl, serverCollection); serverControl.Controls.Insert(controlIndex, serverCollection); controlIndex = controlIndex + 1; break; case Server.Application.FormControlType.Address: Server.Application.FormControlAddress serverAddress = new Server.Application.FormControlAddress(); ((Mercury.Client.Core.Forms.Controls.Address)currentLocalControl).LocalControlToServer(serverControl, serverAddress); serverControl.Controls.Insert(controlIndex, serverAddress); controlIndex = controlIndex + 1; break; case Server.Application.FormControlType.Service: Server.Application.FormControlService serverService = new Server.Application.FormControlService(); ((Mercury.Client.Core.Forms.Controls.Service)currentLocalControl).LocalControlToServer(serverControl, serverService); serverControl.Controls.Insert(controlIndex, serverService); controlIndex = controlIndex + 1; break; case Server.Application.FormControlType.Metric: Server.Application.FormControlMetric serverMetric = new Server.Application.FormControlMetric(); ((Mercury.Client.Core.Forms.Controls.Metric)currentLocalControl).LocalControlToServer(serverControl, serverMetric); serverControl.Controls.Insert(controlIndex, serverMetric); controlIndex = controlIndex + 1; break; default: System.Diagnostics.Debug.WriteLine("Unable to process Local to Server: " + currentLocalControl.controlType.ToString()); throw new Exception("Local Control to Server. Unable to process Local to Server: " + currentLocalControl.controlType.ToString()); } // switch } // foreach return; }
public void ChildServerControlsToLocal(Mercury.Client.Core.Forms.Control parentControl, Server.Application.FormControl serverControl) { foreach (Server.Application.FormControl currentControl in serverControl.Controls) { switch (currentControl.ControlType) { case Server.Application.FormControlType.Section: Mercury.Client.Core.Forms.Controls.Section sectionControl; sectionControl = new Mercury.Client.Core.Forms.Controls.Section(Application, this, (Server.Application.FormControlSection)currentControl); Controls.Insert(Controls.Count, sectionControl); break; case Server.Application.FormControlType.SectionColumn: Mercury.Client.Core.Forms.Controls.SectionColumn sectionColumnControl; sectionColumnControl = new Mercury.Client.Core.Forms.Controls.SectionColumn(Application, this, (Server.Application.FormControlSectionColumn)currentControl); Controls.Insert(Controls.Count, sectionColumnControl); break; case Server.Application.FormControlType.Label: Mercury.Client.Core.Forms.Controls.Label labelControl; labelControl = new Mercury.Client.Core.Forms.Controls.Label(Application, this, (Server.Application.FormControlLabel)currentControl); Controls.Insert(Controls.Count, labelControl); break; case Server.Application.FormControlType.Text: Mercury.Client.Core.Forms.Controls.Text textControl; textControl = new Mercury.Client.Core.Forms.Controls.Text(Application, this, (Server.Application.FormControlText)currentControl); Controls.Insert(Controls.Count, textControl); break; case Server.Application.FormControlType.Input: Mercury.Client.Core.Forms.Controls.Input inputControl; inputControl = new Mercury.Client.Core.Forms.Controls.Input(Application, this, (Server.Application.FormControlInput)currentControl); Controls.Insert(Controls.Count, inputControl); break; case Server.Application.FormControlType.Selection: Mercury.Client.Core.Forms.Controls.Selection selectionControl; selectionControl = new Mercury.Client.Core.Forms.Controls.Selection(Application, this, (Server.Application.FormControlSelection)currentControl); Controls.Insert(Controls.Count, selectionControl); break; case Server.Application.FormControlType.Button: Mercury.Client.Core.Forms.Controls.Button buttonControl; buttonControl = new Mercury.Client.Core.Forms.Controls.Button(Application, this, (Server.Application.FormControlButton)currentControl); Controls.Insert(Controls.Count, buttonControl); break; case Server.Application.FormControlType.Entity: Mercury.Client.Core.Forms.Controls.Entity entityControl; entityControl = new Mercury.Client.Core.Forms.Controls.Entity(Application, this, (Server.Application.FormControlEntity)currentControl); Controls.Insert(Controls.Count, entityControl); break; case Server.Application.FormControlType.Collection: Mercury.Client.Core.Forms.Controls.Collection collectionControl; collectionControl = new Mercury.Client.Core.Forms.Controls.Collection(Application, this, (Server.Application.FormControlCollection)currentControl); Controls.Insert(Controls.Count, collectionControl); break; case Server.Application.FormControlType.Address: Mercury.Client.Core.Forms.Controls.Address addressControl; addressControl = new Mercury.Client.Core.Forms.Controls.Address(Application, this, (Server.Application.FormControlAddress)currentControl); Controls.Insert(Controls.Count, addressControl); break; case Server.Application.FormControlType.Service: Mercury.Client.Core.Forms.Controls.Service serviceControl; serviceControl = new Mercury.Client.Core.Forms.Controls.Service(Application, this, (Server.Application.FormControlService)currentControl); Controls.Insert(Controls.Count, serviceControl); break; case Server.Application.FormControlType.Metric: Mercury.Client.Core.Forms.Controls.Metric metricControl; metricControl = new Mercury.Client.Core.Forms.Controls.Metric(Application, this, (Server.Application.FormControlMetric)currentControl); Controls.Insert(Controls.Count, metricControl); break; default: System.Diagnostics.Debug.WriteLine("Unable to map Server control to Local control for " + currentControl.ControlType.ToString() + "."); throw new Exception("Unable to map Server control to Local control for " + currentControl.ControlType.ToString() + "."); } // switch } // foreach }
override public void BaseConstructor(Mercury.Client.Core.Forms.Control parentControl, Server.Application.FormControl serverControl) { base.BaseConstructor(parentControl, serverControl); Server.Application.FormControlService serverService = (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; }