FireBuzZ

Welcome To FireBuzZ Forum

FireBuzZ

nokte mohem: gozashtane har goone matlab dar morede v.p.n va s.o.c.k.s va har goone f.i.l.t.e.r shekan va bahs haye s.i.a.si o mazhabi mamnoo ast dar soorate moshahede barkhord khahad shod

Top posters

esi.0181 (1241)
 
!!v!!onster (592)
 
masoud-shrek (340)
 
!-!.secret.!-! (322)
 
asd313 (276)
 
bab_dracula (220)
 
Mr.Bermuda (196)
 
pe3are-tariki (169)
 
ARMIN (138)
 
emperatoor (111)
 

Top posting users this week

Jomalati Az Behesht

Who is online?

In total there is 1 user online :: 0 Registered, 0 Hidden and 1 Guest

None


[ View the whole list ]


Most users ever online was 33 on 2/1/2014, 7:16 pm

Keywords


    HELP AsAsI

    Share
    avatar
    ORBITAL
    new member
    new member

    Posts : 41
    Points : 61
    Join date : 2013-04-20

    default HELP AsAsI

    Post by ORBITAL on 4/28/2013, 8:18 pm

    aghayun salam ,,, man ye auto joiner sakhtam ke add flood bede ,, bgu khob ? ,,, har id vaghti ye bar join too room mide va liste id haye tooye roomo dar miare moshkeli pish nemiad ama vaghti hamun id dobare join mide ke bekhad liste user haro begire ye hamchin dastani pish miad
    [You must be registered and logged in to see this link.]

    az har idi khoda bar copy too list box ezafe mikone ke baese hango application error mishe
    chakoor knam ?
    az xmpp.client.precen.... azin vase dar avordane usera az room estefade kardam just help fada mada
    avatar
    marmulak_7
    Moderators
    Moderators

    Posts : 81
    Points : 93
    Join date : 2013-03-01
    Asl : MoHaMmAd

    default Re: HELP AsAsI

    Post by marmulak_7 on 4/28/2013, 8:59 pm

    ORBITAL wrote:aghayun salam ,,, man ye auto joiner sakhtam ke add flood bede ,, bgu khob ? ,,, har id vaghti ye bar join too room mide va liste id haye tooye roomo dar miare moshkeli pish nemiad ama vaghti hamun id dobare join mide ke bekhad liste user haro begire ye hamchin dastani pish miad
    [You must be registered and logged in to see this link.]

    az har idi khoda bar copy too list box ezafe mikone ke baese hango application error mishe
    chakoor knam ?
    az xmpp.client.precen.... azin vase dar avordane usera az room estefade kardam just help fada mada


    kho to id ro migiri in tori masalan

    listBox1.Items.Add(msg.From.Resource);

    codet ro in tori kn

    listBox1.Items.Remove(msg.From.Resource);
    listBox1.Items.Add(msg.From.Resource);


    yani aval age idi ke daryaf kardi to list box bud hazfesh kn bad dobare addesh kn

    in tori dg item tekrari to list box nemiyad

    avatar
    ORBITAL
    new member
    new member

    Posts : 41
    Points : 61
    Join date : 2013-04-20

    default Re: HELP AsAsI

    Post by ORBITAL on 4/28/2013, 9:34 pm

    dalilesh vase chie akhe ?
    avatar
    ORBITAL
    new member
    new member

    Posts : 41
    Points : 61
    Join date : 2013-04-20

    default Re: HELP AsAsI

    Post by ORBITAL on 4/28/2013, 10:08 pm

    agha man hame kar kardam id login mishe join mide in lamasss too list box gozashtan shar shode chera akhe intori mishe ?
    nemishe be jay xmpp.client.pres... az void onreadxml estefade kard ?
    yetori komk konin daste hamatun mamnun !!
    avatar
    marmulak_7
    Moderators
    Moderators

    Posts : 81
    Points : 93
    Join date : 2013-03-01
    Asl : MoHaMmAd

    default Re: HELP AsAsI

    Post by marmulak_7 on 4/28/2013, 10:34 pm

    ORBITAL wrote:agha man hame kar kardam id login mishe join mide in lamasss too list box gozashtan shar shode chera akhe intori mishe ?
    nemishe be jay xmpp.client.pres... az void onreadxml estefade kard ?
    yetori komk konin daste hamatun mamnun !!

    man asan nemidonam moshkel shoma chiye age moshkele un aks bud ke gozashti va har id chand bar to listbox add mishod bud ke behet gofrsm chikar kn ke id tekrari to list ezafe nashe

    aval Remove kn bad add in tori
    ....
    are mitoni az readxml ham use k.o.n.i vali bayad betoni ba xml kar k.o.n.i ke yekam sakhte vali az hamin pres use k.o.n.i kheili rahat tare

    man dar kol alan nemidonam moshkelet chiye
    vaze tozi bede
    avatar
    ORBITAL
    new member
    new member

    Posts : 41
    Points : 61
    Join date : 2013-04-20

    default Re: HELP AsAsI

    Post by ORBITAL on 4/29/2013, 7:15 am

    bebin dada ,,, ye id ke too ye room join mide bara bare avalesh moshkeli nist masalan ,, farz kon 100 ta id daram az 1 ta 100 gharare be tar tib join beden bgu khob ? ,,, vaghti id ha join midan moshkeli pish nemiad ama vaghti mirese be 100 va zamani ke id aval bara bare dovom join mide az har id 2 bar minevise ,, vaghti bara bare n om join bede az har id n bar minevise ,,,
    chra akhe intorie nemishe yeja un xmpp.protocol.pres... ro barabare null gharar dad ke khali ashe bad dobare biare ?
    avatar
    marmulak_7
    Moderators
    Moderators

    Posts : 81
    Points : 93
    Join date : 2013-03-01
    Asl : MoHaMmAd

    default Re: HELP AsAsI

    Post by marmulak_7 on 4/29/2013, 11:45 am

    hamon tori ke idi join mide to listbox add mishe bayad kari k.o.n.i vaqti ham left mide az listbox pak she

    codesho barat neveshtam in tori id ke left mide az listbox ham pak mishe
    man in tori manzoreto gereftam dg moafaq bashi

    if (bot.Type == PresenceType.unavailable)
    {
    try
    {
    for (int i = 0; i < listBox1.Items.Count; i++)
    {
    if (listBox1.Items[i].ToString().IndexOf(bot.From.Resource) != -1)
    {
    listBox1.Items.Remove(listBox1.Items[i]);
    }
    }
    }
    catch { }
    }
    avatar
    !!v!!onster
    Admin
    Admin

    Posts : 592
    Points : 873
    Join date : 2013-02-22
    Age : 26
    Asl : mojtaba 20 golestan :smoke:

    default Re: HELP AsAsI

    Post by !!v!!onster on 4/29/2013, 12:15 pm

    dash mohammad ham tozih dadan
    2taro test kon
    man tekrariharo injori migiram
    dakhele topic zir ye tozih dadam havaset behesh nabode engar

    [You must be registered and logged in to see this link.]

    goftam ke age tekrari bod kari anjam bde hala dobare tozih midam ba ye proje dar morede itemhaye list box ke age tekrari bodan

    proje ke vasat neveshtam sadast

    [You must be registered and logged in to see this link.]

    inam screen shot



    alan khob negah kon va projaro dl kon tozih dadam dakhele proje

    harkari mikonam masodo add konam add namishe chon tekrarie

    hala ye tor sade neveshtam ke gij nashi

    if (Pres.Type == PresenceType.available)
    {
    string firebuzz;
    firebuzz = Pres.MucUser.Item.Jid.ToString();
    removeid(firebuzz);
    listBox1.Items.Add(firebuzz);
    }


    ++++++++++++++++++++++++++++++++++++++++++
    badesh ye void misazi be esme removeid ke bala mibini
    etelaate void mese proje balast ke gozashtam vasat

    private void removeid(string firebuzz)
    {
    int l = listBox1.Items.Count;
    for (int i = 0; i < l; i++)
    {
    if (firebuzz == listBox1.Items[i].ToString())
    {
    listBox1.Items.RemoveAt(i);
    break;
    }
    }
    }


    ++++++++++++++++++++++++++++++++++++++++

    injori aval chek mikone age bod ke removesh mikone az list box va age nabod ke ezafe mikone rese targeto

    in dg sade tarin raheshe ke tonestam begam baz soal dashti haminja bepors miam j midam dar morede in tekrari bodan

    khosh bashi


    °·.¸,ø★¤º°`°º¤ø,¸¸,ø¤º°.->๑۩ FireBuzZ ۩๑<-°º¤ø,¸¸,ø¤º°`°º¤★ø,¸¸.·







    avatar
    pishwa
    new member
    new member

    Posts : 82
    Points : 125
    Join date : 2013-02-22

    default Re: HELP AsAsI

    Post by pishwa on 4/30/2013, 10:36 am

    Ye ravesh sade tar vojod dare va on ine ke
    kharej az badane form xmpp ro injor tarif konid
    XmppClientConnection m1;

    to khasiat click button login in ro bezarid
    m1 = new XmppClientConnection();

    badesh to void disconnect va button log off in ro faramosh nakonid
    m1.Close();

    be hamin sadegi moshkel hal mishe

    private void Get(object sender, agsXMPP.protocol.client.Presence s)
    {
    if (radioButton1.Checked)
    {
    if (base.InvokeRequired == true)
    {
    BeginInvoke(new agsXMPP.protocol.client.PresenceHandler(Get), new object[] { sender, s });
    return;
    }
    else
    {

    if (s.Type == agsXMPP.protocol.client.PresenceType.available)
    {

    listBox1.Items.Add(s.From.Resource + "\n");
    }
    else if (s.Type == agsXMPP.protocol.client.PresenceType.unavailable)
    {
    listBox1.Items.Remove(s.From.Resource + "\n");
    }
    }
    }
    }
    ba in code ham list usera room ro migiri va zamani ke left dadan az list box hazf mishan
    movafagh o piroz bashid
    YA HAGH


    °·.¸,ø★¤º°`°º¤ø,¸¸,ø¤º°.->๑۩ FireBuzZ ۩๑<-°º¤ø,¸¸,ø¤º°`°º¤★ø,¸¸.·

    به قـــولِ برتراند راسل
    مشکل دنیا این است، که احمق ها کاملاً به خود یقین دارند
    در حالیکه دانایان، سرشار از شک و تردیدند


    C# TEAM
    [You must be registered and logged in to see this link.]

    avatar
    ORBITAL
    new member
    new member

    Posts : 41
    Points : 61
    Join date : 2013-04-20

    default Re: HELP AsAsI

    Post by ORBITAL on 4/30/2013, 11:46 am

    badie in cod ha ine ke az room nabayad left bedan ke betune lahze be lahze id haro begire ,,, farz mikonim admin ye /ban f id ro bezane dg hich kari az dastam bar nemiad :D
    avatar
    pishwa
    new member
    new member

    Posts : 82
    Points : 125
    Join date : 2013-02-22

    default Re: HELP AsAsI

    Post by pishwa on 4/30/2013, 1:29 pm

    ORBITAL wrote:badie in cod ha ine ke az room nabayad left bedan ke betune lahze be lahze id haro begire ,,, farz mikonim admin ye /ban f id ro bezane dg hich kari az dastam bar nemiad :D

    pesar khob in code vase gereftan usera room be sorat lahzeii hastesh kasi join beshe idsh be list box ezaf va kasi left bede esmesh hazf mishe
    kare in code hamine


    °·.¸,ø★¤º°`°º¤ø,¸¸,ø¤º°.->๑۩ FireBuzZ ۩๑<-°º¤ø,¸¸,ø¤º°`°º¤★ø,¸¸.·

    به قـــولِ برتراند راسل
    مشکل دنیا این است، که احمق ها کاملاً به خود یقین دارند
    در حالیکه دانایان، سرشار از شک و تردیدند


    C# TEAM
    [You must be registered and logged in to see this link.]


    Sponsored content

    default Re: HELP AsAsI

    Post by Sponsored content


      Current date/time is 7/18/2018, 12:42 am