how to open a new form automaticaly at runtime?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • faisalabdul
    New Member
    • Oct 2009
    • 2

    how to open a new form automaticaly at runtime?

    hi friends...

    i am new to C#.net. how can i open a new form automatical in c#.net 2005.i have created one table which contain username and password.if i select one user and click ok button then the new form will open. if i want to add another new user to the table then the new form will automatically open for that particular user. please any one help me to make this one........

    thank you
    Faisal
  • tlhintoq
    Recognized Expert Specialist
    • Mar 2008
    • 3532

    #2
    First you make a new form. Then you show it.

    Code:
    Form bob = new Form();
    bob.show();
    What is on that form and what you have it do with your database is up to you

    Comment

    Working...