how can i close privious form

hi
i  am using a dot net application  in which
 there is a login form and one mdi form
on ok button click i am opening the mdiform and i want to close 
loginform but its not working how can i close login form
regards Prathvi


Answer this question

how can i close privious form

  • DotNetRulezZ

    On the code of the button and after the code to open the mdi form write: "me.hide". That will work.

    Best Regards,
    Blackcat

  • how can i close privious form