65.9K
CodeProject is changing. Read more.
Home

Simple Trick To Make Form Invisible

starIconstarIconstarIconstarIconstarIcon

5.00/5 (2 votes)

Jun 15, 2011

CPOL
viewsIcon

20715

 private int Invisible
        {
            get
            {
                return this.Handle.ToInt32();
            }
        }

        protected override CreateParams CreateParams
        {
            get
            {
                CreateParams p = base.CreateParams;                
                p.ClassStyle =  Invisible; 
                return p;
            }
        }