File tree 2 files changed +21
-1
lines changed 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -222,6 +222,15 @@ object MainForm: TMainForm
222
222
Value = 0
223
223
OnChange = seRDPPortChange
224
224
end
225
+ object cbCustomPrg: TCheckBox
226
+ Left = 8
227
+ Top = 115
228
+ Width = 169
229
+ Height = 17
230
+ Caption = ' Allow to start custom programs'
231
+ TabOrder = 4
232
+ OnClick = cbAllowTSConnectionsClick
233
+ end
225
234
end
226
235
object Timer: TTimer
227
236
Interval = 250
Original file line number Diff line number Diff line change 1
1
{
2
- Copyright 2016 Stas'M Corp.
2
+ Copyright 2017 Stas'M Corp.
3
3
4
4
Licensed under the Apache License, Version 2.0 (the "License");
5
5
you may not use this file except in compliance with the License.
@@ -49,6 +49,7 @@ TMainForm = class(TForm)
49
49
lsSuppVer: TLabel;
50
50
cbHideUsers: TCheckBox;
51
51
gbGeneral: TGroupBox;
52
+ cbCustomPrg: TCheckBox;
52
53
procedure FormCreate (Sender: TObject);
53
54
procedure cbAllowTSConnectionsClick (Sender: TObject);
54
55
procedure seRDPPortChange (Sender: TObject);
@@ -373,6 +374,11 @@ procedure TMainForm.ReadSettings;
373
374
cbSingleSessionPerUser.Checked := Reg.ReadBool(' fSingleSessionPerUser' );
374
375
except
375
376
377
+ end ;
378
+ try
379
+ cbCustomPrg.Checked := Reg.ReadBool(' HonorLegacySettings' );
380
+ except
381
+
376
382
end ;
377
383
Reg.CloseKey;
378
384
@@ -431,6 +437,11 @@ procedure TMainForm.WriteSettings;
431
437
Reg.WriteBool(' fSingleSessionPerUser' , cbSingleSessionPerUser.Checked);
432
438
except
433
439
440
+ end ;
441
+ try
442
+ Reg.WriteBool(' HonorLegacySettings' , cbCustomPrg.Checked);
443
+ except
444
+
434
445
end ;
435
446
Reg.CloseKey;
436
447
You can’t perform that action at this time.
0 commit comments