init
This commit is contained in:
17
Test/GUIS/delconf/delconf.ps1
Normal file
17
Test/GUIS/delconf/delconf.ps1
Normal file
@@ -0,0 +1,17 @@
|
||||
function Load_delconf {
|
||||
param ($root)
|
||||
|
||||
# Lädt das Fenster
|
||||
[xml]$Form = Get-Content "$PSScriptRoot\delconf.xaml" -Encoding utf8
|
||||
$NR=(New-Object System.Xml.XmlNodeReader $Form)
|
||||
$window=[Windows.Markup.XamlReader]::Load($NR)
|
||||
|
||||
# Verknüpft feste Elemente
|
||||
$window.Title = $Script:Version
|
||||
$window.icon="$root/Source/Logo.png"
|
||||
$Script:delconfsize = $window.FindName("tbdelsize")
|
||||
$Script:delconfelements = $window.FindName("tbdeldata")
|
||||
$Script:deltb = $window.FindName("tb")
|
||||
|
||||
return $window
|
||||
}
|
||||
Reference in New Issue
Block a user