📄 pball.h
字号:
//---------------------------------------------------------------------------
#ifndef PbAllH
#define PbAllH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ADODB.hpp>
#include <Buttons.hpp>
#include <Db.hpp>
#include <DBGrids.hpp>
#include <Grids.hpp>
#include <Menus.hpp>
#include <DBCtrls.hpp>
#include <ExtCtrls.hpp>
//---------------------------------------------------------------------------
typedef struct WeekBanCi
{
AnsiString bcmc,sd11,sd12,sd21,sd22,sd31,sd32;
int xiuxi,sds,sd11s,sd11e,sd12s,sd12e,sd21s,sd21e,sd22s,sd22e,sd31s,sd31e,sd32s,sd32e;
}WBC;
class TFormPbAll : public TForm
{
__published: // IDE-managed Components
TGroupBox *GroupBox1;
TRadioButton *RadioButton1;
TRadioButton *RadioButton3;
TDataSource *DataSource1;
TBitBtn *BitBtnSave;
TBitBtn *BitBtnQuit;
TGroupBox *GroupBox2;
TLabel *Label2;
TLabel *LabelPbfs;
TLabel *Label4;
TLabel *LabelName;
TLabel *Label1;
TLabel *Label3;
TLabel *LabelStart;
TLabel *LabelEnd;
TLabel *Label5;
TLabel *LabelCount;
TLabel *Label6;
TLabel *Label7;
TLabel *LabelDayCount;
TGroupBox *GroupBox3;
TLabel *Label8;
TDBGrid *DBGrid1;
TGroupBox *GroupBox5;
TStringGrid *StringGrid1;
TDBText *DBText1;
TBitBtn *BitBtnUpdate;
TBitBtn *BitBtnShow;
void __fastcall RadioButton1Click(TObject *Sender);
void __fastcall RadioButton3Click(TObject *Sender);
void __fastcall FormShow(TObject *Sender);
void __fastcall FormCreate(TObject *Sender);
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
void __fastcall BitBtnSaveClick(TObject *Sender);
void __fastcall StringGrid1DblClick(TObject *Sender);
void __fastcall BitBtnQuitClick(TObject *Sender);
void __fastcall BitBtnUpdateClick(TObject *Sender);
void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
void __fastcall BitBtnShowClick(TObject *Sender);
private: // User declarations
bool pascal CheckBanciNo(WBC *pWbc,AnsiString sBcmc);
public: // User declarations
__fastcall TFormPbAll(TComponent* Owner);
TADOQuery *pGdb,*pBc,*pAdd,*pJiari,*pYg,*pPb;
};
//---------------------------------------------------------------------------
extern PACKAGE TFormPbAll *FormPbAll;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -