What you want to do is draw an image on the screen without the visible border of the window around it. Whether a window will be created is a completely different question. And as it turned out, you should have a window. It just won't be visible. So:
Create a window, making sure that the InitializeComponent()following is installed:
this.ControlBox = false;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.MaximizeBox = false;
this.MinimizeBox = false;
this.ShowIcon = false;
this.ShowInTaskbar = false;
Then override OnPaintBackgroundfor this window as follows:
protected override void OnPaintBackground( WinForms.PaintEventArgs e )
{
e.Graphics.DrawImage( Image, 0, 0, Width, Height );
}
source
share