- Cleaned up useless actions - Removed fake clicks to focus only on Mouse UP events - Gracefully terminate threads when stoping or leaving the application
47 lines
937 B
Text
47 lines
937 B
Text
object frmMain: TfrmMain
|
|
Left = 0
|
|
Top = 0
|
|
Caption = 'Battery Monitor'
|
|
ClientHeight = 63
|
|
ClientWidth = 292
|
|
Color = clBtnFace
|
|
Font.Charset = DEFAULT_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -12
|
|
Font.Name = 'Segoe UI'
|
|
Font.Style = []
|
|
OnClose = FormClose
|
|
OnCreate = FormCreate
|
|
TextHeight = 15
|
|
object lblStatus: TLabel
|
|
Left = 181
|
|
Top = 13
|
|
Width = 100
|
|
Height = 15
|
|
AutoSize = False
|
|
end
|
|
object progressBar: TProgressBar
|
|
Left = 8
|
|
Top = 39
|
|
Width = 273
|
|
Height = 20
|
|
Enabled = False
|
|
ParentShowHint = False
|
|
Position = 87
|
|
MarqueeInterval = 0
|
|
BarColor = clLime
|
|
Step = 1
|
|
State = pbsPaused
|
|
ShowHint = False
|
|
TabOrder = 1
|
|
end
|
|
object btnStart: TButton
|
|
Left = 8
|
|
Top = 8
|
|
Width = 113
|
|
Height = 25
|
|
Caption = 'Start Monitor'
|
|
TabOrder = 0
|
|
OnClick = btnStartClick
|
|
end
|
|
end
|