public GlassPanelForm() { Name = "GlassPanelForm"; Text = "GlassPanelForm"; ClientSize = new Size(0, 0); ControlBox = false; FormBorderStyle = FormBorderStyle.None; SizeGripStyle = SizeGripStyle.Hide; StartPosition = FormStartPosition.Manual; MaximizeBox = false; MinimizeBox = false; ShowIcon = false; ShowInTaskbar = false; FormBorderStyle = FormBorderStyle.None; SetStyle(ControlStyles.Selectable, false); Opacity = 0.5f; BackColor = Color.FromArgb(255, 254, 254, 254); TransparencyKey = BackColor; HideGlass(); NativeMethods.ShowWithoutActivate(this); }