-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes corresponding to PS version 1.2.11 #353
Conversation
[System.Windows.Forms.Button]$JsonNbutton = $null | ||
[System.Windows.Forms.Button]$button1 = $null | ||
function InitializeComponent | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you even have this function? You make it then just call it.
#Jsonlabel | ||
# | ||
$Jsonlabel.AutoSize = $true | ||
$Jsonlabel.Location = New-Object -TypeName System.Drawing.Point -ArgumentList @(59,42) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You hardcode the position of the label, but I don't see anywhere that you make the main window non-resizable.
Write-Host "`n `t[INFO] Loaded $($FileBrowser.FileNames)" -ForegroundColor Green | ||
[array]$ERCSIPS = $JSONFile.EmergencyConsoleIPAddresses | ||
Write-Host "`n `t[INFO] Saving AzureStackStampInformation to $($Env:ProgramData)" -ForegroundColor Green |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should copy the file to a new file.
No description provided.