public override void Refresh() { base.Refresh(); if (ActiveView != null) { ActiveView.Refresh(); } Repaint(); }
public override void Refresh() { SetProgressMessage(Localization.MessageRefreshing, 0); base.Refresh(); if (ActiveView != null) ActiveView.Refresh(); Refresh(CacheType.GitLocks); Redraw(); }
public override void Refresh() { SetProgressMessage(Localization.MessageRefreshing, 0); base.Refresh(); if (ActiveView != null) { ActiveView.Refresh(); } Redraw(); }
/// <summary> /// ZoomToFeature /// </summary> /// <param name="pFeature">IFeature</param> protected virtual void ZoomToFeature(IFeature pFeature) { try { if (pFeature == null) { return; } var transform = ActiveView.ScreenDisplay.DisplayTransformation; var scale = ConfigurationMain.AppProperties.GetSettingValue("ZoomToPointMapScale", 1000); transform.ScaleRatio = scale; var pEnv = ActiveView.Extent; pEnv.CenterAt((IPoint)pFeature.Shape); ActiveView.Extent = pEnv; ActiveView.Refresh(); } catch (Exception ex) { MessageBox.Show(ex.Message, m_name); } }
public override void Refresh() { base.Refresh(); ActiveView.Refresh(); }