Exemplo n.º 1
0
        public EditTrail(ITheme visualTheme, System.Globalization.CultureInfo culture, ActivityDetailPageControl page,
                         IDailyActivityView view, TrailPointsLayer layer, bool addMode, bool copy, TrailResult tr)
#endif
            : this(addMode, copy)
        {
#if !ST_2_1
            this.m_page              = page;
            this.m_view              = view;
            this.m_layer             = layer;
            this.m_layer.TrailPoints = m_TrailToEdit.TrailLocations;
#endif
            this.m_trailResult = tr;
            //It is possible that the trail result is not for the trail to edit (if more than one is selected)
            if (tr != null && tr.Trail != Controller.TrailController.Instance.PrimaryCurrentActivityTrail.Trail)
            {
                this.m_trailResult = null;
            }

            ThemeChanged(visualTheme);
            UICultureChanged(culture);
        }
Exemplo n.º 2
0
        public void SetControl(ActivityDetailPageControl page,
#if ST_2_1
                               Object view, UI.MapLayers.MapControlLayer layer)