qrycust.h

来自「C++」· C头文件 代码 · 共 50 行

H
50
字号
//---------------------------------------------------------------------------
// Borland C++Builder
// Copyright (c) 1987, 1998 Borland International Inc.  All Rights Reserved.
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
#ifndef qrycustH
#define qrycustH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <Buttons.hpp>
//---------------------------------------------------------------------------
class TQueryCustDlg : public TForm
{
__published:	// IDE-managed Components
	TBevel *Bevel1;
	TLabel *Label1;
	TLabel *Label2;
	TLabel *Msglab;
	TEdit *FromEdit;
	TEdit *ToEdit;
	TButton *OkBtn;
	TButton *CancelBtn;
	TSpeedButton *PopupCalBtnFrom;
	TSpeedButton *PopupCalToBtn;
	void __fastcall OkBtnClick(TObject *Sender);
	
	
	
	void __fastcall PopupCalBtnFromClick(TObject *Sender);
	void __fastcall PopupCalToBtnClick(TObject *Sender);
	
private:	// User declarations
    TDateTime GetFromDate();
    TDateTime GetToDate();
    void SetFromDate(TDateTime NewDate);
    void SetToDate(TDateTime NewDate);
public:		// User declarations
	virtual __fastcall TQueryCustDlg(TComponent* Owner);
    __property TDateTime FromDate={read=GetFromDate,write=SetFromDate};
    __property TDateTime ToDate={read=GetToDate,write=SetToDate};
};
//---------------------------------------------------------------------------
extern TQueryCustDlg *QueryCustDlg;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?