---
title: "Working on Windows Form with Control Library.."  
description: "Working on Windows Form with Control Library.."  
author: "Arush Raj"  
published: 2011-07-13  
updated: 2013-07-25  
canonical: https://www.mindstick.com/forum/273/working-on-windows-form-with-control-library  
category: "ado.net"  
tags: ["ado.net"]  
reading_time: 1 minute  

---

# Working on Windows Form with Control Library..

**I want create a login from. For this I create a [Control](https://www.mindstick.com/blog/197/asp-dot-net-repeater-control) [Library](https://www.mindstick.com/forum/34615/software-framework-vs-library) [Login Form](https://www.mindstick.com/forum/355/login-form-and-registration-form-in-php), and then I use it at a [Windows](https://www.mindstick.com/articles/311752/how-to-install-and-use-the-google-wifi-software-on-a-windows-or-mac-computer) Form. [Now](https://yourviews.mindstick.com/view/81402/it-s-liberals-vs-progressives-in-us-politics-now) its working well,But my [question](https://www.mindstick.com/blog/23175/how-to-solve-neet-question-paper-in-less-time) is that when the [task](https://www.mindstick.com/forum/161761/what-is-the-difference-between-task-and-thread) of Control Library Login Form is completed. After showing that "Login Successful",I want to see the next Windows Form in Windows application.?**

## Replies

### Reply by Manmohan Jha

Login form\
on button click event\
Homefrm hf = new Homefrm();hf.Show();Hide();

### Reply by Anonymous User

Hi Arush Raj,\
You have two solution to solve this problem,\
1) Define a event in [login](https://www.mindstick.com/articles/12852/styles-login-form-in-android) control [form](https://www.mindstick.com/forum/6/multi-form-mfc-application) 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.


---

Original Source: https://www.mindstick.com/forum/273/working-on-windows-form-with-control-library

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
