private void ex_ExportComplete(bool Success, DatabaseExport.DatabaseExportEnum ExportingFormat) { if (Success == true) { Interaction.MsgBox("Export Completed!", MsgBoxStyle.OkOnly + MsgBoxStyle.Information + MsgBoxStyle.ApplicationModal, "Export Utilies"); } else { Interaction.MsgBox("Export Completed!", MsgBoxStyle.OkOnly + MsgBoxStyle.Information + MsgBoxStyle.ApplicationModal, "Export Utilies"); } this.Close(); }
private void ex_ExportStarted(DatabaseExport.DatabaseExportEnum ExportingFormat) { this.Cursor = System.Windows.Forms.Cursors.WaitCursor; Debug.Print((ExportingFormat == DatabaseExport.DatabaseExportEnum.CSV ? "CSV" : (ExportingFormat == DatabaseExport.DatabaseExportEnum.HTML ? "HTML" : "Excel"))); }