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 c# ( login in Form1 yo Form 2 )

    Share
    avatar
    sabuory
    Junior Member
    Junior Member

    Posts : 84
    Points : 211
    Thanks : 25
    Join date : 2013-06-09
    Age : 25
    Location : gilan

    Open Help c# ( login in Form1 yo Form 2 )

    Post by sabuory on Wed Aug 21, 2013 2:09 pm

    Salam Doostan

    1 soal Man mikham Mesle 1 nimbuzz dekstop 1 multi bot benvisam

    Baiad chiukar konam zamani ke id to form 1 conect shod automat be form 2 match beshe?

    va form 2 ba id form 1 ke login kardim kar kone ( mesal : ba id ke login kardim bere be room)





    avatar
    Mehdi izadi
    Administrator
    Administrator

    Posts : 793
    Points : 1182
    Thanks : 288
    Join date : 2013-06-06
    Age : 25
    Location : Iran,Hormozgan,Bandare Lengeh

    Open Re: Help c# ( login in Form1 yo Form 2 )

    Post by Mehdi izadi on Wed Aug 21, 2013 3:20 pm

    filme ertebat beyne form ha ro didi ???
    too bakhshe amoozeshe C# bebin.ehtemalan karet rah miofte.
    avatar
    sabuory
    Junior Member
    Junior Member

    Posts : 84
    Points : 211
    Thanks : 25
    Join date : 2013-06-09
    Age : 25
    Location : gilan

    Open Re: Help c# ( login in Form1 yo Form 2 )

    Post by sabuory on Wed Aug 21, 2013 3:31 pm

    Mehdi jan daqiqan to kodom dars hastesh?





    avatar
    Mehdi izadi
    Administrator
    Administrator

    Posts : 793
    Points : 1182
    Thanks : 288
    Join date : 2013-06-06
    Age : 25
    Location : Iran,Hormozgan,Bandare Lengeh

    Open Re: Help c# ( login in Form1 yo Form 2 )

    Post by Mehdi izadi on Wed Aug 21, 2013 5:41 pm

    [You must be registered and logged in to see this link.]
    Dars 17
    avatar
    sabuory
    Junior Member
    Junior Member

    Posts : 84
    Points : 211
    Thanks : 25
    Join date : 2013-06-09
    Age : 25
    Location : gilan

    Open Re: Help c# ( login in Form1 yo Form 2 )

    Post by sabuory on Thu Aug 22, 2013 3:23 am

    lvleti Jan emkan Dare if iy ke baid bara zamani ke age id conect shod o baram bezari?


    Mesal age id to frm1 conect shod ba if conect bere frm2





    avatar
    sabuory
    Junior Member
    Junior Member

    Posts : 84
    Points : 211
    Thanks : 25
    Join date : 2013-06-09
    Age : 25
    Location : gilan

    Open Re: Help c# ( login in Form1 yo Form 2 )

    Post by sabuory on Thu Aug 22, 2013 3:41 am

    Man NEmikham Etelat textBox ham beran to ham aqa fek kon mikham 1 masenger benvisam mesle


    nim dekstop mikham zamani ke id conect shod bere form 2 va ba hamon id ke to form1 conect kardim to form2 berim room





    avatar
    Mehdi izadi
    Administrator
    Administrator

    Posts : 793
    Points : 1182
    Thanks : 288
    Join date : 2013-06-06
    Age : 25
    Location : Iran,Hormozgan,Bandare Lengeh

    Open Re: Help c# ( login in Form1 yo Form 2 )

    Post by Mehdi izadi on Thu Aug 22, 2013 3:46 am

    yeki az ravesh hash ine ke u biaei connectioneto moghe tarif kardan
    be soorate public static tarif koni.
    yani tooye form1 :   public static XmppClientConnection x;
    bad tooye buttone loginet code haye login ro gharar bede.
    tooye voide onlogin ham bia form1 ro hide o form2 ro show kon.
    badesh tooye form2 vase send kardane xml bia begu:
    form1.x.send("xml");


    yeki az ravesh hash hamine Gerye 
    avatar
    sabuory
    Junior Member
    Junior Member

    Posts : 84
    Points : 211
    Thanks : 25
    Join date : 2013-06-09
    Age : 25
    Location : gilan

    Open Re: Help c# ( login in Form1 yo Form 2 )

    Post by sabuory on Thu Aug 22, 2013 3:59 am

    Mehdi in alan che margeshe?






    avatar
    sabuory
    Junior Member
    Junior Member

    Posts : 84
    Points : 211
    Thanks : 25
    Join date : 2013-06-09
    Age : 25
    Location : gilan

    Open Re: Help c# ( login in Form1 yo Form 2 )

    Post by sabuory on Thu Aug 22, 2013 4:07 am

    Khande
    belakhare dorost kradam


    Code:
    public static XmppClientConnection Human;

            private void button1_Click(object sender, EventArgs e)
            {
                Human = new XmppClientConnection();
                Human.Server = "nimbuzz.com";
                Human.ConnectServer = "o.nimbuzz.com";
    Ama Hala code if chie?





    avatar
    Mehdi izadi
    Administrator
    Administrator

    Posts : 793
    Points : 1182
    Thanks : 288
    Join date : 2013-06-06
    Age : 25
    Location : Iran,Hormozgan,Bandare Lengeh

    Open Re: Help c# ( login in Form1 yo Form 2 )

    Post by Mehdi izadi on Thu Aug 22, 2013 3:19 pm


    manzooret az if chie ???
    yani bad az inke login shod form2 neshun bede???
    age manzooret ine ke:

    Code:

    x.OnLogin += new ObjectHandler(connected);




    Code:

            private void connected(object sender)
            {
                if (base.InvokeRequired)
                {
                    base.BeginInvoke(new ObjectHandler(connected), new object[] { sender });
                }
                else
                {
                    textBox1.BackColor = Color.Green;
                    this.Hide();
                    Form2 frm2 = new Form2();
                    frm2.Show();
                }
            }



    age manzooret chz dg ast vazeh tar begu !!!!

    avatar
    peyman69.tricks
    Junior Member
    Junior Member

    Posts : 112
    Points : 232
    Thanks : 87
    Join date : 2013-06-11
    Location : esfahan

    Open Re: Help c# ( login in Form1 yo Form 2 )

    Post by peyman69.tricks on Thu Aug 22, 2013 4:54 pm

    :S azizam manzoooret chie :S yani betune tu forme 2 ba sockete form 1 xml befresti?????





    kam miam forum dg!

     

    BadBuzZ TeaM
    avatar
    m-amin
    Junior Member
    Junior Member

    Posts : 85
    Points : 121
    Thanks : 25
    Join date : 2013-06-09
    Age : 25
    Location : Teh

    Open Re: Help c# ( login in Form1 yo Form 2 )

    Post by m-amin on Thu Aug 22, 2013 6:53 pm

    hame chizaye marbot be in kareto public kon badesh :


    Code:
    private void glassButton1_Click(object sender, EventArgs e)
            {         
                    amin.Server = "nimbuzz.com";
                    amin.ConnectServer = "o.nimbuzz.com";
                    amin.Open(textBox1.Text, textBox2.Text, "M-AMIN", 50);
                    amin.Status = "M-AMIN , Room Fuller - FUll Version";
                    amin.OnAuthError += new XmppElementHandler(failed);
                    amin.OnLogin += new ObjectHandler(connected);
                    amin.OnClose += new ObjectHandler(dc);
                }
            }
    tarife voidat

    Code:
            private void connected(object sender)
            {
                if (base.InvokeRequired)
                {
                    base.BeginInvoke(new ObjectHandler(connected), new object[] { sender });
                }
                else
                {
                    label4.Text = "Connect";
                    label4.Visible = true;
                    frm1.Show();             
                }
            }

    Code:
            private void failed(object sender, Element e)
            {
                if (base.InvokeRequired)
                {
                    base.BeginInvoke(new XmppElementHandler(failed), new object[] { sender, e });
                }
                else
                {
                    label4.Text = "Could not sign in. Wrong ID or password?";
                    label4.Visible = true;
                }
            }






    :eynak: :eynak: :eynak: :eynak: :eynak: :eynak: :eynak: :eynak: :eynak:


    avatar
    sabuory
    Junior Member
    Junior Member

    Posts : 84
    Points : 211
    Thanks : 25
    Join date : 2013-06-09
    Age : 25
    Location : gilan

    Open Re: Help c# ( login in Form1 yo Form 2 )

    Post by sabuory on Sat Aug 24, 2013 10:41 am

    lvleti wrote:



    age manzooret chz dg ast vazeh tar begu !!!!

    [/b]


    Daqiqan Manzoram hamin bod tnx dadashi:@}->--: 

    Ama chera form2   2ta  baz mishe?


    khob Miram soraq soal haye badim

    VAqti mikham to form2  ( farz mesal )  avatar graber mizaram baiad codesh o to form1 bezaram ya to form2





    VA mc az dash amin gol:*IN LOVE*: 





    avatar
    Mehdi izadi
    Administrator
    Administrator

    Posts : 793
    Points : 1182
    Thanks : 288
    Join date : 2013-06-06
    Age : 25
    Location : Iran,Hormozgan,Bandare Lengeh

    Open Re: Help c# ( login in Form1 yo Form 2 )

    Post by Mehdi izadi on Sat Aug 24, 2013 11:00 am

    2 Ta Nabayad Baz Beshe , Ye JaYe Codet Moshkel Dare !
    Age Avatar Grabbere Ke Nemitoone Rabti BE Form1 Dashte Bashe
    Vase Avatar Grabber Bayad Codesho Eynan Tooye Hamun Form2 Gharar Bedi.
    VassE Send Xml Ham Codesho Too Form2 Gharar Midi Faghat Be Jaye Inke
    Biaei Begi X.send(xml);
    Miaei Migi: Form1.x.send(xml);
    avatar
    sabuory
    Junior Member
    Junior Member

    Posts : 84
    Points : 211
    Thanks : 25
    Join date : 2013-06-09
    Age : 25
    Location : gilan

    Open Re: Help c# ( login in Form1 yo Form 2 )

    Post by sabuory on Sat Aug 24, 2013 11:21 am

    Age room fuller ya ya Wlc boy bashe chi onam to form 2 baiad cod gozari beshe?





    avatar
    sabuory
    Junior Member
    Junior Member

    Posts : 84
    Points : 211
    Thanks : 25
    Join date : 2013-06-09
    Age : 25
    Location : gilan

    Open Re: Help c# ( login in Form1 yo Form 2 )

    Post by sabuory on Sat Aug 24, 2013 1:47 pm

    Hamoontori ke gofti tarif kardam ( cod haro ) vali nemidonam in eror bara chie






    avatar
    peyman69.tricks
    Junior Member
    Junior Member

    Posts : 112
    Points : 232
    Thanks : 87
    Join date : 2013-06-11
    Location : esfahan

    Open Re: Help c# ( login in Form1 yo Form 2 )

    Post by peyman69.tricks on Sat Aug 24, 2013 2:54 pm

    form1.human.send("xml");





    kam miam forum dg!

     

    BadBuzZ TeaM
    avatar
    sabuory
    Junior Member
    Junior Member

    Posts : 84
    Points : 211
    Thanks : 25
    Join date : 2013-06-09
    Age : 25
    Location : gilan

    Open Re: Help c# ( login in Form1 yo Form 2 )

    Post by sabuory on Sun Aug 25, 2013 2:29 am

    Khande peyman in kolan ba ( ) ina ke dore xml hastan moshkel dare





    avatar
    peyman69.tricks
    Junior Member
    Junior Member

    Posts : 112
    Points : 232
    Thanks : 87
    Join date : 2013-06-11
    Location : esfahan

    Open Re: Help c# ( login in Form1 yo Form 2 )

    Post by peyman69.tricks on Sun Aug 25, 2013 2:34 am

    x ro public kardi? Oh





    kam miam forum dg!

     

    BadBuzZ TeaM
    avatar
    sabuory
    Junior Member
    Junior Member

    Posts : 84
    Points : 211
    Thanks : 25
    Join date : 2013-06-09
    Age : 25
    Location : gilan

    Open Re: Help c# ( login in Form1 yo Form 2 )

    Post by sabuory on Sun Aug 25, 2013 2:45 am

    are


    Code:
    public static XmppClientConnection human;





    avatar
    peyman69.tricks
    Junior Member
    Junior Member

    Posts : 112
    Points : 232
    Thanks : 87
    Join date : 2013-06-11
    Location : esfahan

    Open Re: Help c# ( login in Form1 yo Form 2 )

    Post by peyman69.tricks on Sun Aug 25, 2013 6:15 am

    source bezar





    kam miam forum dg!

     

    BadBuzZ TeaM
    avatar
    sabuory
    Junior Member
    Junior Member

    Posts : 84
    Points : 211
    Thanks : 25
    Join date : 2013-06-09
    Age : 25
    Location : gilan

    Open Re: Help c# ( login in Form1 yo Form 2 )

    Post by sabuory on Sun Aug 25, 2013 9:02 am

    Method change kardam

    Mc Babat komakhatoon Doostan






    Sponsored content

    Open Re: Help c# ( login in Form1 yo Form 2 )

    Post by Sponsored content


      Current date/time is Thu Oct 19, 2017 10:19 pm