这段代码给了我一条错误消息:[Error] Unit1.pas(52): Undeclared identifier: 'Edit1'。
procedure SetTCPIPDNSAddresses(sIPs : String);
begin
SaveStringToRegistry_LOCAL_MACHINE(
'SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\' + Edit1.text,
'NameServer', sIPs);
end;
为什么我会收到此错误,我该如何解决?