c13_1f.h

来自「C++Builder编程实例详解,用具体的例子阐明C++的一些基本操作,所有程序」· C头文件 代码 · 共 40 行

H
40
字号
//---------------------------------------------------------------------------
#ifndef C13_1fH
#define C13_1fH
//---------------------------------------------------------------------------
#include <vcl\Classes.hpp>
#include <vcl\Controls.hpp>
#include <vcl\StdCtrls.hpp>
#include <vcl\Forms.hpp>
#include <vcl\ExtCtrls.hpp>
#include <vcl\Menus.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published:	// IDE-managed Components
	TImage *Image1;
	TMainMenu *MainMenu1;
	TMenuItem *File;
	TMenuItem *Exit;
	void __fastcall ExitClick(TObject *Sender);
	void __fastcall Image1MouseDown(TObject *Sender, TMouseButton Button,
	TShiftState Shift, int X, int Y);
	void __fastcall Image1MouseMove(TObject *Sender, TShiftState Shift, int X,
	int Y);
	void __fastcall Image1MouseUp(TObject *Sender, TMouseButton Button,
	TShiftState Shift, int X, int Y);
	void __fastcall FormCreate(TObject *Sender);
private:	// 用户定义
public:		// 用户定义
	bool Drawing;
        long RawLineWidth;
        long RawLineStyle;
        long RawLineColor;
        long X1, Y1, X2, Y2;
	__fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern TForm1 *Form1;
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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