c# increment and decrement counter

Discussion in 'C#' started by nikiarora, Aug 30, 2009.

  1. nikiarora

    nikiarora New Member

    Joined:
    Aug 30, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    I want to make increment and decrement counter.
    There are two buttons called X and Y. First press X and then press Y counter should increment.
    First press Y and then press X counter should decrement.

    I am not familiar with c#. So can anyone help me please ?? :(
     
  2. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,009
    Likes Received:
    203
    Trophy Points:
    63
    Occupation:
    Senior Support Engineer
    Location:
    England
    Why are you doing this in C# if you're not familiar with C#?
    I would suggest you go on a C# course, or read a C# book, before tackling this task; it's not difficult, but explaining this task from the ground up to a new programmer is rather a lot of work.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice