start progress bar automatically

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • KenLee

    #1

    start progress bar automatically

    I worked on Windows application.
    I made a application to covert flat file to insert database.
    currently, I made a button to display progress bar after clicking the button.
    I just want to load automatically after clicking application.exe file
    without clicking the button on the form loaded.

    is there any way to load form and start automatically without clicking any
    button?

  • Peter Bromberg [C# MVP]

    #2
    RE: start progress bar automatically

    KenLee,

    Your Form has a Load EventHandler (you can stub this method out by just
    double-clicking an empty area of your Form in design view).
    Put your code that the button previously ran inside this method.
    Peter

    --
    Co-founder, Eggheadcafe.com developer portal:

    UnBlog:





    "KenLee" wrote:
    [color=blue]
    > I worked on Windows application.
    > I made a application to covert flat file to insert database.
    > currently, I made a button to display progress bar after clicking the button.
    > I just want to load automatically after clicking application.exe file
    > without clicking the button on the form loaded.
    >
    > is there any way to load form and start automatically without clicking any
    > button?
    >[/color]

    Comment

    Working...