public GranitDataGridViewContextMenuHandler(DataGridView dgv, ContextMenuStrip contextMenuStrip, GranitXmlToAdapterBinder xml2Obj) { _contextMenuStrip = contextMenuStrip; _contextMenuStrip.Opening += new CancelEventHandler(ContextMenuStrip_Opening); _dataGridView = dgv; _xmlToObject = xml2Obj; }
public TransactionAdapter(Transaction t, XDocument xdoc) { Transaction = t; GranitXmlToAdapterBinder.Bind(ref xdoc, this); GranitXDocument = xdoc; }