aslm behame
ye komak mikhastam
man vaghti flloder ro start mikonam hang mikone va baste mishe
ki midune bayad chikar konam?
ye komak mikhastam
man vaghti flloder ro start mikonam hang mikone va baste mishe
ki midune bayad chikar konam?
No user |
private void timer2_Tick(object sender, EventArgs e)
{
for (int a = 0; a < listBox2.Items.Count; a++)
{
if (checkBox1.Checked == true)
{
mehrdad1.Send("<message to='" + txtroom.Text + "@conference.nimbuzz.com' type='groupchat'><body>" + msg.Text + "</body></message>");
mehrdad2.Send("<message to='" + txtroom.Text + "@conference.nimbuzz.com' type='groupchat'><body>" + msg1.Text + "</body></message>");
mehrdad3.Send("<message to='" + txtroom.Text + "@conference.nimbuzz.com' type='groupchat'><body>" + msg4.Text + "</body></message>");
mehrdad4.Send("<message to='" + txtroom.Text + "@conference.nimbuzz.com' type='groupchat'><body>" + msg.Text + "</body></message>");
mehrdad5.Send("<message to='" + txtroom.Text + "@conference.nimbuzz.com' type='groupchat'><body>" + msg.Text + "</body></message>");
mehrdad6.Send("<message to='" + txtroom.Text + "@conference.nimbuzz.com' type='groupchat'><body>" + msg1.Text + "</body></message>");
mehrdad7.Send("<message to='" + txtroom.Text + "@conference.nimbuzz.com' type='groupchat'><body>" + msg4.Text + "</body></message>");
mehrdad8.Send("<message to='" + txtroom.Text + "@conference.nimbuzz.com' type='groupchat'><body>" + msg1.Text + "</body></message>");
mehrdad9.Send("<message to='" + txtroom.Text + "@conference.nimbuzz.com' type='groupchat'><body>" + msg4.Text + "</body></message>");
mehrdad10.Send("<message to='" + txtroom.Text + "@conference.nimbuzz.com' type='groupchat'><body>" + msg.Text + "</body></message>");
}
if (checkBox2.Checked == true)
{
mehrdad1.Send("<message xmlns='jabber:client' to='" + txtroom.Text + "@conference.nimbuzz.com/" + listBox2.Items[a].ToString() + "' type='chat' id='105'><body>" + msg.Text + "</body><active xmlns='http://jabber.org/protocol/chatstates' /><x xmlns='jabber:x:event'><composing /></x><thread>MgIqZFxRSwkUlyyWSEcjiqHhOuckLBoN</thread></message>");
mehrdad2.Send("<message xmlns='jabber:client' to='" + txtroom.Text + "@conference.nimbuzz.com/" + listBox2.Items[a].ToString() + "' type='chat' id='105'><body>" + msg1.Text + "</body><active xmlns='http://jabber.org/protocol/chatstates' /><x xmlns='jabber:x:event'><composing /></x><thread>MgIqZFxRSwkUlyyWSEcjiqHhOuckLBoN</thread></message>");
mehrdad3.Send("<message xmlns='jabber:client' to='" + txtroom.Text + "@conference.nimbuzz.com/" + listBox2.Items[a].ToString() + "' type='chat' id='105'><body>" + msg4.Text + "</body><active xmlns='http://jabber.org/protocol/chatstates' /><x xmlns='jabber:x:event'><composing /></x><thread>MgIqZFxRSwkUlyyWSEcjiqHhOuckLBoN</thread></message>");
mehrdad4.Send("<message xmlns='jabber:client' to='" + txtroom.Text + "@conference.nimbuzz.com/" + listBox2.Items[a].ToString() + "' type='chat' id='105'><body>" + msg.Text + "</body><active xmlns='http://jabber.org/protocol/chatstates' /><x xmlns='jabber:x:event'><composing /></x><thread>MgIqZFxRSwkUlyyWSEcjiqHhOuckLBoN</thread></message>");
mehrdad5.Send("<message xmlns='jabber:client' to='" + txtroom.Text + "@conference.nimbuzz.com/" + listBox2.Items[a].ToString() + "' type='chat' id='105'><body>" + msg1.Text + "</body><active xmlns='http://jabber.org/protocol/chatstates' /><x xmlns='jabber:x:event'><composing /></x><thread>MgIqZFxRSwkUlyyWSEcjiqHhOuckLBoN</thread></message>");
mehrdad6.Send("<message xmlns='jabber:client' to='" + txtroom.Text + "@conference.nimbuzz.com/" + listBox2.Items[a].ToString() + "' type='chat' id='105'><body>" + msg4.Text + "</body><active xmlns='http://jabber.org/protocol/chatstates' /><x xmlns='jabber:x:event'><composing /></x><thread>MgIqZFxRSwkUlyyWSEcjiqHhOuckLBoN</thread></message>");
mehrdad7.Send("<message xmlns='jabber:client' to='" + txtroom.Text + "@conference.nimbuzz.com/" + listBox2.Items[a].ToString() + "' type='chat' id='105'><body>" + msg.Text + "</body><active xmlns='http://jabber.org/protocol/chatstates' /><x xmlns='jabber:x:event'><composing /></x><thread>MgIqZFxRSwkUlyyWSEcjiqHhOuckLBoN</thread></message>");
mehrdad8.Send("<message xmlns='jabber:client' to='" + txtroom.Text + "@conference.nimbuzz.com/" + listBox2.Items[a].ToString() + "' type='chat' id='105'><body>" + msg1.Text + "</body><active xmlns='http://jabber.org/protocol/chatstates' /><x xmlns='jabber:x:event'><composing /></x><thread>MgIqZFxRSwkUlyyWSEcjiqHhOuckLBoN</thread></message>");
mehrdad9.Send("<message xmlns='jabber:client' to='" + txtroom.Text + "@conference.nimbuzz.com/" + listBox2.Items[a].ToString() + "' type='chat' id='105'><body>" + msg4.Text + "</body><active xmlns='http://jabber.org/protocol/chatstates' /><x xmlns='jabber:x:event'><composing /></x><thread>MgIqZFxRSwkUlyyWSEcjiqHhOuckLBoN</thread></message>");
mehrdad10.Send("<message xmlns='jabber:client' to='" + txtroom.Text + "@conference.nimbuzz.com/" + listBox2.Items[a].ToString() + "' type='chat' id='105'><body>" + msg.Text + "</body><active xmlns='http://jabber.org/protocol/chatstates' /><x xmlns='jabber:x:event'><composing /></x><thread>MgIqZFxRSwkUlyyWSEcjiqHhOuckLBoN</thread></message>");
}
if (checkBox3.Checked == true)
{
mehrdad1.Send("<presence to='" + listBox2.Items[a].ToString() + "@nimbuzz.com' type='subscribe'/>");
mehrdad2.Send("<presence to='" + listBox2.Items[a].ToString() + "@nimbuzz.com' type='subscribe'/>");
mehrdad3.Send("<presence to='" + listBox2.Items[a].ToString() + "@nimbuzz.com' type='subscribe'/>");
mehrdad4.Send("<presence to='" + listBox2.Items[a].ToString() + "@nimbuzz.com' type='subscribe'/>");
mehrdad5.Send("<presence to='" + listBox2.Items[a].ToString() + "@nimbuzz.com' type='subscribe'/>");
mehrdad6.Send("<presence to='" + listBox2.Items[a].ToString() + "@nimbuzz.com' type='subscribe'/>");
mehrdad7.Send("<presence to='" + listBox2.Items[a].ToString() + "@nimbuzz.com' type='subscribe'/>");
mehrdad8.Send("<presence to='" + listBox2.Items[a].ToString() + "@nimbuzz.com' type='subscribe'/>");
mehrdad9.Send("<presence to='" + listBox2.Items[a].ToString() + "@nimbuzz.com' type='subscribe'/>");
mehrdad10.Send("<presence to='" + listBox2.Items[a].ToString() + "@nimbuzz.com' type='subscribe'/>");
}
}
private void button17_Click(object sender, EventArgs e)
{
timer2.Start();
timer3.Start();
timer4.Start();
timer5.Start();
timer6.Start();
timer7.Start();
}
dada mishe kamel tozih bdi bayad chikar koanm?virus9010 wrote:Kollan Bad Code Nevisi Kardi , Vase Jelo Giri Az Hang Kardan , Az Thread Estefade Kon
|
|