I have created a winform app in c# and made it transparent but I need to allow client click behind the winform area (right click or run if there is a file behind) is it possible?
InitializeComponent();
SetStyle(ControlStyles.SupportsTransparentBackColor, true);
this.BackColor = Color.Transparent;
this.TransparencyKey = Color.Blue;
this.FormBorderStyle = FormBorderStyle.None;
Rectangle workingArea = Screen.GetWorkingArea(this);
this.Location = new Point(workingArea.Right - Size.Width,
workingArea.Bottom - Size.Height);
private void FormNotifyIcon_MouseDoubleClick(object sender, MouseEventArgs e)
{
this.Show();
this.WindowState = FormWindowState.Normal;
}
private void NotifyMenuMin_Click(object sender, EventArgs e)
{
this.Show();
this.WindowState = FormWindowState.Normal;
}
private void NotifyMenuMax_Click(object sender, EventArgs e)
{
this.Show();
this.WindowState = FormWindowState.Normal;
}