Q
qwert8008
Unregistered / Unconfirmed
GUEST, unregistred user!
请高手注释下面这段好吗procedure TForm4.Refresh1Click(Sender: TObject);begin If (ListView1.ItemIndex = -1) Then Exit; ListView1.Items.Clear; Data := IntToStr(C_REQUESTLIST)+' '+Edit1.Text+#10; Sock := StrToInt(StatusBar1.Panels[0].Text); If (Sock > 0) Then Send(Sock, Data[1], Length(Data), 0); Data := IntToStr(C_CURRENTPATH)+' 1'#10; If (Sock > 0) Then Send(Sock, Data[1], Length(Data), 0);end;