hi all, I have a login form and a Main Form. I want to Show Main Form after verifying user name and password. My written code is below (c# environment): this.Hide(); objMain.ShowDialog(); this.Close(); this.Dispose(); it's work fine. problem is when MainForm
is activated, Login form still running in the memory (hidden). But i don't want so. I want free the memory by closing Login Form. If I use Show Method so total project's END. thing is happening here that, ShowDialog() Method hold the command and that's why
other command are not executed. after closing Main Form other 2 line of code executed. I want to Close base Form before or after activate Main Form. Any help will highly appreciated. Thanks in Advance.
View Complete Post