Skip to content

Commit ced7450

Browse files
committed
improvement
1 parent f07c572 commit ced7450

File tree

2 files changed

+205
-100
lines changed

2 files changed

+205
-100
lines changed

Source/Unit1.dfm

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ object Main: TMain
1616
Position = poScreenCenter
1717
OnClose = FormClose
1818
OnCreate = FormCreate
19+
OnKeyDown = FormKeyDown
1920
OnShow = FormShow
2021
PixelsPerInch = 96
2122
TextHeight = 13
@@ -85,9 +86,12 @@ object Main: TMain
8586
ItemHeight = 13
8687
ParentFont = False
8788
ParentShowHint = False
89+
PopupMenu = PopupMenu
8890
ShowHint = True
8991
TabOrder = 0
9092
TabWidth = 100
93+
OnDblClick = ListBoxDblClick
94+
OnKeyDown = ListBoxKeyDown
9195
OnKeyUp = ListBoxKeyUp
9296
OnMouseDown = ListBoxMouseDown
9397
end
@@ -123,6 +127,8 @@ object Main: TMain
123127
TabOrder = 1
124128
Text = #1055#1086#1080#1089#1082'...'
125129
OnChange = SearchEdtChange
130+
OnKeyDown = SearchEdtKeyDown
131+
OnKeyUp = SearchEdtKeyUp
126132
OnMouseDown = SearchEdtMouseDown
127133
end
128134
object StatusBar: TStatusBar
@@ -139,4 +145,27 @@ object Main: TMain
139145
Left = 16
140146
Top = 32
141147
end
148+
object PopupMenu: TPopupMenu
149+
Left = 48
150+
Top = 32
151+
object ImportBtn: TMenuItem
152+
Caption = #1048#1084#1087#1086#1088#1090
153+
OnClick = ImportBtnClick
154+
end
155+
object ExportBtn: TMenuItem
156+
Caption = #1069#1082#1089#1087#1086#1088#1090
157+
OnClick = ExportBtnClick
158+
end
159+
end
160+
object ImportDialog: TOpenDialog
161+
Filter = 'Firewall Easy|*.fer'
162+
Left = 80
163+
Top = 32
164+
end
165+
object ExportDialog: TSaveDialog
166+
DefaultExt = 'Firewall Easy|*.fer'
167+
Filter = 'Firewall Easy|*.fer'
168+
Left = 112
169+
Top = 32
170+
end
142171
end

0 commit comments

Comments
 (0)