How find difference of OnStartEditing event between ArcMAP & ArcFM

700
1
03-31-2011 10:17 PM
New Contributor
Hi All,

I am new for ArcFM customization. I want to identify the events of session manager when session opened. And how to know the difference between ArcMAP OnStartEditing event and OnStartEditing event of session manager when session opened?

Actual I want to restrict user to start editing using ArcMAP???s start editing. I want to prompt to user to use session manager's open session functionality. I tried to fire the events  of ???IMMEditorEvents???. But the following code not compling it is giving the error of ???Cannot assign to 'OnStartEditing' because it is a 'method group'???

  IMMEditor mmEditor=(IMMEditor)m_editor;
  IMMEditorEvents mmEvents = (IMMEditorEvents)mmEditor;

  //Getting error here               
  mmEvents.OnStartEditing += new IMMEditorEvents_OnStartEditingEventHandler(OnStartEditing1);


Any one has idea?

Thanks-Ramesh
Reply
0 Kudos
1 Reply
New Contributor
Hi,
   I think you can implement one subtask which will stop edits programatically. This subtask can be confirgured in the Open Session task.

Thanks
Nikhil
Reply
0 Kudos