有几十个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:是新手,所以请尽量说的简单一点
慕姐4208626
精慕HU