How can i make my form be invisible while my panels are visible

deniz koyuncu 11 Reputation points

the title is same with this

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,818 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Viorel 111.6K Reputation points

    Try this fragment for two panels:

    var r = new Region( panel1.Bounds );
    var p = PointToScreen( Point.Empty );
    r.Translate( p.X - Bounds.X, p.Y - Bounds.Y );
    this.Region = r;

    It can be executed in the handler for Load event.

  2. deniz koyuncu 11 Reputation points

    i have the panels elipsed i mean i used bunifuelipse so now it works but the problem is theres still white areas left how can i fix that
    also forgot to say i have 3 panels and when i open all 3 the 2. and 3. glitches i mean like one disapears and other comes this happens every 2 sec

    0 comments No comments