added info register
This commit is contained in:
parent
c2b6859188
commit
5f67657eb7
|
|
@ -969,9 +969,55 @@ function Show-MainForm {
|
|||
$pnlImport.Controls.Add($pnlImportFile)
|
||||
$tabImport.Controls.Add($pnlImport)
|
||||
|
||||
# ---- TAB: INFO ----
|
||||
$tabInfo = New-Object System.Windows.Forms.TabPage
|
||||
$tabInfo.Text = " Info "
|
||||
$tabInfo.Padding = New-Object System.Windows.Forms.Padding(20)
|
||||
$tabInfo.UseVisualStyleBackColor = $true
|
||||
|
||||
$pnlInfo = New-Object System.Windows.Forms.Panel
|
||||
$pnlInfo.Dock = [System.Windows.Forms.DockStyle]::Fill
|
||||
|
||||
$lblInfoText = New-Object System.Windows.Forms.Label
|
||||
$lblInfoText.Dock = [System.Windows.Forms.DockStyle]::Top
|
||||
$lblInfoText.AutoSize = $false
|
||||
$lblInfoText.Height = 180
|
||||
$lblInfoText.Font = New-Object System.Drawing.Font("Segoe UI", 10)
|
||||
$lblInfoText.Text = @"
|
||||
Drucker-Migrationstool v1.0
|
||||
|
||||
Exportiert und importiert Windows-Drucker inklusive
|
||||
TCP/IP-Anschluesse und Treiber in eine einzelne ZIP-Datei.
|
||||
|
||||
|
||||
HackerSoft - Hacker-Net Telekommunikation
|
||||
Am Wunderburgpark 5b
|
||||
26135 Oldenburg
|
||||
"@
|
||||
|
||||
$lnkWeb = New-Object System.Windows.Forms.LinkLabel
|
||||
$lnkWeb.Text = "www.hacker-net.de"
|
||||
$lnkWeb.Dock = [System.Windows.Forms.DockStyle]::Top
|
||||
$lnkWeb.Height = 25
|
||||
$lnkWeb.Font = New-Object System.Drawing.Font("Segoe UI", 10)
|
||||
$lnkWeb.Add_LinkClicked({ Start-Process "https://www.hacker-net.de" })
|
||||
|
||||
$lnkRepo = New-Object System.Windows.Forms.LinkLabel
|
||||
$lnkRepo.Text = "Repository: git.hacker-net.de/Hacker-Software/windows-printer-migrator"
|
||||
$lnkRepo.Dock = [System.Windows.Forms.DockStyle]::Top
|
||||
$lnkRepo.Height = 25
|
||||
$lnkRepo.Font = New-Object System.Drawing.Font("Segoe UI", 10)
|
||||
$lnkRepo.Add_LinkClicked({ Start-Process "https://git.hacker-net.de/Hacker-Software/windows-printer-migrator" })
|
||||
|
||||
$pnlInfo.Controls.Add($lnkRepo)
|
||||
$pnlInfo.Controls.Add($lnkWeb)
|
||||
$pnlInfo.Controls.Add($lblInfoText)
|
||||
$tabInfo.Controls.Add($pnlInfo)
|
||||
|
||||
# Tabs zum TabControl hinzufuegen
|
||||
$tabControl.TabPages.Add($tabExport)
|
||||
$tabControl.TabPages.Add($tabImport)
|
||||
$tabControl.TabPages.Add($tabInfo)
|
||||
$topPanel.Controls.Add($tabControl)
|
||||
|
||||
# ============================================================
|
||||
|
|
|
|||
Loading…
Reference in New Issue