fix start recovery button

This commit is contained in:
duffyduck 2026-02-11 20:42:59 +01:00
parent ccb1f5e3bc
commit c2b6859188
1 changed files with 8 additions and 8 deletions

View File

@ -945,23 +945,23 @@ function Show-MainForm {
$btnImportNone.Size = New-Object System.Drawing.Size(130, 30) $btnImportNone.Size = New-Object System.Drawing.Size(130, 30)
$btnImportNone.FlatStyle = "Flat" $btnImportNone.FlatStyle = "Flat"
$chkOverwrite = New-Object System.Windows.Forms.CheckBox
$chkOverwrite.Text = "Vorhandene ueberschreiben"
$chkOverwrite.Location = New-Object System.Drawing.Point(290, 14)
$chkOverwrite.AutoSize = $true
$btnImport = New-Object System.Windows.Forms.Button $btnImport = New-Object System.Windows.Forms.Button
$btnImport.Text = " Wiederherstellen... " $btnImport.Text = " Wiederherstellen... "
$btnImport.Location = New-Object System.Drawing.Point(500, 6) $btnImport.Location = New-Object System.Drawing.Point(290, 6)
$btnImport.Size = New-Object System.Drawing.Size(200, 36) $btnImport.Size = New-Object System.Drawing.Size(200, 36)
$btnImport.Anchor = "Top,Right" $btnImport.Anchor = "Top,Left"
$btnImport.FlatStyle = "Flat" $btnImport.FlatStyle = "Flat"
$btnImport.BackColor = [System.Drawing.Color]::FromArgb(16, 124, 16) $btnImport.BackColor = [System.Drawing.Color]::FromArgb(16, 124, 16)
$btnImport.ForeColor = [System.Drawing.Color]::White $btnImport.ForeColor = [System.Drawing.Color]::White
$btnImport.Font = New-Object System.Drawing.Font("Segoe UI", 9.5, [System.Drawing.FontStyle]::Bold) $btnImport.Font = New-Object System.Drawing.Font("Segoe UI", 9.5, [System.Drawing.FontStyle]::Bold)
$btnImport.Cursor = [System.Windows.Forms.Cursors]::Hand $btnImport.Cursor = [System.Windows.Forms.Cursors]::Hand
$pnlImportButtons.Controls.AddRange(@($btnImportAll, $btnImportNone, $chkOverwrite, $btnImport)) $chkOverwrite = New-Object System.Windows.Forms.CheckBox
$chkOverwrite.Text = "Vorhandene ueberschreiben"
$chkOverwrite.Location = New-Object System.Drawing.Point(500, 14)
$chkOverwrite.AutoSize = $true
$pnlImportButtons.Controls.AddRange(@($btnImportAll, $btnImportNone, $btnImport, $chkOverwrite))
$pnlImport.Controls.Add($lstImport) $pnlImport.Controls.Add($lstImport)
$pnlImport.Controls.Add($lblImportList) $pnlImport.Controls.Add($lblImportList)