Click here to Skip to main content
15,898,036 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
In My setup project there is code like:
C#
  [RunInstaller(true)]
    public partial class Installer1 : Installer
    {
        public Installer1()
        {
            InitializeComponent();
        }
        public override void Install(System.Collections.IDictionary stateSaver)
        {
            base.Install(stateSaver);
        }
        private void Installer1_AfterInstall(object sender, InstallEventArgs e)
        {
           Form1 topmostForm = new Form1();
            topmostForm.Focus();
            topmostForm.BringToFront();
            topmostForm.TopMost = true;
            topmostForm.ShowDialog();
      }
}

When I call topmostForm.ShowDialog(), that time form is shown in back side of default installer screen.
I want to topmostForm front side of installer Screen.

I think you got my idea....
Please help me...
Posted
Updated 2-Jun-11 19:15pm
v2

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