1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
| using SolidWorks.Interop.sldworks;
|
| namespace PdmSwPlugin.Main.EventHandler
| {
| public interface IDocEventHandler
| {
| int OnDocDestory(ModelDoc2 doc);
| /// <summary>
| /// 当前文档保存
| /// </summary>
| /// <param name="type"></param>
| /// <param name="fileName"></param>
| /// <returns></returns>
| int OnActiveDocSaved(int type, string fileName);
|
| int OnActiveDocCustomPropertyAdded(string propName, string Configuration, string NewValue, int valueType);
|
| int OnActiveDocCustomPropertyChanged(string propName, string Configuration, string oldValue, string NewValue, int valueType);
|
| void AfterDocDestroy();
| }
| }
|
|