SharepointXLStoXLSX/EventHandlers.ps1
2025-02-24 14:37:47 -08:00

11 lines
397 B
PowerShell

# Event handlers for button clicks
function List-XlsFiles_Click { # Rename to avoid conflict
$script:txtStatus.Text = "Listing XLS files...`n"
List-XlsFiles # Call the function in SharePointFunctions.ps1
}
function Convert-Files_Click { # Rename to avoid conflict
$script:txtStatus.Text += "Starting conversion...`n"
Convert-Files # Call the function in SharePointFunctions.ps1
}