Designer/Finds.txt
Modified: Brandon Cunningham
BASIC MODIFICATIONS License import-module ([Environment]::GetFolderPath("MyDocuments")+"\PowerShell Designer\functions\functions.psm1") function Convert-XmlToTreeView function Get-CustomControl function Get-UserInputFromForm function Add-TreeNode New-SendMessage -hWnd $btn_SizeAll.handle -Msg 0x0201 -wParam 0 -lParam 0 function Get-ChildNodeList function Get-RootNodeObjRef function Move-SButtons $stlTimer = new-timer 1 function Save-Project function ChangeView function NewProjectClick function OpenProjectClick function RenameClick function DeleteClick function CopyNodeClick function PasteNodeClick function MoveUpClick function MoveDownClick function GenerateClick 'TreeView' = @{ 'PropertyGrid' = @{ 'trv_Controls' = @{ 'lst_AvailableEvents' = @{ 'lst_AssignedEvents' = @{ 'ChangePanelSize' = @{ 'CheckedChanged' = { $Script:childFormInfo = @{ $reuseContextInfo = @{ $Script:supportedControls = @( $Script:specialProps = @{ function RunLast { function LoadFunctionModule { $Script:refs['Undo'].Add_Click({ $MainForm.Add_FormClosing({($e) $tsNewBtn.Add_Click({NewProjectClick}) @('All Controls','Common','Containers','Menus and ToolStrips','Miscellaneous').ForEach({ $Script:refs['trv_Controls'].Nodes.Where({$_.Name -eq 'Button'}).ImageIndex = 0 [Reflection.Assembly]::LoadFile("$(split-path -path (Get-Module -ListAvailable powershell-designer)[0].path)\FastColoredTextBox.dll") | out-null $AST = [System.Management.Automation.Language.Parser]::ParseFile($designerpath, [ref]$astTokens, [ref]$astErr) $FastText = New-Object FastColoredTextBoxNS.FastColoredTextBox $xpopup = New-Object System.Windows.Forms.ContextMenuStrip function EmptyListString{ $tsRunBtn.Add_MouseEnter({ $btn_Find.add_Click({param($sender, $e) $btn_RemoveFind.add_Click({param($sender, $e) $lst_Find.add_DoubleClick({ Set-WindowParent $FindWindowHandle $MainForm.Handle $CheckForTypingTimer = new-timer $FastText.Add_KeyUp({param($sender, $e) if (($args[0].tolower() -eq "-file") -and (Test-File $args[1])){OpenProjectClick $args[1]} |