├── README.md
├── W10 Progress Like
├── W10_Progress.ps1
├── W10_Progress_ArcsRing.xaml
├── W10_Progress_ArcsStyle.xaml
├── W10_Progress_DoubleBouncey.xaml
├── W10_Progress_FlipPlane.xaml
├── W10_Progress_Pulse.xaml
├── W10_Progress_Ring.xaml
├── W10_Progress_ThreeDots.xaml
├── W10_Progress_Wave.xaml
├── assembly
│ ├── LoadingIndicators.WPF.dll
│ ├── MahApps.Metro.dll
│ └── System.Windows.Interactivity.dll
└── resources
│ ├── Icons.xaml
│ └── custom.xaml
├── With Check and Ratio
├── Dark
│ ├── MyGUI.ps1
│ ├── MyGUI.xaml
│ ├── assembly
│ │ ├── LoadingIndicators.WPF.dll
│ │ ├── MahApps.Metro.dll
│ │ ├── RadialMenu.dll
│ │ └── System.Windows.Interactivity.dll
│ └── resources
│ │ ├── Icons.xaml
│ │ └── custom.xaml
└── Light
│ ├── MyGUI.ps1
│ ├── MyGUI.xaml
│ ├── assembly
│ ├── LoadingIndicators.WPF.dll
│ ├── MahApps.Metro.dll
│ ├── RadialMenu.dll
│ └── System.Windows.Interactivity.dll
│ └── resources
│ ├── Icons.xaml
│ └── custom.xaml
├── With style name
├── Dark
│ ├── MyGUI.ps1
│ ├── MyGUI.xaml
│ ├── assembly
│ │ ├── LoadingIndicators.WPF.dll
│ │ ├── MahApps.Metro.dll
│ │ ├── RadialMenu.dll
│ │ └── System.Windows.Interactivity.dll
│ └── resources
│ │ ├── Icons.xaml
│ │ └── custom.xaml
└── Light
│ ├── MyGUI.ps1
│ ├── MyGUI.xaml
│ ├── assembly
│ ├── LoadingIndicators.WPF.dll
│ ├── MahApps.Metro.dll
│ ├── RadialMenu.dll
│ └── System.Windows.Interactivity.dll
│ └── resources
│ ├── Icons.xaml
│ └── custom.xaml
└── gif
└── loadingindicator_preview.gif
/README.md:
--------------------------------------------------------------------------------
1 | # Loadingindicators_PS1_WPF
2 | 
3 |
4 | **Create cool progress indicator with PowerShell and WPF**
5 |
6 | > *View the full blog post here*
7 | http://www.systanddeploy.com/2018/12/create-cool-progress-bars-or-rings-with.html
8 |
9 |
10 |
11 | The repo is composed of three folders:
12 | 1. With style name: GUI containing each Progress indicator with style name
13 | 2. With Check and Ratio: GUI containing Progress indicator with slider to change the ratio and checkbox to display or not indicators
14 | 3. W10 Progress Like: A progress bar like in Windows 10 progress using loading indicators
15 |
--------------------------------------------------------------------------------
/W10 Progress Like/W10_Progress.ps1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/damienvanrobaeys/Loadingindicators_PS1_WPF/d6a1d3b20f98a1fad55f5cff33a930d5c1f3001c/W10 Progress Like/W10_Progress.ps1
--------------------------------------------------------------------------------
/W10 Progress Like/W10_Progress_ArcsRing.xaml:
--------------------------------------------------------------------------------
1 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
--------------------------------------------------------------------------------
/W10 Progress Like/W10_Progress_ArcsStyle.xaml:
--------------------------------------------------------------------------------
1 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
--------------------------------------------------------------------------------
/W10 Progress Like/W10_Progress_DoubleBouncey.xaml:
--------------------------------------------------------------------------------
1 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
--------------------------------------------------------------------------------
/W10 Progress Like/W10_Progress_FlipPlane.xaml:
--------------------------------------------------------------------------------
1 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
--------------------------------------------------------------------------------
/W10 Progress Like/W10_Progress_Pulse.xaml:
--------------------------------------------------------------------------------
1 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
--------------------------------------------------------------------------------
/W10 Progress Like/W10_Progress_Ring.xaml:
--------------------------------------------------------------------------------
1 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
--------------------------------------------------------------------------------
/W10 Progress Like/W10_Progress_ThreeDots.xaml:
--------------------------------------------------------------------------------
1 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
--------------------------------------------------------------------------------
/W10 Progress Like/W10_Progress_Wave.xaml:
--------------------------------------------------------------------------------
1 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
--------------------------------------------------------------------------------
/W10 Progress Like/assembly/LoadingIndicators.WPF.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/damienvanrobaeys/Loadingindicators_PS1_WPF/d6a1d3b20f98a1fad55f5cff33a930d5c1f3001c/W10 Progress Like/assembly/LoadingIndicators.WPF.dll
--------------------------------------------------------------------------------
/W10 Progress Like/assembly/MahApps.Metro.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/damienvanrobaeys/Loadingindicators_PS1_WPF/d6a1d3b20f98a1fad55f5cff33a930d5c1f3001c/W10 Progress Like/assembly/MahApps.Metro.dll
--------------------------------------------------------------------------------
/W10 Progress Like/assembly/System.Windows.Interactivity.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/damienvanrobaeys/Loadingindicators_PS1_WPF/d6a1d3b20f98a1fad55f5cff33a930d5c1f3001c/W10 Progress Like/assembly/System.Windows.Interactivity.dll
--------------------------------------------------------------------------------
/W10 Progress Like/resources/custom.xaml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
43 |
44 |
--------------------------------------------------------------------------------
/With Check and Ratio/Dark/MyGUI.ps1:
--------------------------------------------------------------------------------
1 | [System.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms') | out-null
2 | [System.Reflection.Assembly]::LoadWithPartialName('presentationframework') | out-null
3 | [System.Reflection.Assembly]::LoadFrom('assembly\MahApps.Metro.dll') | out-null
4 | [System.Reflection.Assembly]::LoadFrom('assembly\LoadingIndicators.WPF.dll') | out-null
5 |
6 | function LoadXml ($global:filename)
7 | {
8 | $XamlLoader=(New-Object System.Xml.XmlDocument)
9 | $XamlLoader.Load($filename)
10 | return $XamlLoader
11 | }
12 |
13 | $XamlMainWindow=LoadXml("MyGUI.xaml")
14 | $Reader=(New-Object System.Xml.XmlNodeReader $XamlMainWindow)
15 | $Form=[Windows.Markup.XamlReader]::Load($Reader)
16 |
17 | $ArcsStyle = $form.findname("ArcsStyle")
18 | $ArcsRing = $form.findname("ArcsRing")
19 | $DoubleBounce = $form.findname("DoubleBounce")
20 | $FlipPlane = $form.findname("FlipPlane")
21 | $Pulse = $form.findname("Pulse")
22 | $Ring = $form.findname("Ring")
23 | $ThreeDots = $form.findname("ThreeDots")
24 | $Wave = $form.findname("Wave")
25 |
26 | $ArcsStyle_Check = $form.findname("ArcsStyle_Check")
27 | $ArcsRing_Check = $form.findname("ArcsRing_Check")
28 | $DoubleBounce_Check = $form.findname("DoubleBounce_Check")
29 | $FlipPlane_Check = $form.findname("FlipPlane_Check")
30 | $Pulse_Check = $form.findname("Pulse_Check")
31 | $Ring_Check = $form.findname("Ring_Check")
32 | $ThreeDots_Check = $form.findname("ThreeDots_Check")
33 | $Wave_Check = $form.findname("Wave_Check")
34 |
35 | $Slider_Ratio = $form.findname("Slider_Ratio")
36 | $Slider_Value = $form.findname("Slider_Value")
37 |
38 | $Slider_Ratio.Value = 1
39 | $Slider_Value.Content = 1
40 | $Default_Value = 1
41 |
42 | $ArcsStyle.SpeedRatio = $Default_Value
43 | $ArcsRing.SpeedRatio = $Default_Value
44 | $DoubleBounce.SpeedRatio = $Default_Value
45 | $FlipPlane.SpeedRatio = $Default_Value
46 | $Pulse.SpeedRatio = $Default_Value
47 | $Ring.SpeedRatio = $Default_Value
48 | $ThreeDots.SpeedRatio = $Default_Value
49 | $Wave.SpeedRatio = $Default_Value
50 |
51 | $ArcsStyle_Check.IsChecked = $true
52 | $ArcsRing_Check.IsChecked = $true
53 | $DoubleBounce_Check.IsChecked = $true
54 | $FlipPlane_Check.IsChecked = $true
55 | $Pulse_Check.IsChecked = $true
56 | $Ring_Check.IsChecked = $true
57 | $ThreeDots_Check.IsChecked = $true
58 | $Wave_Check.IsChecked = $true
59 |
60 |
61 | $Slider_Ratio.Add_ValueChanged({
62 | $Get_Slider_Value = [Math]::Round(($Slider_Ratio.Value), 1)
63 | $Slider_Value.Content = [Math]::Round(($Slider_Ratio.Value), 1)
64 |
65 | $ArcsStyle.SpeedRatio = $Get_Slider_Value
66 | $ArcsRing.SpeedRatio = $Get_Slider_Value
67 | $DoubleBounce.SpeedRatio = $Get_Slider_Value
68 | $FlipPlane.SpeedRatio = $Get_Slider_Value
69 | $Pulse.SpeedRatio = $Get_Slider_Value
70 | $Ring.SpeedRatio = $Get_Slider_Value
71 | $ThreeDots.SpeedRatio = $Get_Slider_Value
72 | $Wave.SpeedRatio = $Get_Slider_Value
73 | })
74 |
75 | $ArcsStyle_Check.Add_Click({
76 | If ($ArcsStyle_Check.IsChecked -eq $true)
77 | {
78 | $ArcsStyle.IsActive = $true
79 | }
80 | Else
81 | {
82 | $ArcsStyle.IsActive = $false
83 | }
84 | })
85 |
86 | $ArcsRing_Check.Add_Click({
87 | If ($ArcsRing_Check.IsChecked -eq $true)
88 | {
89 | $ArcsRing.IsActive = $true
90 | }
91 | Else
92 | {
93 | $ArcsRing.IsActive = $false
94 | }
95 | })
96 |
97 | $DoubleBounce_Check.Add_Click({
98 | If ($DoubleBounce_Check.IsChecked -eq $true)
99 | {
100 | $DoubleBounce.IsActive = $true
101 | }
102 | Else
103 | {
104 | $DoubleBounce.IsActive = $false
105 | }
106 | })
107 |
108 | $FlipPlane_Check.Add_Click({
109 | If ($FlipPlane_Check.IsChecked -eq $true)
110 | {
111 | $FlipPlane.IsActive = $true
112 | }
113 | Else
114 | {
115 | $FlipPlane.IsActive = $false
116 | }
117 | })
118 |
119 | $Pulse_Check.Add_Click({
120 | If ($Pulse_Check.IsChecked -eq $true)
121 | {
122 | $Pulse.IsActive = $true
123 | }
124 | Else
125 | {
126 | $Pulse.IsActive = $false
127 | }
128 | })
129 |
130 | $Ring_Check.Add_Click({
131 | If ($Ring_Check.IsChecked -eq $true)
132 | {
133 | $Ring.IsActive = $true
134 | }
135 | Else
136 | {
137 | $Ring.IsActive = $false
138 | }
139 | })
140 |
141 | $ThreeDots_Check.Add_Click({
142 | If ($ThreeDots_Check.IsChecked -eq $true)
143 | {
144 | $ThreeDots.IsActive = $true
145 | }
146 | Else
147 | {
148 | $ThreeDots.IsActive = $false
149 | }
150 | })
151 |
152 | $Wave_Check.Add_Click({
153 | If ($Wave_Check.IsChecked -eq $true)
154 | {
155 | $Wave.IsActive = $true
156 | }
157 | Else
158 | {
159 | $Wave.IsActive = $false
160 | }
161 | })
162 |
163 |
164 | $Form.ShowDialog() | Out-Null
--------------------------------------------------------------------------------
/With Check and Ratio/Dark/MyGUI.xaml:
--------------------------------------------------------------------------------
1 |
10 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
--------------------------------------------------------------------------------
/With Check and Ratio/Dark/assembly/LoadingIndicators.WPF.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/damienvanrobaeys/Loadingindicators_PS1_WPF/d6a1d3b20f98a1fad55f5cff33a930d5c1f3001c/With Check and Ratio/Dark/assembly/LoadingIndicators.WPF.dll
--------------------------------------------------------------------------------
/With Check and Ratio/Dark/assembly/MahApps.Metro.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/damienvanrobaeys/Loadingindicators_PS1_WPF/d6a1d3b20f98a1fad55f5cff33a930d5c1f3001c/With Check and Ratio/Dark/assembly/MahApps.Metro.dll
--------------------------------------------------------------------------------
/With Check and Ratio/Dark/assembly/RadialMenu.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/damienvanrobaeys/Loadingindicators_PS1_WPF/d6a1d3b20f98a1fad55f5cff33a930d5c1f3001c/With Check and Ratio/Dark/assembly/RadialMenu.dll
--------------------------------------------------------------------------------
/With Check and Ratio/Dark/assembly/System.Windows.Interactivity.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/damienvanrobaeys/Loadingindicators_PS1_WPF/d6a1d3b20f98a1fad55f5cff33a930d5c1f3001c/With Check and Ratio/Dark/assembly/System.Windows.Interactivity.dll
--------------------------------------------------------------------------------
/With Check and Ratio/Dark/resources/custom.xaml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
43 |
44 |
--------------------------------------------------------------------------------
/With Check and Ratio/Light/MyGUI.ps1:
--------------------------------------------------------------------------------
1 | [System.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms') | out-null
2 | [System.Reflection.Assembly]::LoadWithPartialName('presentationframework') | out-null
3 | [System.Reflection.Assembly]::LoadFrom('assembly\MahApps.Metro.dll') | out-null
4 | [System.Reflection.Assembly]::LoadFrom('assembly\LoadingIndicators.WPF.dll') | out-null
5 |
6 | function LoadXml ($global:filename)
7 | {
8 | $XamlLoader=(New-Object System.Xml.XmlDocument)
9 | $XamlLoader.Load($filename)
10 | return $XamlLoader
11 | }
12 |
13 | $XamlMainWindow=LoadXml("MyGUI.xaml")
14 | $Reader=(New-Object System.Xml.XmlNodeReader $XamlMainWindow)
15 | $Form=[Windows.Markup.XamlReader]::Load($Reader)
16 |
17 | $ArcsStyle = $form.findname("ArcsStyle")
18 | $ArcsRing = $form.findname("ArcsRing")
19 | $DoubleBounce = $form.findname("DoubleBounce")
20 | $FlipPlane = $form.findname("FlipPlane")
21 | $Pulse = $form.findname("Pulse")
22 | $Ring = $form.findname("Ring")
23 | $ThreeDots = $form.findname("ThreeDots")
24 | $Wave = $form.findname("Wave")
25 |
26 | $ArcsStyle_Check = $form.findname("ArcsStyle_Check")
27 | $ArcsRing_Check = $form.findname("ArcsRing_Check")
28 | $DoubleBounce_Check = $form.findname("DoubleBounce_Check")
29 | $FlipPlane_Check = $form.findname("FlipPlane_Check")
30 | $Pulse_Check = $form.findname("Pulse_Check")
31 | $Ring_Check = $form.findname("Ring_Check")
32 | $ThreeDots_Check = $form.findname("ThreeDots_Check")
33 | $Wave_Check = $form.findname("Wave_Check")
34 |
35 | $Slider_Ratio = $form.findname("Slider_Ratio")
36 | $Slider_Value = $form.findname("Slider_Value")
37 |
38 | $Slider_Ratio.Value = 1
39 | $Slider_Value.Content = 1
40 | $Default_Value = 1
41 |
42 | $ArcsStyle.SpeedRatio = $Default_Value
43 | $ArcsRing.SpeedRatio = $Default_Value
44 | $DoubleBounce.SpeedRatio = $Default_Value
45 | $FlipPlane.SpeedRatio = $Default_Value
46 | $Pulse.SpeedRatio = $Default_Value
47 | $Ring.SpeedRatio = $Default_Value
48 | $ThreeDots.SpeedRatio = $Default_Value
49 | $Wave.SpeedRatio = $Default_Value
50 |
51 | $ArcsStyle_Check.IsChecked = $true
52 | $ArcsRing_Check.IsChecked = $true
53 | $DoubleBounce_Check.IsChecked = $true
54 | $FlipPlane_Check.IsChecked = $true
55 | $Pulse_Check.IsChecked = $true
56 | $Ring_Check.IsChecked = $true
57 | $ThreeDots_Check.IsChecked = $true
58 | $Wave_Check.IsChecked = $true
59 |
60 |
61 | $Slider_Ratio.Add_ValueChanged({
62 | $Get_Slider_Value = [Math]::Round(($Slider_Ratio.Value), 1)
63 | $Slider_Value.Content = [Math]::Round(($Slider_Ratio.Value), 1)
64 |
65 | $ArcsStyle.SpeedRatio = $Get_Slider_Value
66 | $ArcsRing.SpeedRatio = $Get_Slider_Value
67 | $DoubleBounce.SpeedRatio = $Get_Slider_Value
68 | $FlipPlane.SpeedRatio = $Get_Slider_Value
69 | $Pulse.SpeedRatio = $Get_Slider_Value
70 | $Ring.SpeedRatio = $Get_Slider_Value
71 | $ThreeDots.SpeedRatio = $Get_Slider_Value
72 | $Wave.SpeedRatio = $Get_Slider_Value
73 | })
74 |
75 | $ArcsStyle_Check.Add_Click({
76 | If ($ArcsStyle_Check.IsChecked -eq $true)
77 | {
78 | $ArcsStyle.IsActive = $true
79 | }
80 | Else
81 | {
82 | $ArcsStyle.IsActive = $false
83 | }
84 | })
85 |
86 | $ArcsRing_Check.Add_Click({
87 | If ($ArcsRing_Check.IsChecked -eq $true)
88 | {
89 | $ArcsRing.IsActive = $true
90 | }
91 | Else
92 | {
93 | $ArcsRing.IsActive = $false
94 | }
95 | })
96 |
97 | $DoubleBounce_Check.Add_Click({
98 | If ($DoubleBounce_Check.IsChecked -eq $true)
99 | {
100 | $DoubleBounce.IsActive = $true
101 | }
102 | Else
103 | {
104 | $DoubleBounce.IsActive = $false
105 | }
106 | })
107 |
108 | $FlipPlane_Check.Add_Click({
109 | If ($FlipPlane_Check.IsChecked -eq $true)
110 | {
111 | $FlipPlane.IsActive = $true
112 | }
113 | Else
114 | {
115 | $FlipPlane.IsActive = $false
116 | }
117 | })
118 |
119 | $Pulse_Check.Add_Click({
120 | If ($Pulse_Check.IsChecked -eq $true)
121 | {
122 | $Pulse.IsActive = $true
123 | }
124 | Else
125 | {
126 | $Pulse.IsActive = $false
127 | }
128 | })
129 |
130 | $Ring_Check.Add_Click({
131 | If ($Ring_Check.IsChecked -eq $true)
132 | {
133 | $Ring.IsActive = $true
134 | }
135 | Else
136 | {
137 | $Ring.IsActive = $false
138 | }
139 | })
140 |
141 | $ThreeDots_Check.Add_Click({
142 | If ($ThreeDots_Check.IsChecked -eq $true)
143 | {
144 | $ThreeDots.IsActive = $true
145 | }
146 | Else
147 | {
148 | $ThreeDots.IsActive = $false
149 | }
150 | })
151 |
152 | $Wave_Check.Add_Click({
153 | If ($Wave_Check.IsChecked -eq $true)
154 | {
155 | $Wave.IsActive = $true
156 | }
157 | Else
158 | {
159 | $Wave.IsActive = $false
160 | }
161 | })
162 |
163 |
164 | $Form.ShowDialog() | Out-Null
--------------------------------------------------------------------------------
/With Check and Ratio/Light/MyGUI.xaml:
--------------------------------------------------------------------------------
1 |
10 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
--------------------------------------------------------------------------------
/With Check and Ratio/Light/assembly/LoadingIndicators.WPF.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/damienvanrobaeys/Loadingindicators_PS1_WPF/d6a1d3b20f98a1fad55f5cff33a930d5c1f3001c/With Check and Ratio/Light/assembly/LoadingIndicators.WPF.dll
--------------------------------------------------------------------------------
/With Check and Ratio/Light/assembly/MahApps.Metro.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/damienvanrobaeys/Loadingindicators_PS1_WPF/d6a1d3b20f98a1fad55f5cff33a930d5c1f3001c/With Check and Ratio/Light/assembly/MahApps.Metro.dll
--------------------------------------------------------------------------------
/With Check and Ratio/Light/assembly/RadialMenu.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/damienvanrobaeys/Loadingindicators_PS1_WPF/d6a1d3b20f98a1fad55f5cff33a930d5c1f3001c/With Check and Ratio/Light/assembly/RadialMenu.dll
--------------------------------------------------------------------------------
/With Check and Ratio/Light/assembly/System.Windows.Interactivity.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/damienvanrobaeys/Loadingindicators_PS1_WPF/d6a1d3b20f98a1fad55f5cff33a930d5c1f3001c/With Check and Ratio/Light/assembly/System.Windows.Interactivity.dll
--------------------------------------------------------------------------------
/With Check and Ratio/Light/resources/custom.xaml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
43 |
44 |
--------------------------------------------------------------------------------
/With style name/Dark/MyGUI.ps1:
--------------------------------------------------------------------------------
1 | [System.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms') | out-null
2 | [System.Reflection.Assembly]::LoadWithPartialName('presentationframework') | out-null
3 | # [System.Reflection.Assembly]::LoadFrom('System.Windows.Interactivity.dll') | out-null
4 | # [System.Reflection.Assembly]::LoadFrom('assembly\RadialMenu.dll') | out-null
5 | [System.Reflection.Assembly]::LoadFrom('assembly\MahApps.Metro.dll') | out-null
6 | [System.Reflection.Assembly]::LoadFrom('assembly\LoadingIndicators.WPF.dll') | out-null
7 |
8 |
9 | function LoadXml ($global:filename)
10 | {
11 | $XamlLoader=(New-Object System.Xml.XmlDocument)
12 | $XamlLoader.Load($filename)
13 | return $XamlLoader
14 | }
15 |
16 | $XamlMainWindow=LoadXml("MyGUI.xaml")
17 | # $XamlMainWindow=LoadXml("MainWindow.xaml")
18 |
19 |
20 | $Reader=(New-Object System.Xml.XmlNodeReader $XamlMainWindow)
21 | $Form=[Windows.Markup.XamlReader]::Load($Reader)
22 |
23 |
24 | $ArcsStyle = $form.findname("ArcsStyle")
25 | $ArcsRing = $form.findname("ArcsRing")
26 | $DoubleBounce = $form.findname("DoubleBounce")
27 | $FlipPlane = $form.findname("FlipPlane")
28 | $Pulse = $form.findname("Pulse")
29 | $Ring = $form.findname("Ring")
30 | $ThreeDots = $form.findname("ThreeDots")
31 | $Wave = $form.findname("Wave")
32 |
33 |
34 |
35 | $ArcsStyle_Check = $form.findname("ArcsStyle_Check")
36 | $ArcsRing_Check = $form.findname("ArcsRing_Check")
37 | $DoubleBounce_Check = $form.findname("DoubleBounce_Check")
38 | $FlipPlane_Check = $form.findname("FlipPlane_Check")
39 | $Pulse_Check = $form.findname("Pulse_Check")
40 | $Ring_Check = $form.findname("Ring_Check")
41 | $ThreeDots_Check = $form.findname("ThreeDots_Check")
42 | $Wave_Check = $form.findname("Wave_Check")
43 |
44 |
45 |
46 | $Form.ShowDialog() | Out-Null
47 |
48 |
--------------------------------------------------------------------------------
/With style name/Dark/MyGUI.xaml:
--------------------------------------------------------------------------------
1 |
10 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
--------------------------------------------------------------------------------
/With style name/Dark/assembly/LoadingIndicators.WPF.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/damienvanrobaeys/Loadingindicators_PS1_WPF/d6a1d3b20f98a1fad55f5cff33a930d5c1f3001c/With style name/Dark/assembly/LoadingIndicators.WPF.dll
--------------------------------------------------------------------------------
/With style name/Dark/assembly/MahApps.Metro.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/damienvanrobaeys/Loadingindicators_PS1_WPF/d6a1d3b20f98a1fad55f5cff33a930d5c1f3001c/With style name/Dark/assembly/MahApps.Metro.dll
--------------------------------------------------------------------------------
/With style name/Dark/assembly/RadialMenu.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/damienvanrobaeys/Loadingindicators_PS1_WPF/d6a1d3b20f98a1fad55f5cff33a930d5c1f3001c/With style name/Dark/assembly/RadialMenu.dll
--------------------------------------------------------------------------------
/With style name/Dark/assembly/System.Windows.Interactivity.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/damienvanrobaeys/Loadingindicators_PS1_WPF/d6a1d3b20f98a1fad55f5cff33a930d5c1f3001c/With style name/Dark/assembly/System.Windows.Interactivity.dll
--------------------------------------------------------------------------------
/With style name/Dark/resources/custom.xaml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
43 |
44 |
--------------------------------------------------------------------------------
/With style name/Light/MyGUI.ps1:
--------------------------------------------------------------------------------
1 | [System.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms') | out-null
2 | [System.Reflection.Assembly]::LoadWithPartialName('presentationframework') | out-null
3 | # [System.Reflection.Assembly]::LoadFrom('System.Windows.Interactivity.dll') | out-null
4 | # [System.Reflection.Assembly]::LoadFrom('assembly\RadialMenu.dll') | out-null
5 | [System.Reflection.Assembly]::LoadFrom('assembly\MahApps.Metro.dll') | out-null
6 | [System.Reflection.Assembly]::LoadFrom('assembly\LoadingIndicators.WPF.dll') | out-null
7 |
8 |
9 | function LoadXml ($global:filename)
10 | {
11 | $XamlLoader=(New-Object System.Xml.XmlDocument)
12 | $XamlLoader.Load($filename)
13 | return $XamlLoader
14 | }
15 |
16 | $XamlMainWindow=LoadXml("MyGUI.xaml")
17 | # $XamlMainWindow=LoadXml("MainWindow.xaml")
18 |
19 |
20 | $Reader=(New-Object System.Xml.XmlNodeReader $XamlMainWindow)
21 | $Form=[Windows.Markup.XamlReader]::Load($Reader)
22 |
23 |
24 | $ArcsStyle = $form.findname("ArcsStyle")
25 | $ArcsRing = $form.findname("ArcsRing")
26 | $DoubleBounce = $form.findname("DoubleBounce")
27 | $FlipPlane = $form.findname("FlipPlane")
28 | $Pulse = $form.findname("Pulse")
29 | $Ring = $form.findname("Ring")
30 | $ThreeDots = $form.findname("ThreeDots")
31 | $Wave = $form.findname("Wave")
32 |
33 |
34 |
35 | $ArcsStyle_Check = $form.findname("ArcsStyle_Check")
36 | $ArcsRing_Check = $form.findname("ArcsRing_Check")
37 | $DoubleBounce_Check = $form.findname("DoubleBounce_Check")
38 | $FlipPlane_Check = $form.findname("FlipPlane_Check")
39 | $Pulse_Check = $form.findname("Pulse_Check")
40 | $Ring_Check = $form.findname("Ring_Check")
41 | $ThreeDots_Check = $form.findname("ThreeDots_Check")
42 | $Wave_Check = $form.findname("Wave_Check")
43 |
44 |
45 |
46 | $Form.ShowDialog() | Out-Null
47 |
48 |
--------------------------------------------------------------------------------
/With style name/Light/MyGUI.xaml:
--------------------------------------------------------------------------------
1 |
10 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
--------------------------------------------------------------------------------
/With style name/Light/assembly/LoadingIndicators.WPF.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/damienvanrobaeys/Loadingindicators_PS1_WPF/d6a1d3b20f98a1fad55f5cff33a930d5c1f3001c/With style name/Light/assembly/LoadingIndicators.WPF.dll
--------------------------------------------------------------------------------
/With style name/Light/assembly/MahApps.Metro.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/damienvanrobaeys/Loadingindicators_PS1_WPF/d6a1d3b20f98a1fad55f5cff33a930d5c1f3001c/With style name/Light/assembly/MahApps.Metro.dll
--------------------------------------------------------------------------------
/With style name/Light/assembly/RadialMenu.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/damienvanrobaeys/Loadingindicators_PS1_WPF/d6a1d3b20f98a1fad55f5cff33a930d5c1f3001c/With style name/Light/assembly/RadialMenu.dll
--------------------------------------------------------------------------------
/With style name/Light/assembly/System.Windows.Interactivity.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/damienvanrobaeys/Loadingindicators_PS1_WPF/d6a1d3b20f98a1fad55f5cff33a930d5c1f3001c/With style name/Light/assembly/System.Windows.Interactivity.dll
--------------------------------------------------------------------------------
/With style name/Light/resources/custom.xaml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
43 |
44 |
--------------------------------------------------------------------------------
/gif/loadingindicator_preview.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/damienvanrobaeys/Loadingindicators_PS1_WPF/d6a1d3b20f98a1fad55f5cff33a930d5c1f3001c/gif/loadingindicator_preview.gif
--------------------------------------------------------------------------------