📄 sohclose.h
字号:
//---------------------------------------------------------------------------
#ifndef SohCloseH
#define SohCloseH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "ListBaseForm.h"
#include <Buttons.hpp>
#include <ComCtrls.hpp>
#include <ToolWin.hpp>
#include "DateEdit.hpp"
#include "SDComboBox.h"
#include "SDEdit.h"
#include "SDGrid.h"
#include <Grids.hpp>
#include <Mask.hpp>
#include <ExtCtrls.hpp>
//---------------------------------------------------------------------------
class PACKAGE TfrmSohClose;
class TfrmSohClose : public TListBaseForm
{
__published: // IDE-managed Components
TToolBar *ToolBar1;
TBitBtn *btnClear;
TBitBtn *btnQuery;
TBitBtn *btnClose;
TGroupBox *GroupBox1;
TLabel *Label1;
TLabel *Label2;
TLabel *Label3;
TLabel *Label4;
TLabel *Label8;
TLabel *Label9;
TSDEdit *seSohCodeF;
TSDEdit *seSohCodeT;
TDateEdit *deSohDateF;
TDateEdit *deSohDateT;
TSDComboBox *scSohClient;
TSDComboBox *scSohSaler;
TBitBtn *BitBtn4;
TSDGrid *SodGrid;
TSDGrid *SohGrid;
TPanel *Panel1;
TLabel *Label5;
TPanel *Panel2;
TLabel *Label6;
TLabel *RecodCount;
void __fastcall btnClearClick(TObject *Sender);
void __fastcall btnQueryClick(TObject *Sender);
void __fastcall SohGridClick(TObject *Sender);
void __fastcall btnCloseClick(TObject *Sender);
void __fastcall FormShow(TObject *Sender);
void __fastcall BitBtn4Click(TObject *Sender);
void __fastcall SodGridClick(TObject *Sender);
void __fastcall SodGridMouseMove(TObject *Sender,
TShiftState Shift, int X, int Y);
void __fastcall SohGridMouseMove(TObject *Sender,
TShiftState Shift, int X, int Y);
private: // User declarations
void __fastcall SetHeadValue(int Index ,AnsiString Value);
void __fastcall SetDetailValue(int Index, AnsiString Value);
public: // User declarations
AnsiString FormIniFile;
AnsiString __fastcall GetDetailValue(int FieldIndex);
AnsiString __fastcall GetHeadValue(int Index);
__fastcall TfrmSohClose(TComponent* Owner);
void __fastcall InitEditControl();
void __fastcall ClearControl();
void __fastcall GetDataFromComObject(int Section);
void __fastcall SendDataToComObject(int Section);
void __fastcall WaitUserInput(int Section);
void __fastcall DisplayBill();
void __fastcall GetBill(AnsiString BillID);
void __fastcall FillDetailGridWithData();
void __fastcall FillHeadGridWithData();
AnsiString __fastcall GetWhereSQLString();
void __fastcall ChangeToBrowseState(bool Browse);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmSohClose *frmSohClose;
//---------------------------------------------------------------------------
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -