public DocView(SwAddin addin, IModelView mv, DocumentEventHandler doc) { userAddin = addin; mView = (ModelView)mv; iSwApp = (ISldWorks)userAddin.SwApp; parent = doc; }
public DocumentEventHandler(ModelDoc2 modDoc, SwAddin addin) { document = modDoc; userAddin = addin; iSwApp = (ISldWorks)userAddin.SwApp; openModelViews = new Hashtable(); }
public UserPMPage(SwAddin addin) { userAddin = addin; if (userAddin != null) { iSwApp = (ISldWorks)userAddin.SwApp; CreatePropertyManagerPage(); } else { System.Windows.Forms.MessageBox.Show("SwAddin not set."); } }
public PartEventHandler(ModelDoc2 modDoc, SwAddin addin) : base(modDoc, addin) { doc = (PartDoc)document; }
public DrawingEventHandler(ModelDoc2 modDoc, SwAddin addin) : base(modDoc, addin) { doc = (DrawingDoc)document; }
public AssemblyEventHandler(ModelDoc2 modDoc, SwAddin addin) : base(modDoc, addin) { doc = (AssemblyDoc)document; swAddin = addin; }
public PMPHandler(SwAddin addin) { userAddin = addin; iSwApp = (ISldWorks)userAddin.SwApp; }