Powershell GUI fronted (WPF) to run categorized console scripts

⌈⌋ branch:  ClickyColoury


Check-in [d90fd410d2]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Move input form expander into scrollviewer
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:d90fd410d2ec6b22256f64ed479a7e5b47609f65
User & Date: mario 2018-05-16 18:00:33
Context
2018-05-16
18:02
Remove unused Get-Machine, introduce general Read-HostCached alias. Merge new sectioned/submenu Print-Menu implementation. check-in: e0133cf4d1 user: mario tags: trunk
18:00
Move input form expander into scrollviewer check-in: d90fd410d2 user: mario tags: trunk
2018-04-22
22:49
Undo $results._proceed=1 default, as window closing would leave it default. check-in: c12edca429 user: mario tags: trunk
Changes

Changes to modules/guimenu.psm1.

806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826




827
828
829
830
831
832
833
834
835
836
837
838
        $vars[$_.name]
        W TextBlock @{Text=$_.description; TextWrapping="WrapWithOverflow"; FontSize=9; Margin="0,0,0,5"}
    }

    #-- window
    $w = (W (New-Object System.Windows.Window) @{
      Title=$meta.title;
      Width=350; Height=$height; Top=350; Left=600; TopMost=$true;
      Background="#eef7f7ff";
      Content=(
        W StackPanel @{Width=300;Height=$height;Add=@(  #AddChild ?
          (W Expander @{
            Expanded=$false; Header=$meta.description;
            Content=(
              W Label @{Content=" $($meta.api) // $($meta.type) // $($meta.category) // $($meta.version)`r`n$($meta.doc)"}
            )
          })
          (W ScrollViewer @{
            Height=($height-100); Padding="10,5"; HorizontalAlignment="Left";
            Content=(
              W StackPanel @{




                Add=$widget_blocks
              }
            )
          }),
          (W DockPanel @{
            Add=@(
              (W Button @{Content="Cancel"; Width=70; Height=30; Dock="Right"; BackGround="Red";
                Add_Click={ $results._proceed = 0; $w.close() }
              }),
              (W Button @{Content="▶ Run"; Width=150; Height=30; BackGround="Green";
                Add_Click={ $results._proceed = 1; $w.close() }
              })







|


|
<
<
<
<
<
<

|


>
>
>
>
|



|







806
807
808
809
810
811
812
813
814
815
816






817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
        $vars[$_.name]
        W TextBlock @{Text=$_.description; TextWrapping="WrapWithOverflow"; FontSize=9; Margin="0,0,0,5"}
    }

    #-- window
    $w = (W (New-Object System.Windows.Window) @{
      Title=$meta.title;
      Width=345; Height=$height; Top=350; Left=600; TopMost=$true;
      Background="#eef7f7ff";
      Content=(
        W StackPanel @{Width=350;Add=@(  #AddChild ?






          (W ScrollViewer @{
            Height=($height-90); Padding="15,5"; HorizontalAlignment="Left";
            Content=(
              W StackPanel @{
                Add=@(
                  (W Expander @{Expanded=$false; Header=$meta.description;
                    Content=(W Label @{Content=" $($meta.api) // $($meta.type) // $($meta.category) // $($meta.version)`r`n$($meta.doc)"})
                  })
                ) + $widget_blocks
              }
            )
          }),
          (W DockPanel @{Height=50; Margin="35,5";
            Add=@(
              (W Button @{Content="Cancel"; Width=70; Height=30; Dock="Right"; BackGround="Red";
                Add_Click={ $results._proceed = 0; $w.close() }
              }),
              (W Button @{Content="▶ Run"; Width=150; Height=30; BackGround="Green";
                Add_Click={ $results._proceed = 1; $w.close() }
              })