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 (acc kardan add

    Share
    avatar
    jonewaram
    Csharp Admin
    Csharp Admin

    Posts : 231
    Points : 407
    Thanks : 120
    Join date : 2013-08-18
    Age : 26
    Location : Iran♥khozestan♥ahwaz

    Open help (acc kardan add

    Post by jonewaram on Thu Nov 07, 2013 9:32 am

    slm dostan gol sry bazam mozahem shodam
    y soft neveshtam mikham vaqti ba soft oni kasi k add dad y msg box baz beshe bege in id add dad age khast ok kone age nakhast rad bede
    khoda kone manzoramo khob resonde basham Ghermez eynak 
    lotfan age mishe komak konid:@}->--: 
    avatar
    Mehran Mahmoudi
    Administrator
    Administrator

    Posts : 485
    Points : 780
    Thanks : 194
    Join date : 2013-09-06
    Age : 19
    Location : Iran , Qazvin , Qazvin

    Open Re: help (acc kardan add

    Post by Mehran Mahmoudi on Thu Nov 07, 2013 12:01 pm

    Salam
    Man Ba Evente OnPresence Auto Acc Ro True Mikonam
    Baraye Inkar,To VOide CLick Ro Btn Loginet Ke Dari Handlerhat ro Add Mikoni,begoo:

    Code:
    x.OnPresence += new agsXMPP.protocol.client.PresenceHandler(autoacc);
    hala Bayad Voidi Be Esme autoacc RO Tarif Konim, Pas:

    Code:
            private void autoacc(object sender, agsXMPP.protocol.client.Presence add)
            {
                if (base.InvokeRequired == true)
                {
                    base.BeginInvoke(new agsXMPP.protocol.client.PresenceHandler(autoacc), new object[] { sender, add });
                }
                else
                {
                    if (cbAutoacc.Checked == true)
                    {
                        if (add.Type == agsXMPP.protocol.client.PresenceType.subscribe)
                        {
                            DialogResult msg = MessageBox.Show(add.From+" Add Dade,Accept She?", "Add", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
                            switch (msg)
                            {
                                case DialogResult.Yes:
                                    x.Send("<presence to=\"" + add.From + "\" type=\"subscribed\" />" +
                                        "<presence to=\"" + add.From + "\" type=\"subscribe\" />");
                                    break;
                                case DialogResult.No:

                                    x.Send("<presence to='" + add.From.User + "@nimbuzz.com' type='unsubscribed' />");
                            }
                        }
                    }
                }
            }

    Jaei Ro Nafahmidi Haminja Bepors

    YA HAGH






    Anjomane Barname Nevisane Basic4Android
    __

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

    avatar
    jonewaram
    Csharp Admin
    Csharp Admin

    Posts : 231
    Points : 407
    Thanks : 120
    Join date : 2013-08-18
    Age : 26
    Location : Iran♥khozestan♥ahwaz

    Open Re: help (acc kardan add

    Post by jonewaram on Thu Nov 07, 2013 5:55 pm

    break;
    case DialogResult.No:

    dada zire case eror mide
    avatar
    Mehran Mahmoudi
    Administrator
    Administrator

    Posts : 485
    Points : 780
    Thanks : 194
    Join date : 2013-09-06
    Age : 19
    Location : Iran , Qazvin , Qazvin

    Open Re: help (acc kardan add

    Post by Mehran Mahmoudi on Thu Nov 07, 2013 6:28 pm

    Ey Vay
    Bebakhsh Aziz
    Zire XMl , Begoo Break;
    Yani switch mishe:

    Code:
                            switch (msg)
                            {
                                case DialogResult.Yes:
                                    x.Send("<presence to=\"" + add.From + "\" type=\"subscribed\" />" +
                                        "<presence to=\"" + add.From + "\" type=\"subscribe\" />");
                                    break;
                                case DialogResult.No:

                                    x.Send("<presence to='" + add.From.User + "@nimbuzz.com' type='unsubscribed' />");
                                    break;
                            }
    Faghat ye Break Ezafe Kon !
    Case haye switch bedune break error midan !






    Anjomane Barname Nevisane Basic4Android
    __

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

    avatar
    jonewaram
    Csharp Admin
    Csharp Admin

    Posts : 231
    Points : 407
    Thanks : 120
    Join date : 2013-08-18
    Age : 26
    Location : Iran♥khozestan♥ahwaz

    Open Re: help (acc kardan add

    Post by jonewaram on Thu Nov 07, 2013 6:42 pm

    boooooooooooooooooooooooooos damet
    avatar
    Mehran Mahmoudi
    Administrator
    Administrator

    Posts : 485
    Points : 780
    Thanks : 194
    Join date : 2013-09-06
    Age : 19
    Location : Iran , Qazvin , Qazvin

    Open Re: help (acc kardan add

    Post by Mehran Mahmoudi on Thu Nov 07, 2013 7:20 pm

    Mamnoon Misham Az + ya - Estefade Koni Khande

    Be Ghole Yeki:

    Tashakkor Shoma, Neshande Shakhsiate Shomast !
    Hatta SHoma Dooste Aziz ..!






    Anjomane Barname Nevisane Basic4Android
    __

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

    avatar
    jonewaram
    Csharp Admin
    Csharp Admin

    Posts : 231
    Points : 407
    Thanks : 120
    Join date : 2013-08-18
    Age : 26
    Location : Iran♥khozestan♥ahwaz

    Open Re: help (acc kardan add

    Post by jonewaram on Fri Nov 08, 2013 6:07 am

    ala az sare lajet hich kodomo nemidam:lol: Naz Sad Khande Ghahr
    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 (acc kardan add

    Post by pokhte on Sun Nov 10, 2013 11:39 am

    salam,
    kari ke baxun goft anjam bdi doroste, ama vaghti az xml estefade mikoni bayad hatman ouno PARSE koni ama oun inkaro nakarde !
    be nazaram inkaro anjam bede vase accept va remove
    vase accept :

    Code:

                    if (pres.Type == PresenceType.subscribe)
                    {
                        pres.To = pres.From;
                        pres.Type = PresenceType.subscribed;
                        ram.Send(pres);
                        pres.Type = PresenceType.subscribe;
                        ram.Send(pres);
                        ram.Send(new IQ { });
                        pres = null;
                    }
    Chera iq ham ersal kardim ? chon mikhastim idmon ham Online bashe !
    age inja bug dad iq ro be id taraf ersal kon , yani :

    Code:

                        ram.Send(new IQ { To = pres.From });
    remove

    Code:

                    if (pres.Type == PresenceType.subscribe)
                    {
                        pres.To = pres.From;
                        pres.Type = PresenceType.unsubscribed;
                        ram.Send(pres);
                        pres.Type = PresenceType.unsubscribe;
                        ram.Send(pres);
                        pres = null;
                    }





    There is no where to run. Destiny will be come...

    Sponsored content

    Open Re: help (acc kardan add

    Post by Sponsored content


      Current date/time is Fri Aug 18, 2017 9:45 am