-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWindowAlternative.xaml
208 lines (200 loc) · 8.51 KB
/
WindowAlternative.xaml
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
<Window
x:Class="KLC_Finch.WindowAlternative"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:command="clr-namespace:KLC_Finch"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
Title="WindowAlternative"
Width="800"
Height="450"
Closing="Window_Closing"
Loaded="Window_Loaded"
PreviewKeyDown="Window_PreviewKeyDown"
WindowStartupLocation="CenterScreen"
mc:Ignorable="d">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Border x:Name="borderStatus" Background="Gray">
<TextBlock
x:Name="txtStatus"
Margin="0,2"
HorizontalAlignment="Center"
Foreground="White"
Text="Waiting for status update." />
</Border>
<TabControl x:Name="tabControl" Grid.Row="1">
<TabItem Header="Dashboard">
<Grid Background="#FFE5E5E5">
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="75" />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<StackPanel HorizontalAlignment="Left">
<Button
x:Name="btnRCShared"
Margin="0,5,0,0"
VerticalAlignment="Top"
Click="btnRCShared_Click"
Content="RC Shared" />
<Button
x:Name="btnRCPrivate"
Margin="0,5,0,0"
VerticalAlignment="Top"
Click="btnRCPrivate_Click"
Content="RC Private" />
<Button
x:Name="btnRCOneClick"
Margin="0,5,0,0"
VerticalAlignment="Top"
Click="btnRCOneClick_Click"
Content="1-Click" />
<Button
x:Name="btnRCNativeRDP"
Margin="0,5,0,0"
VerticalAlignment="Top"
Click="btnRCNativeRDP_Click"
Content="Native RDP" />
<Button
x:Name="btnWiresharkFilter"
Width="75"
Margin="0,20,0,0"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Click="btnWiresharkFilter_Click">
<TextBlock TextAlignment="Center" TextWrapping="Wrap">Wireshark Filter</TextBlock>
</Button>
<Button
x:Name="btnLaunchKLC"
Width="75"
Margin="0,20,0,0"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Click="btnLaunchKLC_Click">
<TextBlock TextAlignment="Center" TextWrapping="Wrap">Launch Live Connect</TextBlock>
</Button>
<Button
x:Name="btnReconnect"
Margin="0,20,0,0"
VerticalAlignment="Top"
Click="btnReconnect_Click"
Content="Reconnect" />
</StackPanel>
<StackPanel Grid.Row="1">
<Button
x:Name="btnRCLogs"
Click="btnRCLogs_Click"
Content="RC Logs" />
<Button
x:Name="btnAltSettings"
Margin="0,5"
Click="btnAltSettings_Click"
Content="Settings" />
<TextBlock
x:Name="txtVersion"
Padding="0,0,0,6"
Foreground="Gray"
Text="Build date: DD/MM/YYYY"
TextAlignment="Center"
TextWrapping="Wrap" />
</StackPanel>
<command:controlDashboard
x:Name="ctrlDashboard"
Grid.RowSpan="2"
Grid.Column="1"
Loaded="ctrlDashboard_Loaded" />
</Grid>
</TabItem>
<TabItem
x:Name="tabAsset"
Height="20"
Margin="0"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Header="Asset"
Visibility="Collapsed">
<command:controlAsset x:Name="ctrlAsset" />
</TabItem>
<TabItem
x:Name="tabCommand"
Height="20"
Margin="0"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Header="Command Prompt">
<command:controlCommand x:Name="ctrlCommand" />
</TabItem>
<TabItem
x:Name="tabPowershell"
Height="20"
Margin="0"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Header="Powershell">
<command:controlPowershell />
</TabItem>
<TabItem x:Name="tabFiles" Header="Files">
<command:controlFiles x:Name="ctrlFiles" />
</TabItem>
<TabItem x:Name="tabRegistry" Header="Registry">
<command:ControlRegistry x:Name="ctrlRegistry" />
</TabItem>
<TabItem x:Name="tabEvents" Header="Events">
<command:controlEvents x:Name="ctrlEvents" />
</TabItem>
<TabItem x:Name="tabServices" Header="Services">
<command:controlServices x:Name="ctrlServices" />
</TabItem>
<TabItem x:Name="tabProcesses" Header="Processes">
<command:controlProcesses x:Name="ctrlProcesses" />
</TabItem>
<TabItem x:Name="tabToolbox" Header="Toolbox">
<command:controlToolbox x:Name="ctrlToolbox" />
</TabItem>
<TabItem x:Name="tabAlpha" Header="Alpha">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition />
</Grid.RowDefinitions>
<TextBlock
Margin="5,5,5,5"
Text="Kaseya's TCP forwarding feature is the basis for their Native RDP feature, but VSA / Live Connect also supports using it for accessing other TCP services such as HTTP, HTTPS, SSH that are on a same network device without an agent. You can experiment with that here."
TextWrapping="Wrap" />
<command:controlForwarding x:Name="ctrlForwarding" Grid.Row="1" />
</Grid>
</TabItem>
</TabControl>
<Border
x:Name="borderError"
Grid.Row="2"
Background="Maroon"
Visibility="Collapsed">
<Grid>
<TextBlock
x:Name="txtError"
Margin="0,2"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Foreground="White"
MouseDown="txtError_MouseDown"
Text="Error text would display here." />
<Button
x:Name="btnErrorDismiss"
Width="20"
Margin="2,2,2,2"
HorizontalAlignment="Right"
Click="btnErrorDismiss_Click"
Content="X" />
</Grid>
</Border>
</Grid>
</Window>