Skip to content
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

Closed
wants to merge 7 commits into from
Closed

Changes corresponding to PS version 1.2.11 #353

wants to merge 7 commits into from

Conversation

effingerw
Copy link
Contributor

No description provided.

@effingerw effingerw closed this Oct 24, 2017
[System.Windows.Forms.Button]$JsonNbutton = $null
[System.Windows.Forms.Button]$button1 = $null
function InitializeComponent
{
Copy link
Member

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)
Copy link
Member

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
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants