mirror of
https://github.com/stascorp/rdpwrap.git
synced 2024-11-27 07:57:23 +00:00
Config: Add HonorLegacySettings option
This commit is contained in:
parent
1459036d05
commit
63bf27f0a9
@ -222,6 +222,15 @@ object MainForm: TMainForm
|
|||||||
Value = 0
|
Value = 0
|
||||||
OnChange = seRDPPortChange
|
OnChange = seRDPPortChange
|
||||||
end
|
end
|
||||||
|
object cbCustomPrg: TCheckBox
|
||||||
|
Left = 8
|
||||||
|
Top = 115
|
||||||
|
Width = 169
|
||||||
|
Height = 17
|
||||||
|
Caption = 'Allow to start custom programs'
|
||||||
|
TabOrder = 4
|
||||||
|
OnClick = cbAllowTSConnectionsClick
|
||||||
|
end
|
||||||
end
|
end
|
||||||
object Timer: TTimer
|
object Timer: TTimer
|
||||||
Interval = 250
|
Interval = 250
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
Copyright 2016 Stas'M Corp.
|
Copyright 2017 Stas'M Corp.
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
@ -49,6 +49,7 @@ type
|
|||||||
lsSuppVer: TLabel;
|
lsSuppVer: TLabel;
|
||||||
cbHideUsers: TCheckBox;
|
cbHideUsers: TCheckBox;
|
||||||
gbGeneral: TGroupBox;
|
gbGeneral: TGroupBox;
|
||||||
|
cbCustomPrg: TCheckBox;
|
||||||
procedure FormCreate(Sender: TObject);
|
procedure FormCreate(Sender: TObject);
|
||||||
procedure cbAllowTSConnectionsClick(Sender: TObject);
|
procedure cbAllowTSConnectionsClick(Sender: TObject);
|
||||||
procedure seRDPPortChange(Sender: TObject);
|
procedure seRDPPortChange(Sender: TObject);
|
||||||
@ -373,6 +374,11 @@ begin
|
|||||||
cbSingleSessionPerUser.Checked := Reg.ReadBool('fSingleSessionPerUser');
|
cbSingleSessionPerUser.Checked := Reg.ReadBool('fSingleSessionPerUser');
|
||||||
except
|
except
|
||||||
|
|
||||||
|
end;
|
||||||
|
try
|
||||||
|
cbCustomPrg.Checked := Reg.ReadBool('HonorLegacySettings');
|
||||||
|
except
|
||||||
|
|
||||||
end;
|
end;
|
||||||
Reg.CloseKey;
|
Reg.CloseKey;
|
||||||
|
|
||||||
@ -431,6 +437,11 @@ begin
|
|||||||
Reg.WriteBool('fSingleSessionPerUser', cbSingleSessionPerUser.Checked);
|
Reg.WriteBool('fSingleSessionPerUser', cbSingleSessionPerUser.Checked);
|
||||||
except
|
except
|
||||||
|
|
||||||
|
end;
|
||||||
|
try
|
||||||
|
Reg.WriteBool('HonorLegacySettings', cbCustomPrg.Checked);
|
||||||
|
except
|
||||||
|
|
||||||
end;
|
end;
|
||||||
Reg.CloseKey;
|
Reg.CloseKey;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user