feat: Add placeholder Convert-Files function to SharePointFunctions.ps1
This commit is contained in:
parent
f1e3a09cc0
commit
fe308bc16f
@ -124,7 +124,7 @@ function Get-FolderBrowser {
|
|||||||
$listBox = New-Object System.Windows.Forms.ListBox
|
$listBox = New-Object System.Windows.Forms.ListBox
|
||||||
$listBox.Size = New-Object System.Drawing.Size(360, 320)
|
$listBox.Size = New-Object System.Drawing.Size(360, 320)
|
||||||
$listBox.Location = New-Object System.Drawing.Point(10, 10)
|
$listBox.Location = New-Object System.Drawing.Point(10, 10)
|
||||||
$okButton = New-Object System.Windows.Forms.Button
|
$okButton = New-Object System.Windows.Forms.Button
|
||||||
$okButton.Location = New-Object System.Drawing.Point(150, 340)
|
$okButton.Location = New-Object System.Drawing.Point(150, 340)
|
||||||
$okButton.Size = New-Object System.Drawing.Size(75, 23)
|
$okButton.Size = New-Object System.Drawing.Size(75, 23)
|
||||||
$okButton.Text = "OK"
|
$okButton.Text = "OK"
|
||||||
@ -142,7 +142,8 @@ function Get-FolderBrowser {
|
|||||||
$form.Controls.Add($selectFolderButton) | Out-Null
|
$form.Controls.Add($selectFolderButton) | Out-Null
|
||||||
$form.FormBorderStyle = 'FixedDialog'
|
$form.FormBorderStyle = 'FixedDialog'
|
||||||
$form.StartPosition = 'CenterScreen'
|
$form.StartPosition = 'CenterScreen'
|
||||||
$form.Add_Shown({$Form.Activate()})
|
$form.Add_Shown({$Form.Activate()})
|
||||||
|
|
||||||
# Populate listbox
|
# Populate listbox
|
||||||
foreach ($folder in $folderObjects) {
|
foreach ($folder in $folderObjects) {
|
||||||
$listBox.Items.Add($folder.Name) | Out-Null
|
$listBox.Items.Add($folder.Name) | Out-Null
|
||||||
@ -389,3 +390,7 @@ function Get-XlsFilesCurrentFolder {
|
|||||||
|
|
||||||
return $allFiles
|
return $allFiles
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function Convert-Files {
|
||||||
|
$script:txtStatus.Text += "Convert-Files function called (placeholder).`n"
|
||||||
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user