C# Class SolidworksAddin_EpicorIntegration.AssemblyEventHandler

Inheritance: DocumentEventHandler
ファイルを表示 Open project: virall/EpicorIntegration Class Usage Examples

Public Methods

Method Description
AssemblyEventHandler ( ModelDoc2 modDoc, SwAddin addin ) : System
AttachEventHandlers ( ) : bool
ComponentStateChangeNotify2 ( object componentModel, string CompName, short oldCompState, short newCompState ) : int
DetachEventHandlers ( ) : bool
OnDestroy ( ) : int
OnNewSelection ( ) : int

Protected Methods

Method Description
ComponentStateChange ( object componentModel ) : int
ComponentStateChange ( object componentModel, short newCompState ) : int

Private Methods

Method Description
ComponentDisplayStateChangeNotify ( object swObject ) : int
ComponentStateChangeNotify ( object componentModel, short oldCompState, short newCompState ) : int
ComponentVisualPropertiesChangeNotify ( object swObject ) : int

Method Details

AssemblyEventHandler() public method

public AssemblyEventHandler ( ModelDoc2 modDoc, SwAddin addin ) : System
modDoc ModelDoc2
addin SwAddin
return System

AttachEventHandlers() public method

public AttachEventHandlers ( ) : bool
return bool

ComponentStateChange() protected method

protected ComponentStateChange ( object componentModel ) : int
componentModel object
return int

ComponentStateChange() protected method

protected ComponentStateChange ( object componentModel, short newCompState ) : int
componentModel object
newCompState short
return int

ComponentStateChangeNotify2() public method

public ComponentStateChangeNotify2 ( object componentModel, string CompName, short oldCompState, short newCompState ) : int
componentModel object
CompName string
oldCompState short
newCompState short
return int

DetachEventHandlers() public method

public DetachEventHandlers ( ) : bool
return bool

OnDestroy() public method

public OnDestroy ( ) : int
return int

OnNewSelection() public method

public OnNewSelection ( ) : int
return int