-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWindowNoCommand.xaml
More file actions
158 lines (155 loc) · 5.85 KB
/
Copy pathWindowNoCommand.xaml
File metadata and controls
158 lines (155 loc) · 5.85 KB
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
<Window
x:Class="KLC_Finch.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:KLC_Finch"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
Title="KLC-Finch"
Width="300"
MinHeight="260"
Closing="Window_Closing"
Loaded="Window_Loaded"
ResizeMode="NoResize"
SizeToContent="Height"
WindowStartupLocation="CenterScreen"
mc:Ignorable="d">
<Grid Margin="5">
<StackPanel>
<TextBlock
Grid.ColumnSpan="3"
Margin="0,0,0,5"
TextAlignment="Center"
TextWrapping="Wrap">
<Run Foreground="Blue" Text="Launching directly only intended for testing." />
<LineBreak />
For normal usage:<LineBreak />
Run KLC-Proxy, open Settings menu,<LineBreak />
tick Use KLC-Proxy and Use Alternative<LineBreak />
then connect to an agent from VSA.</TextBlock>
<Button
x:Name="btnRCSettings"
Grid.Row="1"
Grid.Column="1"
Grid.ColumnSpan="2"
Margin="2,0,2,5"
Click="BtnRCSettings_Click"
Content="Remote Control Settings" />
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Label Grid.Row="0" Content="VSA:" />
<ComboBox
x:Name="cmbAddress"
Grid.Row="0"
Grid.Column="1"
Grid.ColumnSpan="2"
Margin="2,5"
IsEditable="True"
LostFocus="cmbAddress_LostFocus" />
<TextBlock
Grid.Row="1"
Margin="5,0"
VerticalAlignment="Center"
Text="Token"
TextWrapping="Wrap" />
<TextBlock
Grid.Row="2"
Margin="5,0"
VerticalAlignment="Center"
Text="GUID"
TextWrapping="Wrap" />
<PasswordBox
x:Name="txtAuthToken"
Grid.Row="1"
Grid.Column="1"
Grid.ColumnSpan="2"
Margin="2,5" />
<Grid
Grid.Row="2"
Grid.Column="1"
Grid.ColumnSpan="2"
Margin="2,5">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="30" />
</Grid.ColumnDefinitions>
<TextBox
x:Name="txtAgentGuid"
Text=""
TextWrapping="Wrap" />
<Button
x:Name="btnAgentGuidConnect"
Grid.Column="1"
Margin="5,0,0,0"
Click="BtnAgentGuidConnect_Click"
Content=">" />
</Grid>
<Button
x:Name="btnLaunchThisComputer"
Grid.Row="3"
Grid.Column="1"
Margin="2"
Click="BtnLaunchThisComputer_Click"
Content="This Computer" />
<Button
x:Name="btnLaunchThisComputerShared"
Grid.Row="3"
Grid.Column="2"
Margin="2"
Click="BtnLaunchThisComputerShared_Click"
Content="This (Shared)" />
<Button
x:Name="btnLaunchRCTest"
Grid.Row="4"
Grid.Column="1"
Margin="2"
Click="BtnLaunchRCTest_Click"
Content="RC Test" />
<Button
x:Name="btnLaunchNull"
Grid.Row="4"
Grid.Column="2"
Margin="2"
Click="BtnLaunchNull_Click"
Content="Null" />
<ListBox
x:Name="cmbBookmarks"
Grid.Row="5"
Grid.Column="1"
Grid.ColumnSpan="2"
MinHeight="20"
Margin="2"
Background="#FFF0F0F0"
DisplayMemberPath="Display"
MouseDoubleClick="cmbBookmarks_MouseDoubleClick" />
<CheckBox
x:Name="chkUseMITM"
Grid.Row="3"
Margin="0,0,5,0"
VerticalAlignment="Center"
Checked="ChkUseMITM_Change"
Content="MITM"
Unchecked="ChkUseMITM_Change" />
</Grid>
<TextBlock
x:Name="txtVersion"
Margin="0,5,0,0"
TextAlignment="Center">
Version
</TextBlock>
</StackPanel>
</Grid>
</Window>