Added Unique Instance of the Application
This commit is contained in:
parent
e8a6bdbd88
commit
b280bc80b1
6
main.frm
6
main.frm
|
@ -31398,4 +31398,10 @@ object Form1: TForm1
|
|||
OnClick = MenuItem37Click
|
||||
end
|
||||
end
|
||||
object UniqueInstance1: TUniqueInstance
|
||||
Enabled = True
|
||||
Identifier = 'CameraControl'
|
||||
Left = 832
|
||||
Top = 664
|
||||
end
|
||||
end
|
||||
|
|
7
main.pas
7
main.pas
|
@ -19,9 +19,9 @@ uses
|
|||
cthreads,
|
||||
{$ENDIF}
|
||||
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls,
|
||||
Menus, PopupNotifier, UTF8Process, ECSpinCtrls, TplTimerUnit, EpikTimer,
|
||||
VpClock, Unix, process, About, Logs, Reboot, RebootDialog, DateUtils, LCLType,
|
||||
LCLTranslator;
|
||||
Menus, PopupNotifier, UTF8Process, UniqueInstance, ECSpinCtrls, TplTimerUnit,
|
||||
EpikTimer, VpClock, Unix, process, About, Logs, Reboot, RebootDialog,
|
||||
DateUtils, LCLType, LCLTranslator;
|
||||
|
||||
type
|
||||
|
||||
|
@ -100,6 +100,7 @@ type
|
|||
TrayIcon3 : TTrayIcon;
|
||||
TrayIcon4 : TTrayIcon;
|
||||
TrayIcon5 : TTrayIcon;
|
||||
UniqueInstance1 : TUniqueInstance;
|
||||
VpClock1 : TVpClock;
|
||||
procedure FormCreate(Sender: TObject);
|
||||
procedure MenuItem10Click(Sender: TObject);
|
||||
|
|
Loading…
Reference in New Issue