Iranian Programming Support

Welcome To Csharp TeaM Forum.
For Use All Forum Posts And See Links
Please Register
Thanks
www.Programming.MrForum.net
Csharp TeaM Administrator
Iranian Programming Support

Csharp TeaM

Top posting users this month

Latest topics

» html to c# source code convert help
by launchar Tue Dec 06, 2016 7:22 am

» User input
by nesraz Sun Dec 20, 2015 8:39 am

» darkhaste source mediaplayer baraye b4a
by parham01 Tue Dec 15, 2015 10:31 am

» Tolide esme file gheire tekrari
by sajjad3011 Fri Jul 31, 2015 5:00 pm

» 368 library basic 4 android
by alimusavi71 Fri Jul 17, 2015 6:45 pm

» نرم افزار دریافت لایسنس آنتی ویروس نود 32
by programmer-x Wed Jul 15, 2015 3:19 pm

» help for java applications
by launchar Wed Jul 01, 2015 12:25 am

» Nimbuzz id Maker auto Captcha & Auto add FlooD & id BloCker
by briant Sat Jun 20, 2015 12:46 pm

» best mobile server v.1.0.0 persian edition
by programmer-x Fri Jun 19, 2015 12:41 am

» plz help me i neez xml code for spy bot
by alone Sun Mar 22, 2015 9:30 pm

» Dialogs Lib {Basic 4 Android}
by abdo0o Mon Mar 09, 2015 4:02 pm

» Room + PV Flooder Nimbuzz 2015
by sholeh Sat Feb 21, 2015 8:06 am

» PV Flooder Nimbuzz 2015
by sholeh Sat Feb 21, 2015 8:03 am

» سی شارپ سورس
by tr0 Wed Dec 24, 2014 12:15 pm

» help plz auto maker ids
by launchar Wed Dec 17, 2014 5:57 pm

» Join Multi Id To Room + Captcha [ Badbuzz Team ] In Seri Ba AgsXMPP !!
by abdo0o Fri Dec 12, 2014 4:47 am

» Amoozesh Ersale Sms Dar B4a
by abdo0o Fri Dec 12, 2014 4:43 am

» help me pls mehran brother
by launchar Wed Dec 03, 2014 6:36 pm

» plz help code Refresh captcha join Room
by ayad53 Wed Dec 03, 2014 12:24 pm

» please Help Me For AutoCaptchaa kardan IdMaker
by abdo0o Tue Dec 02, 2014 12:12 pm

» source C# bot addlist sender by ==> Alone_051@n.c
by walahazrat Mon Dec 01, 2014 2:34 am

» s2a sender tro help me pls
by walahazrat Mon Dec 01, 2014 2:28 am

» Help For {Data id } C# asixmpp.dll
by abdo0o Sun Nov 30, 2014 11:17 pm

» Help C# {Join & Left With Remoter}
by $iahi Tue Nov 25, 2014 10:31 am

» Source Nimbuzz User Searcher By Mehr,an [ Badbuzz TeaM ]
by waseemmalik Wed Nov 19, 2014 11:35 am


    HELP gereftane addlist kamel

    Share
    avatar
    wagirdar
    New Member
    New Member

    Posts : 16
    Points : 29
    Thanks : 4
    Join date : 2013-09-02

    Open HELP gereftane addlist kamel

    Post by wagirdar on Wed Sep 18, 2013 2:30 am

    salam.

    please source gereftane addliste kamel [yani addliste naqes toosh nabashe] ro amoozesh bedid.
    lotfan faqat source ro nazarid amoozesh ham bedid ke bayad chikar konim.

    masalan using ya xml ha ro ham begid, thank's Boos 
    avatar
    wagirdar
    New Member
    New Member

    Posts : 16
    Points : 29
    Thanks : 4
    Join date : 2013-09-02

    Open Re: HELP gereftane addlist kamel

    Post by wagirdar on Fri Sep 20, 2013 5:23 pm

    HELP bedid dg albate pls
    avatar
    iman saeedi
    VB & VB.Net Admin
    VB & VB.Net Admin

    Posts : 95
    Points : 201
    Thanks : 54
    Join date : 2013-06-25

    Open Re: HELP gereftane addlist kamel

    Post by iman saeedi on Sat Sep 21, 2013 2:30 am

    doste aziz dar in mored post ziad vojod darad lotfan qable post search konid
    Code:
    AddHandler .OnRosterItem, AddressOf OnRosterItem

    Private Sub OnRosterItem(ByVal sender As Object, ByVal item As agsXMPP.protocol.iq.roster.RosterItem) ' gereftane addlist
    If MyBase.InvokeRequired = True Then
    MyBase.BeginInvoke(New XmppClientConnection.RosterHandler(AddressOf OnRosterItem), New Object() {sender, item})
    On Error Resume Next
    If (item.Subscription = agsXMPP.protocol.iq.roster.SubscriptionType.both) Then 'inja migim faqat addlisti ke dorost add shodano begir ta zamane dadane s2a idon block nashe
    For i = 0 To ListBox1.Items.Count - 1
    If (item.Jid.ToString() = ListBox1.Items(i).ToString()) Then
    ListBox1.Items.RemoveAt(i)

    End If
    Next
    ListBox1.Items.Add(item.Jid.ToString())
    Label7.Text = ListBox1.Items.Count.ToString()
    'dar inja label2 tedade idaro mige masalan
    End If
    End If
    End Sub
    moafaq bashid
    avatar
    wagirdar
    New Member
    New Member

    Posts : 16
    Points : 29
    Thanks : 4
    Join date : 2013-09-02

    Open Re: HELP gereftane addlist kamel

    Post by wagirdar on Sat Sep 21, 2013 4:26 pm

    ba tashakor az iman jan
    vali man cod baraye C# mikham age mishe C# lotf konid, mamnoon misham +
    avatar
    pokhte
    Csharp Admin
    Csharp Admin

    Posts : 139
    Points : 253
    Thanks : 82
    Join date : 2013-06-29
    Age : 22
    Location : IRaN/Fars/KaZerouN

    Open Re: HELP gereftane addlist kamel

    Post by pokhte on Sat Sep 21, 2013 5:48 pm

    Salam ,age adam syntex e barname nevisio yad begire dige niyazi nist ke beporse ke male VB ya c# ya ... mikham , har codi bede mitone besaze !!!! , hala C# o Vb ham taghriban mese ham hastan !

    befarma :>

    Code:

    using agsXMPP;
    using agsXMPP.protocol.iq.roster;
    Code:

    x.OnRosterItem       += new XmppClientConnection.RosterHandler(OnRosterItem);
    Code:

          private void OnRosterItem(object sender, RosterItem item)
          {
             if (InvokeRequired)
             {            
                BeginInvoke(new RosterHandler(OnRosterItem), new object[]{this, item});
                return;
             }
                            if (item.Subscription == SubscriptionType.both)
                            {
                                for (int i = 0; i < listBox1.Items.Count; i++)
                                {
                                  if (item.Jid.ToString() == listBox1.Items[i].ToString())
                                    {
                                        listBox1.Items.Remove(item.Jid);
                                    }
                                }
                                listBox1.Items.Add(item.Jid.ToString());
                            }
          }





    There is no where to run. Destiny will be come...
    avatar
    wagirdar
    New Member
    New Member

    Posts : 16
    Points : 29
    Thanks : 4
    Join date : 2013-09-02

    Open Re: HELP gereftane addlist kamel

    Post by wagirdar on Sun Sep 22, 2013 6:41 am

    kheyli mamnoon az shoma.
    man taze varede barname nevisie C# shodam, uni C# yad gereftam vali nesfe yad dadan. man daram kar mikonam ta pishraft konam.

    mazerat mikham age ye chizayi ro balad nistam.

    dara C#.Net ro edame midam. bazam Thank's

    Sponsored content

    Open Re: HELP gereftane addlist kamel

    Post by Sponsored content


      Current date/time is Thu Jun 22, 2017 11:26 am