private void exportDataMenuAPEXData_Click(object sender, EventArgs e) { var model = Utils.GetRootBindableDoc(treeListViewData); //var frmdataExp = new DataExport(model.BsonDoc,true); var frmdataExp = new DataExport(model.BsonParent, true); frmdataExp.ShowDialog(this); }
private void toolStripDataExport_Click(object sender, EventArgs e) { if (lstCollection.SelectedItems.Count < 1) { return; } var frmdataExp = new DataExport(SelectedDB.GetCollection(lstCollection.SelectedItems[0].Text), false); frmdataExp.ShowDialog(this); }