i have a user control (component -- dll)which contain 2 textboxes and one Button , it check the pass and user , and if the user and pass is correct it has to show another form ,
how can i hide form1 which i dragged My componnet(USer Control) and show another form .
i cant create new form1 in user control such form1 frm1=new form1();
because in my user control there is no form.