public Control CreatePageControl() { if (m_control == null) { #if ST_2_1 m_control = new ActivityDetailPageControl(); m_control.Activities = m_activities; #else m_control = new ActivityDetailPageControl(this, m_view); #endif } return(m_control); }
public void SetControl(ActivityDetailPageControl page, IDailyActivityView view) { m_view = view; #endif m_page = page; foreach (TrailLineChart t in m_lineCharts) { t.SetControl(m_page, this); } if (this.m_page.IsPopup) { this.btnExpand.Visible = false; } }
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); }
public void SetControl(ActivityDetailPageControl page, #if ST_2_1 Object view, UI.MapLayers.MapControlLayer layer)
public void SetControl(ActivityDetailPageControl page, Object view) {