ComponentFactory.Krypton.Toolkit.ScreenObscurer.ObscurerForm.ShowForm C# (CSharp) Method

ShowForm() public method

public ShowForm ( Rectangle screenRect ) : void
screenRect System.Drawing.Rectangle
return void
            public void ShowForm(Rectangle screenRect)
            {
                // Our initial position should overlay exactly the container
                SetBounds(screenRect.X,
                          screenRect.Y,
                          screenRect.Width,
                          screenRect.Height);

                // Show the window without activating it (i.e. do not take focus)
                PI.ShowWindow(Handle, (short)PI.SW_SHOWNOACTIVATE);
            }