這是我的第一個 Blog,雖然我已有許多網頁空間,但因為工作的關係,幾乎都不太更新了... Blog 是另一個方便記錄分享的方式,就如同在討論區留言一樣方便,當然,也是要有空才能貼文囉 [:P]

2005年9月11日星期日

直接使用 code pre 的效果


//---------------------------------------------------------------------------

#ifndef StatPlusTimeUpUnitH
#define StatPlusTimeUpUnitH
//---------------------------------------------------------------------------
#include 
#include 
#include 
#include 
#include 
#include 
//---------------------------------------------------------------------------
class TFormStatPlusTimeUp : public TForm
{
__published: // IDE-managed Components
  TLabel *Label;
  TTimer *Timer1;
  TTimer *Timer2;
  void __fastcall FormKeyPress(TObject *Sender, char &Key);
  void __fastcall Timer1Timer(TObject *Sender);
  void __fastcall FormShow(TObject *Sender);
  void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
  void __fastcall Timer2Timer(TObject *Sender);
private: // User declarations
  char KeyString[256];
  unsigned char  KeyCount;
public:  // User declarations
  __fastcall TFormStatPlusTimeUp(TComponent* Owner);
  AnsiString DefaultMessage;
  AnsiString Password;
  POINT      LastMousePos;
  bool       CanCloseNow;
};
//---------------------------------------------------------------------------
extern PACKAGE TFormStatPlusTimeUp *FormStatPlusTimeUp;
//---------------------------------------------------------------------------
#endif
所有 include 的部分都不見了 :(