Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How can i create one button for two events in C# 2008 vs?

How can i create one button for two events in C# 2008 vs?

Scheduled Pinned Locked Moved C / C++ / MFC
questioncsharpvisual-studiotutorial
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    FeniksReborn
    wrote on last edited by
    #1

    Hello How can i create one button for two events? For example: I want to have one button for start/stop. At the beginning of the application button name is start (start the event ), when I click the button second time it change the name to Stop (stop the event)???? I am very new to C# programming, i know to do this in VB6... Sorry for my bad english! ThankYou

    R 1 Reply Last reply
    0
    • F FeniksReborn

      Hello How can i create one button for two events? For example: I want to have one button for start/stop. At the beginning of the application button name is start (start the event ), when I click the button second time it change the name to Stop (stop the event)???? I am very new to C# programming, i know to do this in VB6... Sorry for my bad english! ThankYou

      R Offline
      R Offline
      Rhuros
      wrote on last edited by
      #2

      This is in the wrong forum, try the C# forum next door...

      P M 2 Replies Last reply
      0
      • R Rhuros

        This is in the wrong forum, try the C# forum next door...

        P Offline
        P Offline
        Peter_in_2780
        wrote on last edited by
        #3

        About the best redirect I've seen here. +5 :) Peter

        Software rusts. Simon Stephenson, ca 1994.

        R 1 Reply Last reply
        0
        • P Peter_in_2780

          About the best redirect I've seen here. +5 :) Peter

          Software rusts. Simon Stephenson, ca 1994.

          R Offline
          R Offline
          Rhuros
          wrote on last edited by
          #4

          glad you liked it...:)

          1 Reply Last reply
          0
          • R Rhuros

            This is in the wrong forum, try the C# forum next door...

            M Offline
            M Offline
            Malli_S
            wrote on last edited by
            #5

            :laugh:

            [Delegates]      [Virtual Desktop]      [Tray Me !]
            -Malli...! :rose:****

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups