From: -=RapidHail=- on 1 Apr 2007 18:47 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.
|
Pages: 1 Prev: SW Api (Property Manager) and C# Next: SolidWorks Sucks... |