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#
  4. updating label in main form

updating label in main form

Scheduled Pinned Locked Moved C#
helpquestion
2 Posts 2 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.
  • J Offline
    J Offline
    Jason Ranin
    wrote on last edited by
    #1

    Hi, I have a trivia program wherein i have main form containing a label for player's winnings. the trivia questions are separate forms that is launched when the corresponding button from the main form is clicked. the question forms are timed and once the time has expired, it checks for the correct answer. a price (i.e. $100) is set for each correct answer. the problem im having is that this price is not being updated on the main form label after the time has expired. Can anyone help me please ASAP? thanks. Sincerely, Jason C. Ranin Software Quality Assurance

    E 1 Reply Last reply
    0
    • J Jason Ranin

      Hi, I have a trivia program wherein i have main form containing a label for player's winnings. the trivia questions are separate forms that is launched when the corresponding button from the main form is clicked. the question forms are timed and once the time has expired, it checks for the correct answer. a price (i.e. $100) is set for each correct answer. the problem im having is that this price is not being updated on the main form label after the time has expired. Can anyone help me please ASAP? thanks. Sincerely, Jason C. Ranin Software Quality Assurance

      E Offline
      E Offline
      exhaulted
      wrote on last edited by
      #2

      Try calling the TextBox.Invalidate() method, this will force the text box to be re-drawn. If that doesn't work then it may be a problem with how you are passing the value into the text box. Kev Pearman MCP

      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