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


    Exit Kardane Soft Dar B4A[+ Sharti][keypress]

    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 Exit Kardane Soft Dar B4A[+ Sharti][keypress]

    Post by Mehdi izadi on Sun Aug 03, 2014 5:35 pm

    Salami Dobare Be Hameye Doostan
    Khob Mikhaym Yad Begirim Ke Chetori Az Soft Kharej Mishan Tooye Barname Nevisie B4A !!!
    Khob In Kheili Rahate Khande   :

    Code:
    Activity.Finish


    Be In Soorat Mishe Soft Ro Bast Vali Bahse Ma Tooye In Amoozesh Ye Chz Aslie Dg Ast.
    Mikhaym Mesle C# Yad Begirim Ke Moqeye Kharej Shodan Az Soft , Az Ma Soal Porside Beshe
    Ke Aya Motmaen Hastim Kharej Beshim Ya Na? Ya Mikhaym Tanzimat Save Bemune Ya Na !!!

    Code:
    Select Msgbox2("Motmaeni Mikhay Softo Bebandi?","Exit ???", "Yes", "", "No", Null)
       Case DialogResponse.POSITIVE
       ToastMessageShow("Bye Bye",True)
          Activity.Finish
       Case DialogResponse.NEGATIVE
         ToastMessageShow("OK Soft Baste Nemishe :D",True)
    End Select

    Az Msgbox2 Estefade Mikonim Chun Emkanate Bishtari Dare Va Mitoonim Gozine Ha O Hata Ax Entekhab Konim Vase Msgbox.

    Az Select Pish Mirim.
    Age Javabemun Mosbat Bood Toastmessage E Bye Bye Miad O Badesh Soft Baste Mishe.
    Age Ham Responsemun Manfi Bood Soft Baste Nemishe
    Dar Akhar Ham Mesle End If , Miaeim Dastoore Selectemun Ro Ham End Mikonim Ba End Select.


    Dar Ayande Yad Migirim Chejoori Dar Hamin Mored Tooye Event Ha Estefade Konim.
    Masalan Yad Begirim Chetori Tooye Evente KeyPress Tarif Konim Ke Vaghti Ke Clicke Back Dar Main Formemun Zade Shod
    Dar Morede Baste Shodan Ya Nashodane Barname Soal Porside Beshe !!!


    Movafagh Bashid !!!


    Last edited by Mehdi izadi on Tue Aug 19, 2014 1:40 am; edited 1 time in total
    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: Exit Kardane Soft Dar B4A[+ Sharti][keypress]

    Post by Mehdi izadi on Mon Aug 04, 2014 4:10 am

    Khob Hamintowr Ke Gholesho Dade Boodam Berim Soraghe Rooydade KeyPress.
    Code Ro Mizaram Va Ziresh Tozihesho Midam.



    Code:
    Sub Activity_keypress(keycode As Int) As Boolean
     Dim aa As Int
     Dim Txt As String
     If keycode=KeyCodes.keycode_back Then
     Txt = "Mikhay Kharej Beshi?"
     aa =Msgbox2(Txt,"Question","Yes","","No",LoadBitmap(File.DirAssets,"question1.png"))
     If aa =DialogResponse.POSITIVE Then
     Return False
     ExitApplication
     Else
     Return True
     End If
     End If
     End Sub 




    [Back Un Dokmeii Hast Ke Zard Rang Kardam]

    1- Rooydade KeyPress Ro Tarif Mikonim Va Dar Akhar Ham End Sub Mizarim Vase Bastane Rooydad Ya Hamun Event.
    2- Yek Int Va Yek String Tarif Mikonid
    3- Tooye Tarife Event Goftim Keycode As Int , Pas Tooye Shart Miaeim Migim:
    Age Keycode = Keycodes.Dokmeii Ke Mikhaym Zade Beshe Then
    Keycode Ro Ba KeycodeS Eshtebah Nagirid !!!
    4- Int E Tarif Karde Ro Mosavi Ba Msgbox2 Gharar Midim.
    5- Tooye Msgbox2 Ye Seri Vizhegi Ha Dare Ke Bala Ham Eshare Behesh Kardam Ke Inja
    Be Noweii Kamel Tarin Modelesho Be Hamrahe Ax Baratoon Gharar Dadam.
    Avalasho Ke Midoonid Chi Be Chie , Faghat Akharesho Ye Tozihi Bedam Dar Morede Ax.
    Ax Ro Tooye Masire Barnameye Save Shode Gharar Midid Tooye Pooshe File !
    LoadBitmap(File. Khob Ta Inja Migim Axemun Ro Load Kone Az File E ...

    Hala Bayad Masire Ax Ro Bedim:
    DirAssets <<<<~~~~~ Pooshe Khode Barname
    ,"question1.png" Va Inja Ham Esme Ax Ro Kamel Vared Mikonim.
    Nokte :
    Age Nemikhaym Ax Bezarim Mitoonim Az Null Estefade Konim. Yani Code Msgbox2 E Ma Mishe:

    Code:
    Msgbox2(Txt,"Question","Yes","","No",Null)


    Baghie Nokte Ha Tekrarie Va Tooye Ghesmate Aval Behesh Eshare Kardim.
    Faghat Ye Code Jadid E Dg Ham Bood Be Esme ExitApplication.


    Dar Zemn Az Bache Ha Tavaqo Darim Amoozesh Haei Ke Dade Mishe Ro Be Soorate Source
    Tooye Bakhshe My Basic4Android Application Gharar Bedin !!!


    Movafagh O Pirooz Bashid

      Current date/time is Fri Nov 24, 2017 5:06 pm