Changeset 33 for trunk/Forms
- Timestamp:
- Dec 10, 2016, 9:34:28 PM (8 years ago)
- Location:
- trunk/Forms
- Files:
-
- 4 added
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.lfm
r31 r33 13 13 OnDestroy = FormDestroy 14 14 OnShow = FormShow 15 LCLVersion = '1. 7'15 LCLVersion = '1.6.0.4' 16 16 object ToolBar1: TToolBar 17 17 Left = 0 … … 478 478 OnExecute = AOperationAddExecute 479 479 end 480 object AShowAbout: TAction 481 Caption = 'About' 482 OnExecute = AShowAboutExecute 483 end 480 484 end 481 485 object OpenDialog1: TOpenDialog … … 545 549 end 546 550 end 551 object MenuItem20: TMenuItem 552 Caption = 'Help' 553 object MenuItem21: TMenuItem 554 Action = AShowAbout 555 end 556 end 547 557 end 548 558 object LastOpenedList1: TLastOpenedList -
trunk/Forms/UFormMain.pas
r31 r33 15 15 16 16 TFormMain = class(TForm) 17 AShowAbout: TAction; 17 18 AOperationAdd: TAction; 18 19 AOperationRemove: TAction; … … 77 78 MenuItem18: TMenuItem; 78 79 MenuItem19: TMenuItem; 80 MenuItem20: TMenuItem; 81 MenuItem21: TMenuItem; 79 82 MenuItemOpenRecent: TMenuItem; 80 83 MenuItem2: TMenuItem; … … 115 118 procedure AScanStartExecute(Sender: TObject); 116 119 procedure AScanStopExecute(Sender: TObject); 120 procedure AShowAboutExecute(Sender: TObject); 117 121 procedure AViewToolbarExecute(Sender: TObject); 118 122 procedure ComboBoxDriveChange(Sender: TObject); … … 152 156 FormMain: TFormMain; 153 157 158 154 159 implementation 155 160 … … 157 162 158 163 uses 159 UCore, UFormProject, UFormOperation ;164 UCore, UFormProject, UFormOperation, UFormAbout; 160 165 161 166 resourcestring … … 225 230 Core.Project.CurrentScan.Stop; 226 231 UpdateInterface; 232 end; 233 end; 234 235 procedure TFormMain.AShowAboutExecute(Sender: TObject); 236 var 237 FormAbout: TFormAbout; 238 begin 239 FormAbout := TFormAbout.Create(nil); 240 try 241 FormAbout.ApplicationInfo := Core.ApplicationInfo1; 242 FormAbout.ShowModal; 243 finally 244 FreeAndNil(FormAbout); 227 245 end; 228 246 end;
Note:
See TracChangeset
for help on using the changeset viewer.