Click here to Skip to main content
15,886,788 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have already create installer but there is one problem.
When i open form like frm.ShowDialog() that time form is open but it display in back side of default installer screen.
I Want to show it in front of default screen. Any Idea about this?
Posted

1 solution

I guess you can use the TopMost property. Refer this link...

http://msdn.microsoft.com/en-us/library/system.windows.forms.form.topmost.aspx[^]
 
Share this answer
 
Comments
Savalia Manoj M 3-Jun-11 0:16am    
I also used Topmost property but it can not show front of installer screen.
Like

private void Installer1_AfterInstall(object sender, InstallEventArgs e)
{
Form1 topmostForm = new Form1();
topmostForm.Focus();
topmostForm.BringToFront();
topmostForm.TopMost = true;
topmostForm.ShowDialog();
}

Plz help me...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900