table.h

来自「比较简陋的数据库应用,唯一能看的就是对ODBC的封装...」· C头文件 代码 · 共 35 行

H
35
字号
#ifndef _TABLE_H
#define _TABLE_H

#include "String.h"
#include "Grid.h"

class Table
{
public:
	Table(int nrow, int ncol);
	~Table();

	void SetRowTitle(const String* str);
	void SetColTitle(const String* str);
	void SetTable(Grid** aGr);
	void ShowTable(int page = 0);

private:
	int rowNum;
	int colNum;
	int* rowHeight;
	int* colWidth;
	int curRow;
	const String* rowTitle;
	const String* colTitle;
	Grid** gr;

	void DrawBottom();

//--------------------------------------
	Table(const Table&);
	Table& operator=(const Table&);
};

#endif

⌨️ 快捷键说明

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