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p5WyP1uWc87y4+TB7XVHl9f
|
|
DVo3ZD4PBvZrXVFk/8nU9YfyWBTmsmAoW1smrlp4EGcN/GY43XJhbLS7EEzXheWjKvRCy/QCufDc
|
|
7c/1smtQ32ZyZ2RslFFvXGkpEtm+hUOCJLsuK6IElH7JNn+3+t2bp1U7V5yK5k19qi21gvTQJ9vu
|
|
swwHgTRTl/dPSh+p11eToY/qQTecytoMik759am40ge9J00NRa3fUo3n4lZeyds3+RHPwdY28sCt
|
|
lJedpTZVVk7oWqORUhha9280Yoab9KCOxRaeP9i2Xa3eZff0pCR3/2KT2ChO/zmxa8e3tPHnD9vr
|
|
QXONmn3UY5Pmy8/vp8kd4yiyiSopgc0JOYrs4UBNHltNaun4/zz7fWWiS4cbzZ9PxzeN7igfyToX
|
|
IUROHqIJjCQ7dZSS92VQ+wd/RWejuBUAAA==</Form>
|
|
<Code><![CDATA[
|
|
$form1_Load={
|
|
#TODO: Initialize Form Controls here
|
|
|
|
Set-ControlTheme $form1 -Theme Dark
|
|
}
|
|
|
|
$darkToolStripMenuItem_Click={
|
|
#TODO: Place custom script here
|
|
Set-ControlTheme -Control $form1 -Theme Dark
|
|
}
|
|
|
|
$lightToolStripMenuItem_Click={
|
|
Set-ControlTheme -Control $form1 -Theme Light
|
|
}
|
|
|
|
#region Control Theme Helper Function
|
|
<#
|
|
.SYNOPSIS
|
|
Applies a theme to the control and its children.
|
|
|
|
.PARAMETER Control
|
|
The control to theme. Usually the form itself.
|
|
|
|
.PARAMETER Theme
|
|
The color theme:
|
|
Light
|
|
Dark
|
|
|
|
.PARAMETER CustomColor
|
|
A hashtable that contains the color values.
|
|
Keys:
|
|
WindowColor
|
|
ContainerColor
|
|
BackColor
|
|
ForeColor
|
|
BorderColor
|
|
SelectionForeColor
|
|
SelectionBackColor
|
|
MenuSelectionColor
|
|
.EXAMPLE
|
|
PS C:\> Set-ControlTheme -Control $form1 -Theme Dark
|
|
|
|
.EXAMPLE
|
|
PS C:\> Set-ControlTheme -Control $form1 -CustomColor @{ WindowColor = 'White'; ContainerBackColor = 'Gray'; BackColor... }
|
|
.NOTES
|
|
Created by SAPIEN Technologies, Inc.
|
|
#>
|
|
function Set-ControlTheme
|
|
{
|
|
[CmdletBinding()]
|
|
param
|
|
(
|
|
[Parameter(Mandatory = $true)]
|
|
[ValidateNotNull()]
|
|
[System.ComponentModel.Component]$Control,
|
|
[ValidateSet('Light', 'Dark')]
|
|
[string]$Theme = 'Dark',
|
|
[System.Collections.Hashtable]$CustomColor
|
|
)
|
|
|
|
$Font = [System.Drawing.Font]::New('Segoe UI', 9)
|
|
|
|
#Initialize the colors
|
|
if ($Theme -eq 'Dark')
|
|
{
|
|
$WindowColor = [System.Drawing.Color]::FromArgb(32, 32, 32)
|
|
$ContainerColor = [System.Drawing.Color]::FromArgb(45, 45, 45)
|
|
$BackColor = [System.Drawing.Color]::FromArgb(32, 32, 32)
|
|
$ForeColor = [System.Drawing.Color]::White
|
|
$BorderColor = [System.Drawing.Color]::DimGray
|
|
$SelectionBackColor = [System.Drawing.SystemColors]::Highlight
|
|
$SelectionForeColor = [System.Drawing.Color]::White
|
|
$MenuSelectionColor = [System.Drawing.Color]::DimGray
|
|
}
|
|
else
|
|
{
|
|
$WindowColor = [System.Drawing.Color]::White
|
|
$ContainerColor = [System.Drawing.Color]::WhiteSmoke
|
|
$BackColor = [System.Drawing.Color]::Gainsboro
|
|
$ForeColor = [System.Drawing.Color]::Black
|
|
$BorderColor = [System.Drawing.Color]::DimGray
|
|
$SelectionBackColor = [System.Drawing.SystemColors]::Highlight
|
|
$SelectionForeColor = [System.Drawing.Color]::White
|
|
$MenuSelectionColor = [System.Drawing.Color]::LightSteelBlue
|
|
}
|
|
|
|
if ($CustomColor)
|
|
{
|
|
#Check and Validate the custom colors:
|
|
$Color = $CustomColor.WindowColor -as [System.Drawing.Color]
|
|
if ($Color) { $WindowColor = $Color }
|
|
$Color = $CustomColor.ContainerColor -as [System.Drawing.Color]
|
|
if ($Color) { $ContainerColor = $Color }
|
|
$Color = $CustomColor.BackColor -as [System.Drawing.Color]
|
|
if ($Color) { $BackColor = $Color }
|
|
$Color = $CustomColor.ForeColor -as [System.Drawing.Color]
|
|
if ($Color) { $ForeColor = $Color }
|
|
$Color = $CustomColor.BorderColor -as [System.Drawing.Color]
|
|
if ($Color) { $BorderColor = $Color }
|
|
$Color = $CustomColor.SelectionBackColor -as [System.Drawing.Color]
|
|
if ($Color) { $SelectionBackColor = $Color }
|
|
$Color = $CustomColor.SelectionForeColor -as [System.Drawing.Color]
|
|
if ($Color) { $SelectionForeColor = $Color }
|
|
$Color = $CustomColor.MenuSelectionColor -as [System.Drawing.Color]
|
|
if ($Color) { $MenuSelectionColor = $Color }
|
|
}
|
|
|
|
#Define the custom renderer for the menus
|
|
#region Add-Type definition
|
|
try
|
|
{
|
|
[SAPIENTypes.SAPIENColorTable] | Out-Null
|
|
}
|
|
catch
|
|
{
|
|
if ($PSVersionTable.PSVersion.Major -ge 7)
|
|
{
|
|
$Assemblies = 'System.Windows.Forms', 'System.Drawing', 'System.Drawing.Primitives'
|
|
}
|
|
else
|
|
{
|
|
$Assemblies = 'System.Windows.Forms', 'System.Drawing'
|
|
}
|
|
Add-Type -ReferencedAssemblies $Assemblies -TypeDefinition "
|
|
using System;
|
|
using System.Windows.Forms;
|
|
using System.Drawing;
|
|
namespace SAPIENTypes
|
|
{
|
|
public class SAPIENColorTable : ProfessionalColorTable
|
|
{
|
|
Color ContainerBackColor;
|
|
Color BackColor;
|
|
Color BorderColor;
|
|
Color SelectBackColor;
|
|
|
|
public SAPIENColorTable(Color containerColor, Color backColor, Color borderColor, Color selectBackColor)
|
|
{
|
|
ContainerBackColor = containerColor;
|
|
BackColor = backColor;
|
|
BorderColor = borderColor;
|
|
SelectBackColor = selectBackColor;
|
|
}
|
|
public override Color MenuStripGradientBegin { get { return ContainerBackColor; } }
|
|
public override Color MenuStripGradientEnd { get { return ContainerBackColor; } }
|
|
public override Color ToolStripBorder { get { return BorderColor; } }
|
|
public override Color MenuItemBorder { get { return SelectBackColor; } }
|
|
public override Color MenuItemSelected { get { return SelectBackColor; } }
|
|
public override Color SeparatorDark { get { return BorderColor; } }
|
|
public override Color ToolStripDropDownBackground { get { return BackColor; } }
|
|
public override Color MenuBorder { get { return BorderColor; } }
|
|
public override Color MenuItemSelectedGradientBegin { get { return SelectBackColor; } }
|
|
public override Color MenuItemSelectedGradientEnd { get { return SelectBackColor; } }
|
|
public override Color MenuItemPressedGradientBegin { get { return ContainerBackColor; } }
|
|
public override Color MenuItemPressedGradientEnd { get { return ContainerBackColor; } }
|
|
public override Color MenuItemPressedGradientMiddle { get { return ContainerBackColor; } }
|
|
public override Color ImageMarginGradientBegin { get { return BackColor; } }
|
|
public override Color ImageMarginGradientEnd { get { return BackColor; } }
|
|
public override Color ImageMarginGradientMiddle { get { return BackColor; } }
|
|
}
|
|
}"
|
|
}
|
|
#endregion
|
|
|
|
$colorTable = New-Object SAPIENTypes.SAPIENColorTable -ArgumentList $ContainerColor, $BackColor, $BorderColor, $MenuSelectionColor
|
|
$render = New-Object System.Windows.Forms.ToolStripProfessionalRenderer -ArgumentList $colorTable
|
|
[System.Windows.Forms.ToolStripManager]::Renderer = $render
|
|
|
|
#Set up our processing queue
|
|
$Queue = New-Object System.Collections.Generic.Queue[System.ComponentModel.Component]
|
|
$Queue.Enqueue($Control)
|
|
|
|
Add-Type -AssemblyName System.Core
|
|
|
|
#Only process the controls once.
|
|
$Processed = New-Object System.Collections.Generic.HashSet[System.ComponentModel.Component]
|
|
|
|
#Apply the colors to the controls
|
|
while ($Queue.Count -gt 0)
|
|
{
|
|
$target = $Queue.Dequeue()
|
|
|
|
#Skip controls we already processed
|
|
if ($Processed.Contains($target)) { continue }
|
|
$Processed.Add($target)
|
|
|
|
#Set the text color
|
|
$target.ForeColor = $ForeColor
|
|
|
|
#region Handle Controls
|
|
if ($target -is [System.Windows.Forms.Form])
|
|
{
|
|
#Set Font
|
|
$target.Font = $Font
|
|
$target.BackColor = $ContainerColor
|
|
}
|
|
elseif ($target -is [System.Windows.Forms.SplitContainer])
|
|
{
|
|
$target.BackColor = $BorderColor
|
|
}
|
|
elseif ($target -is [System.Windows.Forms.PropertyGrid])
|
|
{
|
|
$target.BackColor = $BorderColor
|
|
$target.ViewBackColor = $BackColor
|
|
$target.ViewForeColor = $ForeColor
|
|
$target.ViewBorderColor = $BorderColor
|
|
$target.CategoryForeColor = $ForeColor
|
|
$target.CategorySplitterColor = $ContainerColor
|
|
$target.HelpBackColor = $BackColor
|
|
$target.HelpForeColor = $ForeColor
|
|
$target.HelpBorderColor = $BorderColor
|
|
$target.CommandsBackColor = $BackColor
|
|
$target.CommandsBorderColor = $BorderColor
|
|
$target.CommandsForeColor = $ForeColor
|
|
$target.LineColor = $ContainerColor
|
|
}
|
|
elseif ($target -is [System.Windows.Forms.ContainerControl] -or
|
|
$target -is [System.Windows.Forms.Panel])
|
|
{
|
|
#Set the BackColor for the container
|
|
$target.BackColor = $ContainerColor
|
|
|
|
}
|
|
elseif ($target -is [System.Windows.Forms.GroupBox])
|
|
{
|
|
$target.FlatStyle = 'Flat'
|
|
}
|
|
elseif ($target -is [System.Windows.Forms.Button])
|
|
{
|
|
$target.FlatStyle = 'Flat'
|
|
$target.FlatAppearance.BorderColor = $BorderColor
|
|
$target.BackColor = $BackColor
|
|
}
|
|
elseif ($target -is [System.Windows.Forms.CheckBox] -or
|
|
$target -is [System.Windows.Forms.RadioButton] -or
|
|
$target -is [System.Windows.Forms.Label])
|
|
{
|
|
#$target.FlatStyle = 'Flat'
|
|
}
|
|
elseif ($target -is [System.Windows.Forms.ComboBox])
|
|
{
|
|
$target.BackColor = $BackColor
|
|
$target.FlatStyle = 'Flat'
|
|
}
|
|
elseif ($target -is [System.Windows.Forms.TextBox])
|
|
{
|
|
$target.BorderStyle = 'FixedSingle'
|
|
$target.BackColor = $BackColor
|
|
}
|
|
elseif ($target -is [System.Windows.Forms.DataGridView])
|
|
{
|
|
$target.GridColor = $BorderColor
|
|
$target.BackgroundColor = $ContainerColor
|
|
$target.DefaultCellStyle.BackColor = $WindowColor
|
|
$target.DefaultCellStyle.SelectionBackColor = $SelectionBackColor
|
|
$target.DefaultCellStyle.SelectionForeColor = $SelectionForeColor
|
|
$target.ColumnHeadersDefaultCellStyle.BackColor = $ContainerColor
|
|
$target.ColumnHeadersDefaultCellStyle.ForeColor = $ForeColor
|
|
$target.EnableHeadersVisualStyles = $false
|
|
$target.ColumnHeadersBorderStyle = 'Single'
|
|
$target.RowHeadersBorderStyle = 'Single'
|
|
$target.RowHeadersDefaultCellStyle.BackColor = $ContainerColor
|
|
$target.RowHeadersDefaultCellStyle.ForeColor = $ForeColor
|
|
|
|
}
|
|
elseif ($PSVersionTable.PSVersion.Major -le 5 -and $target -is [System.Windows.Forms.DataGrid])
|
|
{
|
|
$target.CaptionBackColor = $WindowColor
|
|
$target.CaptionForeColor = $ForeColor
|
|
$target.BackgroundColor = $ContainerColor
|
|
$target.BackColor = $WindowColor
|
|
$target.ForeColor = $ForeColor
|
|
$target.HeaderBackColor = $ContainerColor
|
|
$target.HeaderForeColor = $ForeColor
|
|
$target.FlatMode = $true
|
|
$target.BorderStyle = 'FixedSingle'
|
|
$target.GridLineColor = $BorderColor
|
|
$target.AlternatingBackColor = $ContainerColor
|
|
$target.SelectionBackColor = $SelectionBackColor
|
|
$target.SelectionForeColor = $SelectionForeColor
|
|
}
|
|
elseif ($target -is [System.Windows.Forms.ToolStrip])
|
|
{
|
|
|
|
$target.BackColor = $BackColor
|
|
$target.Renderer = $render
|
|
|
|
foreach ($item in $target.Items)
|
|
{
|
|
$Queue.Enqueue($item)
|
|
}
|
|
}
|
|
elseif ($target -is [System.Windows.Forms.ToolStripMenuItem] -or
|
|
$target -is [System.Windows.Forms.ToolStripDropDown] -or
|
|
$target -is [System.Windows.Forms.ToolStripDropDownItem])
|
|
{
|
|
$target.BackColor = $BackColor
|
|
foreach ($item in $target.DropDownItems)
|
|
{
|
|
$Queue.Enqueue($item)
|
|
}
|
|
}
|
|
elseif ($target -is [System.Windows.Forms.ListBox] -or
|
|
$target -is [System.Windows.Forms.ListView] -or
|
|
$target -is [System.Windows.Forms.TreeView])
|
|
{
|
|
$target.BackColor = $WindowColor
|
|
}
|
|
else
|
|
{
|
|
$target.BackColor = $BackColor
|
|
}
|
|
#endregion
|
|
|
|
if ($target -is [System.Windows.Forms.Control])
|
|
{
|
|
#Queue all the child controls
|
|
foreach ($child in $target.Controls)
|
|
{
|
|
$Queue.Enqueue($child)
|
|
}
|
|
if ($target.ContextMenuStrip)
|
|
{
|
|
$Queue.Enqueue($target.ContextMenuStrip);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endregion
|
|
|
|
|
|
$send_Click={
|
|
|
|
Register-PnPEntraIDAppForInteractiveLogin -ApplicationName "$appName_box" -Tenant $tenant_box -Interactive
|
|
|
|
|
|
}
|
|
|
|
$tenant_box_TextChanged={
|
|
#TODO: Place custom script here
|
|
|
|
}
|
|
|
|
#region Control Helper Functions
|
|
<#
|
|
.SYNOPSIS
|
|
Sets the emulation of the WebBrowser control for the application.
|
|
|
|
.DESCRIPTION
|
|
Sets the emulation of the WebBrowser control for the application using the installed version of IE.
|
|
This improves the WebBrowser control compatibility with newer html features.
|
|
|
|
.PARAMETER ExecutableName
|
|
The name of the executable E.g. PowerShellStudio.exe.
|
|
Default Value: The running executable name.
|
|
|
|
.EXAMPLE
|
|
PS C:\> Set-WebBrowserEmulation
|
|
|
|
.EXAMPLE
|
|
PS C:\> Set-WebBrowserEmulation PowerShell.exe
|
|
#>
|
|
function Set-WebBrowserEmulation
|
|
{
|
|
param
|
|
(
|
|
[ValidateNotNullOrEmpty()]
|
|
[string]
|
|
$ExecutableName = [System.IO.Path]::GetFileName([System.Diagnostics.Process]::GetCurrentProcess().MainModule.FileName)
|
|
)
|
|
|
|
#region Get IE Version
|
|
$valueNames = 'svcVersion', 'svcUpdateVersion', 'Version', 'W2kVersion'
|
|
|
|
$version = 0;
|
|
for ($i = 0; $i -lt $valueNames.Length; $i++)
|
|
{
|
|
$objVal = [Microsoft.Win32.Registry]::GetValue('HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer', $valueNames[$i], '0')
|
|
$strVal = [System.Convert]::ToString($objVal)
|
|
if ($strVal)
|
|
{
|
|
$iPos = $strVal.IndexOf('.')
|
|
if ($iPos -gt 0)
|
|
{
|
|
$strVal = $strVal.Substring(0, $iPos)
|
|
}
|
|
|
|
$res = 0;
|
|
if ([int]::TryParse($strVal, [ref]$res))
|
|
{
|
|
$version = [Math]::Max($version, $res)
|
|
}
|
|
}
|
|
}
|
|
|
|
if ($version -lt 7)
|
|
{
|
|
$version = 7000
|
|
}
|
|
else
|
|
{
|
|
$version = $version * 1000
|
|
}
|
|
#endregion
|
|
|
|
[Microsoft.Win32.Registry]::SetValue('HKEY_CURRENT_USER\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION', $ExecutableName, $version)
|
|
}
|
|
|
|
|
|
#endregion
|
|
|
|
$webbrowser1_DocumentCompleted=[System.Windows.Forms.WebBrowserDocumentCompletedEventHandler]{
|
|
#Event Argument: $_ = [System.Windows.Forms.WebBrowserDocumentCompletedEventArgs]
|
|
#TODO: Place custom script here
|
|
|
|
}
|
|
]]></Code>
|
|
<TV>0</TV>
|
|
<Mode>1</Mode>
|
|
<Assemblies />
|
|
</File> |