Changeset 56 for Docking/CoolDocking/Demo/UMainForm.pas
- Timestamp:
- Sep 21, 2010, 8:03:17 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Docking/CoolDocking/Demo/UMainForm.pas
r55 r56 16 16 TMainForm = class(TForm) 17 17 Button1: TButton; 18 Button2: TButton;19 18 CoolDockCustomize1: TCoolDockCustomize; 20 19 CoolDockMaster1: TCoolDockMaster; 20 CoolDockWindowList1: TCoolDockWindowList; 21 MainMenu1: TMainMenu; 22 MenuItem1: TMenuItem; 23 MenuItem2: TMenuItem; 24 MenuItem3: TMenuItem; 25 MenuItem4: TMenuItem; 21 26 Panel1: TPanel; 22 TabControl1: TTabControl;23 27 procedure Button1Click(Sender: TObject); 24 28 procedure Button2Click(Sender: TObject); … … 26 30 procedure FormDestroy(Sender: TObject); 27 31 procedure FormShow(Sender: TObject); 32 procedure MenuItem2Click(Sender: TObject); 33 procedure MenuItem4Click(Sender: TObject); 28 34 private 29 35 { private declarations } … … 73 79 end; 74 80 81 procedure TMainForm.MenuItem2Click(Sender: TObject); 82 begin 83 CoolDockCustomize1.Execute; 84 end; 85 86 procedure TMainForm.MenuItem4Click(Sender: TObject); 87 begin 88 CoolDockWindowList1.Execute; 89 end; 90 75 91 function TMainForm.NewDockForm: TDockForm; 76 92 begin … … 94 110 procedure TMainForm.Button2Click(Sender: TObject); 95 111 begin 96 CoolDockCustomize1.Execute; 112 97 113 end; 98 114
Note:
See TracChangeset
for help on using the changeset viewer.