⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mainunit.h

📁 Direct Oracle Access 非常好的Oracle数据库直接访问组件包 支持个版本的Delphi及C++ Builder 有源码
💻 H
字号:
//---------------------------------------------------------------------------
#ifndef MainUnitH
#define MainUnitH
//---------------------------------------------------------------------------
#include <vcl\Classes.hpp>
#include <vcl\Controls.hpp>
#include <vcl\StdCtrls.hpp>
#include <vcl\Forms.hpp>
#include <vcl\ExtCtrls.hpp>
#include <vcl\Buttons.hpp>
#include "Grids.hpp"
#include "Oracle.hpp"
//---------------------------------------------------------------------------
class TMainForm : public TForm
{
__published:	// IDE-managed Components
	TPanel *BottomPanel;
	TSpeedButton *RefreshBtn;
	TSpeedButton *CommitBtn;
	TSpeedButton *AddBtn;
	TSpeedButton *DeleteBtn;
	TButton *DropBtn;
	TStringGrid *Grid;
	TOracleQuery *Query;
	TOracleSession *MainSession;
	TOracleLogon *MainLogon;
	void __fastcall DropBtnClick(TObject *Sender);
	void __fastcall RefreshBtnClick(TObject *Sender);
	void __fastcall FormCreate(TObject *Sender);
	void __fastcall FormDestroy(TObject *Sender);
	void __fastcall CommitBtnClick(TObject *Sender);
	void __fastcall AddBtnClick(TObject *Sender);
	void __fastcall DeleteBtnClick(TObject *Sender);
    void __fastcall GridSelectCell(TObject *Sender, int Col, int Row,
          bool &CanSelect);
private:	// User declarations
public:		// User declarations
    Boolean Moving;
    TList *ObjectList;
    TList *DeletedList;
    void __fastcall ExecuteSQL(AnsiString SQLText);
    Boolean __fastcall CreateObjects();
    void __fastcall DropObjects();
    void __fastcall GotoCell(int Col, int Row);
    AnsiString __fastcall ColAttrName(int Col);
    void __fastcall FreeObjects();
    void __fastcall QueryObjects();
    Boolean __fastcall CellToAttribute();
	__fastcall TMainForm(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern TMainForm *MainForm;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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