Ignore:
Timestamp:
Sep 21, 2010, 8:03:17 AM (14 years ago)
Author:
george
Message:
  • Přidáno: Okno pro zobrazení seznamu všech oken.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Docking/CoolDocking/Demo/UMainForm.pas

    r55 r56  
    1616  TMainForm = class(TForm)
    1717    Button1: TButton;
    18     Button2: TButton;
    1918    CoolDockCustomize1: TCoolDockCustomize;
    2019    CoolDockMaster1: TCoolDockMaster;
     20    CoolDockWindowList1: TCoolDockWindowList;
     21    MainMenu1: TMainMenu;
     22    MenuItem1: TMenuItem;
     23    MenuItem2: TMenuItem;
     24    MenuItem3: TMenuItem;
     25    MenuItem4: TMenuItem;
    2126    Panel1: TPanel;
    22     TabControl1: TTabControl;
    2327    procedure Button1Click(Sender: TObject);
    2428    procedure Button2Click(Sender: TObject);
     
    2630    procedure FormDestroy(Sender: TObject);
    2731    procedure FormShow(Sender: TObject);
     32    procedure MenuItem2Click(Sender: TObject);
     33    procedure MenuItem4Click(Sender: TObject);
    2834  private
    2935    { private declarations }
     
    7379end;
    7480
     81procedure TMainForm.MenuItem2Click(Sender: TObject);
     82begin
     83  CoolDockCustomize1.Execute;
     84end;
     85
     86procedure TMainForm.MenuItem4Click(Sender: TObject);
     87begin
     88  CoolDockWindowList1.Execute;
     89end;
     90
    7591function TMainForm.NewDockForm: TDockForm;
    7692begin
     
    94110procedure TMainForm.Button2Click(Sender: TObject);
    95111begin
    96   CoolDockCustomize1.Execute;
     112
    97113end;
    98114
Note: See TracChangeset for help on using the changeset viewer.