public Intersect_event(CheckIntersectcmd data, Document doc, Interference_Report form, FrmCheck frmCheck) { this._data = data; this._frmCheck = frmCheck; _doc = doc; this._form = form; }
public void Showform(Document doc, List <ElementId> elementIds, ref Dictionary <string, string> dic, FrmCheck frmCheck) { dic = Doing(doc, elementIds); var form2 = new Interference_Report(this, doc, frmCheck); this._exEvent = ExternalEvent.Create((IExternalEventHandler) new Intersect_event(this, doc, form2, frmCheck)); form2.Show(); form2.ExEvent = this._exEvent; }