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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. how can i do this

how can i do this

Scheduled Pinned Locked Moved C#
question
3 Posts 3 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.
  • P Offline
    P Offline
    Parshant Verma
    wrote on last edited by
    #1

    1.TO make a ref of progressBar 2.to make a variable global that is accessible in both window application and class library 3.During a thread that is in class library and start at ButtonClick event how can we check the variable of thread at control event during the thread execution.

    C L 2 Replies Last reply
    0
    • P Parshant Verma

      1.TO make a ref of progressBar 2.to make a variable global that is accessible in both window application and class library 3.During a thread that is in class library and start at ButtonClick event how can we check the variable of thread at control event during the thread execution.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Parshant Verma wrote:

      TO make a ref of progressBar

      I have no idea what you mean

      Parshant Verma wrote:

      to make a variable global that is accessible in both window application and class library

      Probably by defining it in the class library, then the windows app can access it. You can't have a global, a public static on a class is the best you can do.

      Parshant Verma wrote:

      During a thread that is in class library and start at ButtonClick event how can we check the variable of thread at control event during the thread execution.

      I'm not sure I follow this.

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

      1 Reply Last reply
      0
      • P Parshant Verma

        1.TO make a ref of progressBar 2.to make a variable global that is accessible in both window application and class library 3.During a thread that is in class library and start at ButtonClick event how can we check the variable of thread at control event during the thread execution.

        L Offline
        L Offline
        Le centriste
        wrote on last edited by
        #3

        So, you are looking for a class library that can make a progress bar display processing progress to a WinForm assembly. Am I right?

        -------- "I say no to drugs, but they don't listen." - Marilyn Manson

        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