Example #1
0
		/// <summary>
		/// Shows the dialog for Galactic SPC file export, and exports the data of the table using the options provided in that dialog.
		/// </summary>
		/// <param name="dataTable">DataTable to export.</param>
		/// <param name="selectedDataRows">Rows to export (can be null - then all rows will be considered for export).</param>
		/// <param name="selectedDataColumns">Columns to export (can be null - then all columns will be considered for export).</param>
		public static void ShowExportGalacticSPCDialog(this DataTable dataTable, IAscendingIntegerCollection selectedDataRows, IAscendingIntegerCollection selectedDataColumns)
		{
			var exportCtrl = new Altaxo.Gui.Worksheet.ExportGalacticSpcFileDialogController(dataTable, selectedDataRows, selectedDataColumns);
			Current.Gui.ShowDialog(exportCtrl, "Export Galactic SPC format");
		}
Example #2
0
        /// <summary>
        /// Shows the dialog for Galactic SPC file export, and exports the data of the table using the options provided in that dialog.
        /// </summary>
        /// <param name="dataTable">DataTable to export.</param>
        /// <param name="selectedDataRows">Rows to export (can be null - then all rows will be considered for export).</param>
        /// <param name="selectedDataColumns">Columns to export (can be null - then all columns will be considered for export).</param>
        public static void ShowExportGalacticSPCDialog(this DataTable dataTable, IAscendingIntegerCollection selectedDataRows, IAscendingIntegerCollection selectedDataColumns)
        {
            var exportCtrl = new Altaxo.Gui.Worksheet.ExportGalacticSpcFileDialogController(dataTable, selectedDataRows, selectedDataColumns);

            Current.Gui.ShowDialog(exportCtrl, "Export Galactic SPC format");
        }