Changeset 33 for trunk/Forms/UFormMain.pas
- Timestamp:
- Dec 10, 2016, 9:34:28 PM (7 years ago)
- Location:
- trunk/Forms
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
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.