home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1997 May / Pcwk0597.iso / borland / cb / setup / cbuilder / data.z / MDIMAIN.H < prev    next >
C/C++ Source or Header  |  1997-02-28  |  3KB  |  81 lines

  1. //----------------------------------------------------------------------------
  2. //Borland C++Builder
  3. //Copyright (c) 1987, 1997 Borland International Inc. All Rights Reserved.
  4. //----------------------------------------------------------------------------
  5. //---------------------------------------------------------------------------
  6. #ifndef mdimainH
  7. #define mdimainH
  8. //---------------------------------------------------------------------------
  9. #include <Classes.hpp>
  10. #include <Controls.hpp>
  11. #include <StdCtrls.hpp>
  12. #include <Forms.hpp>
  13. #include <ExtCtrls.hpp>
  14. #include <Buttons.hpp>
  15. #include <ComCtrls.hpp>
  16. #include <Menus.hpp>
  17. #include <Dialogs.hpp>
  18. //---------------------------------------------------------------------------
  19. class TMainForm : public TForm
  20. {
  21. __published:    // IDE-managed Components
  22.     TPanel *Toolbar;
  23.     TSpeedButton *SpeedButton1;
  24.     TSpeedButton *LinkButton;
  25.     TSpeedButton *CopyButton;
  26.     TSpeedButton *CutButton;
  27.     TSpeedButton *PasteButton;
  28.     TSpeedButton *OpenButton;
  29.     TSpeedButton *NewButton;
  30.     TSpeedButton *SaveButton;
  31.     TPanel *StatusPanel;
  32.     TStatusBar *StatusBar;
  33.     TMainMenu *MainMenu1;
  34.     TMenuItem *File1;
  35.     TMenuItem *New1;
  36.     TMenuItem *Open1;
  37.     TMenuItem *Save1;
  38.     TMenuItem *SaveAs1;
  39.     TMenuItem *N2;
  40.     TMenuItem *Close2;
  41.     TMenuItem *CloseAll1;
  42.     TMenuItem *N1;
  43.     TMenuItem *Exit1;
  44.     TMenuItem *Window2;
  45.     TMenuItem *Tile1;
  46.     TMenuItem *TileHorizontally1;
  47.     TMenuItem *Cascade1;
  48.     TMenuItem *ArrangeIcons1;
  49.     TMenuItem *Help1;
  50.     TMenuItem *About1;
  51.     TOpenDialog *OpenDialog1;
  52.     TSaveDialog *SaveDialog1;
  53.     void __fastcall About1Click(TObject *Sender);
  54.     void __fastcall ArrangeIcons1Click(TObject *Sender);
  55.     void __fastcall Cascade1Click(TObject *Sender);
  56.     void __fastcall Close1Click(TObject *Sender);
  57.     void __fastcall CloseAll1Click(TObject *Sender);
  58.     void __fastcall CopyButtonClick(TObject *Sender);
  59.     void __fastcall CutButtonClick(TObject *Sender);
  60.     void __fastcall Exit1Click(TObject *Sender);
  61.     void __fastcall File1Click(TObject *Sender);
  62.     void __fastcall LinkButtonClick(TObject *Sender);
  63.     void __fastcall FormCreate(TObject *Sender);
  64.     void __fastcall New1Click(TObject *Sender);
  65.     void __fastcall Open1Click(TObject *Sender);
  66.     void __fastcall Paste1Click(TObject *Sender);
  67.     void __fastcall Save1Click(TObject *Sender);
  68.     void __fastcall Tile1Click(TObject *Sender);
  69.     void __fastcall TileHorizontally1Click(TObject *Sender);
  70.     void __fastcall Window2Click(TObject *Sender);
  71.     void __fastcall Object2Click(TObject *Sender);
  72. private:    // User declarations
  73.     void __fastcall ShowHint(TObject *Sender);
  74. public:        // User declarations
  75.     virtual __fastcall TMainForm(TComponent* Owner);
  76. };
  77. //---------------------------------------------------------------------------
  78. extern TMainForm *MainForm;
  79. //---------------------------------------------------------------------------
  80. #endif
  81.