From: -=RapidHail=- on
Is there anybody who write in C# and can show me a code with how to handle
the events from SW Application?

Is it have to be done sth like that:
public event SldWorks.DSldWorksEvents_ActiveDocChangeNotifyEventHandler
swAppActiveDocChangeNotify;

or just
SldWorks.SldWorks swApp;
swApp = new SldWorks.SldWorksClass();
swApp.ActiveModelDocChangeNotify += new
DSldWorksEvents_ActiveModelDocChangeNotifyEventHandler
swApp_ActiveModelDocChangeNotify);

Nothing works :/

Please help me with a sample of simple code with one handler in C#.

Thanks in advance.