Exemple #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.FormControlMetric serverMetric = (Mercury.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;
        }
Exemple #2
0
        public Metric(Application applicationReference, Mercury.Client.Core.Forms.Control parentControl, Mercury.Server.Application.FormControlMetric serverMetric)
        {
            InitializeControl(applicationReference);

            BaseConstructor(applicationReference, parentControl, serverMetric);

            ChildServerControlsToLocal(this, serverMetric);

            return;
        }