27-07-17, 08:01 PM
سلام عليكم
اريد بعد تفيذ الكود هذا ان يتوقف التايمر
PHP كود :
If ListBox3.SelectedIndex = ListBox3.Items.Count - 1 Then
colora()
emad1.Send(String.Concat(New String() {"<message xmlns='jabber:client' to='", room.Text, "@conference.nimbuzz.com/", Me.ListBox3.Items.Item(0).ToString, "' type='chat' id='292'><body>" + mspv1.Text + "</body><html xmlns='http://jabber.org/protocol/xhtml-im'><body xmlns='http://www.w3.org/1999/xhtml'><p><em>false</em><strong>true</strong><span style='" + colorx + "'/></p></body></html></message>"}))
ListBox3.SelectedIndex = 0
Else
ListBox3.SelectedIndex += 1
End If
انا وضعت هيك مازبط
PHP كود :
If ListBox3.Items.Count < 1 Then
Start1.Stop()
ProgressBar1.Value = False
Me.emad1.Send(String.Concat(New String() {"<presence to='" + room.Text + "@conference.nimbuzz.com/imanking' type='unavailable'></presence>"}))
Exit Sub
End If
