public ReverseGeocode() { mDoc = (IMxDocument)ArcMap.Application.Document; mMap = mDoc.FocusMap; mActiveView = mDoc.ActiveView; mActiveViewEvents = mActiveView as IActiveViewEvents_Event; mActiveViewEvents.AfterDraw += new IActiveViewEvents_AfterDrawEventHandler(mActiveViewEvents_AfterDraw); graphicsContainer = mDoc.ActiveView as IGraphicsContainer; log = new agdErrorLogger("errors.agd.cc"); }
public AddressingWindow(object hook) { InitializeComponent(); this.Hook = hook; log = new agdErrorLogger("errors.agd.cc"); mApplicationEvents = (IApplicationStatusEvents_Event)ArcMap.Application; mApplicationEvents.Initialized += new IApplicationStatusEvents_InitializedEventHandler(mApplicationEvents_Initialized); this.MouseEnter += new EventHandler(AddressingWindow_MouseEnter); Globals.OnCenterlineSelected += new Globals.CenterlineSelected(Globals_OnCenterlineSelected); Globals.OnSettingsLoaded += new Globals.SettingsLoaded(Globals_OnSettingsLoaded); error_treeview.MouseUp += new MouseEventHandler(error_treeview_MouseUp); SetEvents(); }
public AddressingToolsEditExtension() { Globals.IsReady = true; log = new agdErrorLogger("errors.agd.cc"); }