WinForm Control with Opacity
I have a form that has some controls on itself(btnCreateReport,pnlDarkLayer).I have a panel that fit to form(Dock = Fill) and it is on the back of all controls.when user click on the btnCreateReport button ,I call pnlDarkLayer BringToFront method and after some calculation I call SendToBack() method of the button.I want to draw a dark layer on form controls and disable all of controls on the form. Is it possible? Thanks. Maybe this code help u to understand my purpose: private void btnCreateReport_Click(object sender, EventArgs e) { pnlDarkLayer.BackColor = Color.FromArgb(100, Color.Gray);