Change a Powershell App to a C/Native/.net App (Quick Task)
Budget: €30 – €250 EUR
We have an App we use to activate Computers. The app is Written in Powershell And it creates a Form (GUI) which on Submit Executes some Power Shell Commands.
The Script itself is completely ready. Its less than 200 Lines of Code which 70% of is Creating Input Elements/Buttons, etc.
The Form curently is created as a "Form-Dialog" and we want to Change this to be a Native Windows App.
Current Form Launch works like this:
$window = New-Object System.Windows.Forms.Form
$window.Width = 800
$window.Height = 600
$welcome_text = New-Object System.Windows.Forms.Label
$welcome_text.Location = New-Object System.Drawing.Size(10,20)
$welcome_text.Font = New-Object System.Drawing.Font("Arial", 18)
$welcome_text.Text = "Aktivieren Sie Ihre Windows 10 Installation"
$welcome_text.AutoSize = $True
$window.Controls.Add($welcome_text)
[...] Create more Form Elements, etc
[void]$window.ShowDialog()
We want to change this to be a native Windows app (exe), not a Form opened in a new Window by a Powershell Script.
The Script itself is completely ready. Its less than 200 Lines of Code which 70% of is Creating Input Elements/Buttons, etc.
The Form curently is created as a "Form-Dialog" and we want to Change this to be a Native Windows App.
Current Form Launch works like this:
$window = New-Object System.Windows.Forms.Form
$window.Width = 800
$window.Height = 600
$welcome_text = New-Object System.Windows.Forms.Label
$welcome_text.Location = New-Object System.Drawing.Size(10,20)
$welcome_text.Font = New-Object System.Drawing.Font("Arial", 18)
$welcome_text.Text = "Aktivieren Sie Ihre Windows 10 Installation"
$welcome_text.AutoSize = $True
$window.Controls.Add($welcome_text)
[...] Create more Form Elements, etc
[void]$window.ShowDialog()
We want to change this to be a native Windows app (exe), not a Form opened in a new Window by a Powershell Script.