public void Export(DataTable dataTable) { var dialog = new ExportDialog(dataTable); dialog.ShowDialog(); }
public void Export(IFeatureLayer layer) { var dialog = new ExportDialog(layer == null? null : new [] { layer.LegendText }); dialog.ShowDialog(); }