随笔 - 2146  文章 - 97 评论 - 11767 trackbacks - 253


//添加 TIdIPWatch 控件: IdIPWatch1
procedure TForm1.Button1Click(Sender: TObject);
var
  ip: string;
begin
  ip := IdIPWatch1.LocalIP;
  ShowMessage(ip);
end;

posted on 2009-03-08 22:45  万一  阅读(...)  评论(...编辑  收藏