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

Join the forum, it's quick and easy

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

Would you like to react to this message? Create an account in a few clicks or log in to continue.
Iranian Programming Support

Csharp TeaM

Top posting users this month

No user

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


3 posters

    back click goshi b4a

    Armin Ramzani
    Armin Ramzani
    Programmer
    Programmer


    Posts : 312
    Points : 559
    Thanks : 61
    Join date : 2014-02-25
    Age : 29
    Location : Iran , Gilan , Lahijan

    Solved back click goshi b4a

    Post by Armin Ramzani Tue Aug 12, 2014 5:38 am

    salam dostan didin ke bazi oqat to ye seri az soft ha ro goshi nasb mikoni mikhay back bedi mige 2 bar click kon ta khoroj shi man on cod ro mikham kesi dare?

    thanx
    Mostafa Haghighi
    Mostafa Haghighi
    Super Moderator
    Super Moderator


    Posts : 163
    Points : 298
    Thanks : 99
    Join date : 2013-06-08
    Location : mazandaran

    Solved Re: back click goshi b4a

    Post by Mostafa Haghighi Tue Aug 12, 2014 5:58 am

    Code:
    #Region  Project Attributes
       #ApplicationLabel: B4A Example
       #VersionCode: 1
       #VersionName:
       'SupportedOrientations possible values: unspecified, landscape or portrait.
       #SupportedOrientations: unspecified
       #CanInstallToExternalStorage: False
    #End Region

    #Region  Activity Attributes
       #FullScreen: False
       #IncludeTitle: True
    #End Region

    Sub Process_Globals
       'These global variables will be declared once when the application starts.
       'These variables can be accessed from all modules.
        Dim i As Boolean
    End Sub

    Sub Globals
       'These global variables will be redeclared each time the activity is created.
       'These variables can only be accessed from this module.

    End Sub

    Sub Activity_Create(FirstTime As Boolean)
       'Do not forget to load the layout file created with the visual designer. For example:
       'Activity.LoadLayout("Layout1")

    End Sub

    Sub Activity_Resume

    End Sub

    Sub Activity_Pause (UserClosed As Boolean)

    End Sub
    Sub Activity_KeyPress (KeyCode As Int) As Boolean
       If keycode = KeyCodes.KEYCODE_BACK Then
           If i = False Then
              ToastMessageShow("Click Again For Exit",False)
             i = True
               Return True
          Else
               Return False
          End If
       Else
              Return False
       End If
    End Sub
    Mehdi izadi
    Mehdi izadi
    Administrator
    Administrator


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

    Solved Re: back click goshi b4a

    Post by Mehdi izadi Tue Aug 12, 2014 9:58 am

    Salam
    Ba Tavajoh Be Helpe Mostafa Y Nokte Ham Eshare Konam
    In Faghat Ye Eiirad Dare Ke Unam Choon Tooye Soale U Zekr Nashode Mostafa Nagofte.
    Alan Age 1 Bar Back Bezani Va 60 Sanie Badesh Ham Back Bezani Chun i = True Hast
    Soft Baste Mishe.
    Mitoonim Be Gooneii Az Timer Estefade Konim Ke Zaman Bandi Konim Ke Age 2 Ta Back Tooye
    Faseleye Masalan Kamtar Az 4 Sanie Etefagh Oftadan Back Anjam Beshe !

    Code:
    Sub Globals
     'These global variables will be redeclared each time the activity is created.
     'These variables can only be accessed from this module.
     Dim i As Boolean
     Dim timer1 As Timer
     Dim sec As Int  <<<~~ vase shemordane sanie
    End Sub

    Code:
    Sub Activity_Create(FirstTime As Boolean)
     'Do not forget to load the layout file created with the visual designer. For example:
     Activity.LoadLayout("Layout1")
     timer1.Initialize("timer1",1000)
    End Sub

    Code:
    Sub Activity_KeyPress (KeyCode As Int) As Boolean
       If KeyCode = KeyCodes.KEYCODE_BACK Then
           If i = False Then
       timer1.Enabled = True  <<<~~ timer faaal beshe vase zaman gereftane 3 sanie
              ToastMessageShow("Click Again For Exit",False)
             i = True
               Return True
          Else
               Return False
          End If
       Else
              Return False
       End If
    End Sub

    Code:
    Sub timer1_tick
     If sec <= 3 Then  <<<~~ age sanie koochiktar ya mosavie 3 bood
     sec = sec+1  <<<~~ yeki be sanie ezafe kone
     Else   <<<~~ age bishtar az 3 sanie shod
     i = False  <<<~~ bool ro false kone ta age 10 min dg back ro bezane ba 1 bar back zadan return false nashe !
     timer1.Enabled = False  <<<~~ timer ro stop mikonim
     End If
    End Sub


    Movafagh Bashi.
    Armin Ramzani
    Armin Ramzani
    Programmer
    Programmer


    Posts : 312
    Points : 559
    Thanks : 61
    Join date : 2014-02-25
    Age : 29
    Location : Iran , Gilan , Lahijan

    Solved Re: back click goshi b4a

    Post by Armin Ramzani Tue Aug 12, 2014 11:28 am

    doroste mehdi man code mostafa ro estefade kardam manzoram on cod nabod code u ro mikhastam
    Mehdi izadi
    Mehdi izadi
    Administrator
    Administrator


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

    Solved Re: back click goshi b4a

    Post by Mehdi izadi Tue Aug 12, 2014 2:13 pm

    Are,Motevajeh Shodam Vase Hamin Edame Dadam Topic Ro.
    Albate U Soaleto Naqes Porside Boodi.Bayad Soaleto Kamel o Jame' Beporsi Ke Javabet Ham
    Kamel o Jame' Begiri !
    Rasti Ali Jan Un Filmi Ke Gozashte Boodi Ro Emrooz Didam . Afarin Khoob Bood.
    Faghat Ziadi Toosh Vaght Hadar Dade Boodi , Har Filmi Ro 4-5 Bar Bayad Por Kard Ke Uni Ke
    Az Hame Behtar o Kameltar o Ba Hajme Monaseb Tarie Vase Dl Gozasht.
    Shayad Kheili Ha Natoonan Vase 1 Amoozesh 18MG Ro Dl Konan.
    Bedoone Shak Seri Haye Ba'd Kheili Behtar Az In Mishe.
    Movafagh Bashi

    Sponsored content


    Solved Re: back click goshi b4a

    Post by Sponsored content


      Current date/time is Fri Apr 26, 2024 2:27 pm