forked from bwya77/Master-User-Creator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMessageBox.psf
119 lines (112 loc) · 6.63 KB
/
MessageBox.psf
1
2
3
4
5
6
7
8
9
10
11
12
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
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<File version="3.1">
<FileID>abf03641-fe9b-4a42-813c-0e27c8d85176</FileID>
<Preview>iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAAAXNSR0IArs4c6QAAAARnQU1BAACx
jwv8YQUAAAAJcEhZcwAAHYcAAB2HAY/l8WUAAA14SURBVHhe7dx7kJV1HcdxWSBUgl3UsNGUi0SN
kfcCNTNLcjIFdcBSEJQilFgXuVnGkJoWFTmMTeikk9ltTCPtphWmaRfsIlozomIyu2cvsDdgYVmW
uHw757CTy7QNp2ZZPft7vWbes2fPPueBef55PnuW5RAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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JsU8u
eQClmRTjfqtT/Fwyy7nJFYwF5EZR7pK7POIsnsNuJZ9BjKPhkJ7FZwPP7/WhM/IdImiKkZ/Qn+eQ
eMN4otDOmUlhlOTaKdPERO+UzECZ3V4wiWPIzDQ3RoraBq2W8ASoj2FvFpUGt3OHtGtH7drTe55z
I8OYcrhgKYhieZiE53ddghd79UIm4AQXGbOTsN9ovVI5WJtXAb4r+TIRSbhRTDw3aqc0fp5JLpUT
PG6YgTDFrjSqZpyBMFWKnjfouaTnNVfiEjvoBCGsJZD7K5f4mbHQqHQqVQIqNDuO4S7ZFpILRrlc
N4oXVK0ZwuBhgl7RrvJuIduyFNc2lVuMR7luLsiCiVMlN3h1ghLzRtvQUGXupGaGFXDPsPhYkFgB
iEbtCrZY9aKOb02//UJPe7trSZN9Pj+K5/N2+bU2bR4LRSBc/4dPhhS0pmuI5JbTCPi/ZsT/8n5E
d8jgjRQ2Ghve36quZUyrNndHLukOLCSWnB8RYgsYZ+K9SfMetX+1wEJXz4qOj6mNRhaKFY2uRAK4
n47sj3aFoz2c1bnw4Wy+ni6nQDkR8aYgcipRjUfrkq03NqhUY3AJGrN1gtv5SXT5wzPEq2+FyZ6v
gUv2f2tS6oLYIzJAgPs2AV4B6dhYl2PwC02zr1bZ3GuYyTTDYkUcCvESMBieqWvrvYIuHpjOKS/H
xsHkOX6qHzJ98FI/6uAP574B0KgJAAA=</Form>
<Code><![CDATA[function Set-DarkMode
{
$form1.ForeColor = 'White'
$form1.BackColor = "44,44,44"
$buttonOK.ForeColor = 'White'
$buttonOK.BackColor = "44,44,44"
$messageboxlabel.ForeColor = 'White'
$messageboxlabel.BackColor = "44,44,44"
}
function Set-LightMode
{
$form1.ForeColor = 'Black'
$form1.BackColor = "WhiteSmoke"
$buttonOK.ForeColor = 'Black'
$buttonOK.BackColor = "WhiteSmoke"
$messageboxlabel.ForeColor = 'Black'
$messageboxlabel.BackColor = "WhiteSmoke"
}
$form1_Load = {
$DarkMode = (Get-ItemProperty 'HKCU:\Software\TheLazyAdministrator\MasterUserCreator\' | Get-ItemProperty -Name DarkMode -ErrorAction SilentlyContinue).DarkMode
If ($DarkMode -eq 1)
{
Set-DarkMode
}
Else
{
Set-LightMode
}
$messageboxlabel.Text = $InfoMessage
$form1.Text = $InfoTitle
}
]]></Code>
<Mode>0</Mode>
<Assemblies />
</File>