WORKING ON WINDOWS FORM WITH CONTROL LIBRARY..

Arush Raj

Total Post:1

Points:7
Posted by  Arush Raj
 4129  View(s)
Ratings:
Rate this:
I want create a login from. For this I create a Control Library Login Form, and then I use it at a Windows Form. Now its working well,But my question is that when the task of Control Library Login Form is completed. After showing that "Login Successful",I want to see the next Windows Form in Windows application.?
  1. Awadhendra Tiwari

    Post:126

    Points:882
    Re: Working on Windows Form with Control Library..

    Hi Arush Raj,
    You have two solution to solve this problem,
    1) Define a event in login control form and create a handler of that in usable form. Then on that handler you can show other form.
    2) In control form after successful login you can hide login form and then open parent form and on the load event of form call another form.

    Thanks.

  1. Manmohan Jha

    Post:35

    Points:245
    Re: Working on Windows Form with Control Library..

    Login form


    on button click event

    Homefrm hf = new Homefrm();
    hf.Show();
    Hide();

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!