Skip to content

Commit

Permalink
Merge pull request #917 from Swampen/Dev
Browse files Browse the repository at this point in the history
Changed exctract button to be placed relative to the panelMenu
  • Loading branch information
NikCharlebois authored Nov 19, 2020
2 parents db980ed + 47ef136 commit 594e4df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Modules/Microsoft365DSC/Modules/M365DSCReverseGUI.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -757,12 +757,13 @@ function Show-M365DSCGUI
}
})
$panelMenu.Controls.Add($txtPassword)
$panelMenu.Width = $pnlIntune.Left + $pnlIntune.Width

$btnExtract = New-Object System.Windows.Forms.Button
$btnExtract.Width = 178
$btnExtract.Height = 70
$btnExtract.Top = 5
$btnExtract.Left = $form.Width - 200
$btnExtract.Left = $panelMenu.Width - 200
$btnExtract.BackColor = [System.Drawing.Color]::ForestGreen
$btnExtract.ForeColor = [System.Drawing.Color]::White
$btnExtract.Text = "Start Extraction"
Expand Down Expand Up @@ -856,7 +857,6 @@ function Show-M365DSCGUI
}
})
$panelMenu.Controls.Add($btnExtract);
$panelMenu.Width = $pnlIntune.Left + $pnlIntune.Width
$pnlMain.Controls.Add($panelMenu);
#endregion

Expand Down

0 comments on commit 594e4df

Please sign in to comment.