diff --git a/PrinterMigrator.ps1 b/PrinterMigrator.ps1 index 600f244..1775dc6 100644 --- a/PrinterMigrator.ps1 +++ b/PrinterMigrator.ps1 @@ -945,23 +945,23 @@ function Show-MainForm { $btnImportNone.Size = New-Object System.Drawing.Size(130, 30) $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.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.Anchor = "Top,Right" + $btnImport.Anchor = "Top,Left" $btnImport.FlatStyle = "Flat" $btnImport.BackColor = [System.Drawing.Color]::FromArgb(16, 124, 16) $btnImport.ForeColor = [System.Drawing.Color]::White $btnImport.Font = New-Object System.Drawing.Font("Segoe UI", 9.5, [System.Drawing.FontStyle]::Bold) $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($lblImportList)