| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1226 人关注过本帖
标题:Refresh错误求助
取消只看楼主 加入收藏
wfjt
Rank: 1
等 级:新手上路
帖 子:121
专家分:0
注 册:2007-11-30
收藏
 问题点数:0 回复次数:1 
Refresh错误求助
#include <vcl.h>
#pragma hdrstop

#include "Unit1.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm1 *Form1;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
        : TForm(Owner)
{
}
//---------------------------------------------------------------------------

void __fastcall TForm1::FormPaint(TObject *Sender)
{
int x,y,px,py;
Canvas->Pen->Color=clBlack;
Canvas->MoveTo(10,160);Canvas->LineTo(310,160);
Canvas->MoveTo(160,10);Canvas->LineTo(160,310);
Canvas->Pen->Color=clGreen;
x=-100;
y=x*x/100;
px=x+160;
py=-y+160;
Canvas->MoveTo(px,py);
for(x=-100;x<=100;x++)
{
y=x*x/100;
px=x+160;
py=-y+160;
Canvas->LineTo(px,py);

}
}
//---------------------------------------------------------------------------

void __fastcall TForm1::Button1Click(TObject *Sender)
{
 Refresh();
}
//---------------------------------------------------------------------------



错误:[Linker Error] Unresolved external '__fastcall TForm1::FormClick(System::TObject *)' referenced from D:\PROGRAM FILES\CPP\10\UNIT1.OBJ
搜索更多相关主题的帖子: Refresh pragma Owner include 
2008-05-08 09:41
wfjt
Rank: 1
等 级:新手上路
帖 子:121
专家分:0
注 册:2007-11-30
收藏
得分:0 
谢谢你aa阿
2008-05-13 11:35
快速回复:Refresh错误求助
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.021806 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved