MainU.h
上传用户:hylc_2004
上传日期:2014-01-23
资源大小:46800k
文件大小:5k
源码类别:

Delphi控件源码

开发平台:

Delphi

  1. //---------------------------------------------------------------------------
  2. #ifndef MainUH
  3. #define MainUH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include "fcButton.hpp"
  10. #include "fcButtonGroup.hpp"
  11. #include "fcClearPanel.hpp"
  12. #include "fcDemoRichEdit.hpp"
  13. #include "fcImage.hpp"
  14. #include "fcImageForm.hpp"
  15. #include "fcImgBtn.hpp"
  16. #include "fcLabel.hpp"
  17. #include "fcOutlookBar.hpp"
  18. #include "fcShapeBtn.hpp"
  19. #include <ComCtrls.hpp>
  20. #include <ExtCtrls.hpp>
  21. #include <Graphics.hpp>
  22. //---------------------------------------------------------------------------
  23. class TMainForm : public TForm
  24. {
  25. __published: // IDE-managed Components
  26.         TfcImageForm *fcImageForm1;
  27.         TShape *Shape1;
  28.         TfcLabel *TitleLabel;
  29.         TfcLabel *fcLabel2;
  30.         TPageControl *PageControl1;
  31.         TTabSheet *TabSheet1;
  32.         TfcShapeBtn *DemoButtonOutlookBar;
  33.         TfcShapeBtn *fcShapeBtn8;
  34.         TTabSheet *TabSheet2;
  35.         TGroupBox *GroupBox5;
  36.         TfcShapeBtn *DemoButtonDBTreeView;
  37.         TGroupBox *GroupBox6;
  38.         TfcShapeBtn *DemoButtonTreeView;
  39.         TTabSheet *TabSheet3;
  40.         TfcShapeBtn *DemoButtonImageForm;
  41.         TfcShapeBtn *fcShapeBtn4;
  42.         TTabSheet *TabSheet4;
  43.         TGroupBox *GroupBox1;
  44.         TfcShapeBtn *DemoButtonLabel;
  45.         TGroupBox *GroupBox3;
  46.         TfcShapeBtn *DemoButtonImageBtn;
  47.         TfcShapeBtn *fcShapeBtn1;
  48.         TGroupBox *GroupBox2;
  49.         TfcShapeBtn *DemoButtonShapeBtn1;
  50.         TTabSheet *TabSheet5;
  51.         TfcShapeBtn *DemoButtonButtonGroup;
  52.         TfcShapeBtn *fcShapeBtn2;
  53.         TfcShapeBtn *fcShapeBtn5;
  54.         TTabSheet *TabSheet6;
  55.         TGroupBox *GroupBox4;
  56.         TfcShapeBtn *DemoButtonColor;
  57.         TGroupBox *GroupBox7;
  58.         TfcShapeBtn *DemoButtonTreeCombo;
  59.         TTabSheet *TabSheet7;
  60.         TfcShapeBtn *DemoButtonStatusBar;
  61.         TfcShapeBtn *fcShapeBtn7;
  62.         TTabSheet *TabSheet8;
  63.         TfcShapeBtn *DemoButtonTiler;
  64.         TfcShapeBtn *fcShapeBtn6;
  65.         TfcButtonGroup *fcButtonGroup1;
  66.         TfcShapeBtn *DemoBtnOutlookBar;
  67.         TfcShapeBtn *DemoBtnTreeview;
  68.         TfcShapeBtn *DemoBtnImageForm;
  69.         TfcShapeBtn *DemoBtnLabelButtons;
  70.         TfcShapeBtn *DemoBtnButtonGroup;
  71.         TfcShapeBtn *DemoBtnCombos;
  72.         TfcShapeBtn *DemoBtnStatusBar;
  73.         TfcShapeBtn *DemoBtnImager;
  74.         TfcShapeBtn *fcShapeBtn3;
  75.         TfcImageBtn *fcImageBtn1;
  76.         TfcOutlookBar *fcOutlookBar1;
  77.         TfcShapeBtn *RichEditPage1;
  78.         TfcShapeBtn *RichEditPage2;
  79.         TfcShapeBtn *RichEditPage3;
  80.         TfcShapeBtn *RichEditPage4;
  81.         TfcShapeBtn *RichEditPage5;
  82.         TfcShapeBtn *RichEditPage6;
  83.         TfcShapeBtn *RichEditPage7;
  84.         TfcShapeBtn *RichEditPage8;
  85.         TfcDemoRichEdit *fcDemoRichEdit1;
  86.         TfcDemoRichEdit *fcDemoRichEdit3;
  87.         TfcDemoRichEdit *fcDemoRichEdit4;
  88.         TfcDemoRichEdit *fcDemoRichEdit5;
  89.         TfcDemoRichEdit *fcDemoRichEdit6;
  90.         TfcDemoRichEdit *fcDemoRichEdit7;
  91.         TfcDemoRichEdit *fcDemoRichEdit8;
  92.         TfcDemoRichEdit *fcDemoRichEdit2;
  93.         TfcImageBtn *fcImageBtn2;
  94.         void __fastcall fcButtonGroup1Change(
  95.           TfcCustomButtonGroup *ButtonGroup,
  96.           TfcButtonGroupItem *OldSelected, TfcButtonGroupItem *Selected);
  97.         void __fastcall fcShapeBtn8Click(TObject *Sender);
  98.         void __fastcall DemoButtonOutlookBarClick(TObject *Sender);
  99.         void __fastcall DemoButtonTreeViewClick(TObject *Sender);
  100.         void __fastcall DemoButtonDBTreeViewClick(TObject *Sender);
  101.         void __fastcall DemoButtonImageFormClick(TObject *Sender);
  102.         void __fastcall fcShapeBtn4Click(TObject *Sender);
  103.         void __fastcall DemoButtonLabelClick(TObject *Sender);
  104.         void __fastcall DemoButtonShapeBtn1Click(TObject *Sender);
  105.         void __fastcall DemoButtonImageBtnClick(TObject *Sender);
  106.         void __fastcall fcShapeBtn1Click(TObject *Sender);
  107.         void __fastcall fcShapeBtn5Click(TObject *Sender);
  108.         void __fastcall fcShapeBtn2Click(TObject *Sender);
  109.         void __fastcall DemoButtonButtonGroupClick(TObject *Sender);
  110.         void __fastcall DemoButtonColorClick(TObject *Sender);
  111.         void __fastcall DemoButtonTreeComboClick(TObject *Sender);
  112.         void __fastcall DemoButtonStatusBarClick(TObject *Sender);
  113.         void __fastcall fcShapeBtn7Click(TObject *Sender);
  114.         void __fastcall DemoButtonTilerClick(TObject *Sender);
  115.         void __fastcall fcShapeBtn6Click(TObject *Sender);
  116.         void __fastcall fcShapeBtn3Click(TObject *Sender);
  117.         void __fastcall FormShow(TObject *Sender);
  118.         void __fastcall fcImageBtn2Click(TObject *Sender);
  119. private: // User declarations
  120. public: // User declarations
  121.         __fastcall TMainForm(TComponent* Owner);
  122.         void ExecuteDemo(TForm* AForm);
  123. };
  124. //---------------------------------------------------------------------------
  125. extern PACKAGE TMainForm *MainForm;
  126. //---------------------------------------------------------------------------
  127. #endif