📄 purchasemanage.h
字号:
//----------------------------------------------------------------------------
#ifndef PurchaseManageH
#define PurchaseManageH
//----------------------------------------------------------------------------
#include <SysUtils.hpp>
#include <Windows.hpp>
#include <Messages.hpp>
#include <Classes.hpp>
#include <Graphics.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <DBCtrls.hpp>
#include <DB.hpp>
#include <DBGrids.hpp>
#include <DBTables.hpp>
#include <ExtCtrls.hpp>
#include <Grids.hpp>
#include <Mask.hpp>
#include <ComCtrls.hpp>
#include <ToolWin.hpp>
#include <ImgList.hpp>
//----------------------------------------------------------------------------
class TfmPurchaseManage : public TForm
{
__published:
TStringGrid *sgPurDetail;
TPanel *Panel1;
TToolBar *ToolBar1;
TToolButton *btNew;
TToolButton *btSave;
TToolButton *btPrint;
TToolButton *btDelete;
TToolButton *ToolButton5;
TToolButton *ToolButton6;
TToolButton *ToolButton7;
TImageList *ImageList1;
TPanel *Panel2;
TQuery *Query1;
TQuery *Query2;
TLabel *Label1;
TLabel *Label2;
TLabel *Label3;
TLabel *Label4;
TEdit *edDate;
TEdit *edMan;
TEdit *edSupplyName;
TLabel *Label5;
TEdit *edTotal;
TLabel *Label6;
TEdit *edNoTax;
TLabel *Label7;
TEdit *edTax;
TComboBox *cboSupplyCode;
TComboBox *cboPeople;
TComboBox *cboSelectStore;
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
void __fastcall btNewClick(TObject *Sender);
void __fastcall FormCreate(TObject *Sender);
void __fastcall cboSupplyCodeDropDown(TObject *Sender);
void __fastcall cboSupplyCodeChange(TObject *Sender);
void __fastcall sgPurDetailDblClick(TObject *Sender);
void __fastcall sgPurDetailSelectCell(TObject *Sender, int ACol,
int ARow, bool &CanSelect);
void __fastcall sgPurDetailKeyPress(TObject *Sender, char &Key);
void __fastcall btSaveClick(TObject *Sender);
void __fastcall btDeleteClick(TObject *Sender);
void __fastcall btPrintClick(TObject *Sender);
private:
// private declarations
public:
// public declarations
__fastcall TfmPurchaseManage(TComponent *Owner);
int m_CurrentCol; // 关标所在当前列
int m_CurrentRow; // 关标所在当前行
};
//----------------------------------------------------------------------------
extern TfmPurchaseManage *fmPurchaseManage;
//----------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -