有几十个image控件,用了好多类似的代码,想用个函数比较省事但不知道怎么加,加在哪儿#include <vcl.h>#pragma hdrstop#include "Unit2.h"int t;int color;//---------------------------------------------------------------------------#pragma package(smart_init)#pragma resource "*.dfm"TForm2 *Form2;//---------------------------------------------------------------------------__fastcall TForm2::TForm2(TComponent* Owner): TForm(Owner){}//---------------------------------------------------------------------------ps:是新手,所以请尽量说的简单一点
- 2 回答
- 0 关注
- 290 浏览
添加回答
举报
0/150
提交
取消