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


    Amoozesh: RightClick For Tools in C#

    Share
    avatar
    Mehdi izadi
    Administrator
    Administrator

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

    Open Amoozesh: RightClick For Tools in C#

    Post by Mehdi izadi on Mon Jun 10, 2013 8:55 am

    Salam Doostan
    Khob . Goftam Ye Amoozeshe Dg Bedam Dg Beram Dars Bekhunam
    Tooye In Seri Amoozesh Mikhaym Behetoon Yad Bedim Ke Chetori Baraye Abzar Haei
    Ke Tooye Form Etoon Darid Rast Click Bezarid,
    Kheili Sade Ast.
    Az Abzar Hatoon Yek " contextMenuStrip " Dar Form Add Konid.

    Badesh contextMenuStrip1 Be Formetoon Ezafe Mishe.
    Roosh 1 Bar Click Konid Ta Namayesh Dade Beshe Ta Gozine Haei Ke Mikhayd
    Ro Be contextMenuStrip1 Ezafe Konid.

    Khob Ma Gharare Vaghti Rooye Masalan Textbox1 RightClick Kardim In Menu
    Baraye Ma Neshun Dade Beshe Pas Bayad 1 Textbox Add Konim Tooye Form.
    Badesh Vase Inke Bad Az Click Rooye Textbox , contextMenuStrip Namyesh Dade Beshe
    Bayad Biaeim Tooye Rooydade Form_load , contextMenuStrip Ro Be Textbox Nesbat Bedim. Pas:
    Code:
     private void Form1_Load(object sender, EventArgs e)
            {
                textBox1.ContextMenuStrip = contextMenuStrip1;
            }

    Khob Badesh Mimune Bahse Code Nevisie Gozine Haei Ke Ezafe Kardim.
    Rooye Har Gozine Duble Click Mikonim Va Code Haye Marboote Ro Behesh Midim. Masalan:
    Code:
    textBox1.Copy();
    Code:
    textBox1.Cut();
    Code:
    textBox1.Paste();

    Khob . Kare Ma Tamoom Shod .
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Dar Zemn Yadam Raft Ye Nokte Ro Begam.
    Shayad Bekhayd contextMenuStrip Ro Be Khode Form Nesbat Bedid Ke Ba Right Click
    Kardan Rooye Khode Form , ContextMenuStrip Baz Beshe.
    Baraye In Kar In Code Ro Dar Rooydade Form_load Gharar Midim:

    Code:

    this.ContextMenuStrip = contextMenuStrip1;
    // Manzoor Az "this" Hamun Form1 Ast(Hamun Formi Ke Dakhele Rooydade Form_loadesh Code Ro Gharar Dadim)
    Soft Ro Run Konid Va Lezzat Bebarid Az RightClick Ekhtesasie Khodetoon.
    Baraye Tashakor Az Alamate Estefade Konid.
    Dar Soorati Ke Soal Ya Moshkel Dar In Mored Dashtid Tooye Hamin Topic Matrah Konid.
    ~~~~~ In Amoozesh Edame Dare ~~~~


    Last edited by lvleti on Mon Jun 10, 2013 11:30 am; edited 2 times in total
    avatar
    lvlokhte
    New Member
    New Member

    Posts : 42
    Points : 70
    Thanks : 26
    Join date : 2013-06-08
    Age : 22
    Location : Iran_Behbahan

    Open Re: Amoozesh: RightClick For Tools in C#

    Post by lvlokhte on Mon Jun 10, 2013 9:54 am

    Tnx Meti Jan Bara Amuzesh Mofidet
    Inam Project :
    [You must be registered and logged in to see this link.]





    ★★★ C# ★★★
    ★★★★ Alireza ★★★★
    ★★★★★ 17 ★★★★★
    ★★★★★★ Behbahan ★★★★★★
    ★★★★★★★ [You must be registered and logged in to see this link.] ★★★★★★
    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: Amoozesh: RightClick For Tools in C#

    Post by Mehdi izadi on Mon Jun 10, 2013 11:17 am

    Khob. Dobare Salam.
    Edame Amoozesh
    Shayad Lazem Bashe Tooye Softetoon Ye Moghe Yeki Az Gozine Haye Right Click
    Ghiere Faal Bashe . Masalan Key? Masalan Age Shoma Ye Matni Ro Vase Copy Kardan
    Select Nakarde Bashid Che Lozoomi Dare Ke Gozine Copy Ya Cut Fa'aal Bashan?
    Bayad Inkar Rooye " contextMenuStrip1 " Ke Ghablan Add Karde Boodid Duble Click Konid
    Va Tooye Rooydade Opening Esh Code Haye Zir Ro Bedin:
    Code:

            private void contextMenuStrip1_Opening(object sender, CancelEventArgs e)
            {
                if (textBox1.SelectionLength > 0)  // Age Toole Matne Select Shode Dar Textbox1 Bishtar Az 0 Bood
                    copyToolStripMenuItem.Enabled = true;  // Iteme Copy Ro Gheire Faal Kone. "copyToolStripMenuItem" Name Hamun Iteme Copy Ast Ke Mishe Az Optionesh Taghiresh Dad
                else
                {
                    copyToolStripMenuItem.Enabled = false;
                }

                if (textBox1.SelectionLength > 0)
                    cutToolStripMenuItem.Enabled = true;
                else
                {
                    cutToolStripMenuItem.Enabled = false;
                }

                if (textBox1.SelectionLength > 0)
                    pastToolStripMenuItem1.Enabled = true;
            }

    In Ye Mesale Sade Bood Vase Ashnaeie Shoma Ba In Amalkard.
    Kar Haye Kheili Ziade Dg Mishe Ba In Ravesh Anjam Dad.
    Age Moshkeli Bood Matrah Konid.

    Sponsored content

    Open Re: Amoozesh: RightClick For Tools in C#

    Post by Sponsored content


      Current date/time is Wed Oct 18, 2017 3:16 pm