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