Jump to content

C# form opacity help

Go to solution Solved by madknight3,
 

WinForms

 

The forms Opacity property works fine for me.

public partial class Form1 : Form{    public Form1()    {        InitializeComponent();    }    private void button1_Click(object sender, EventArgs e)    {        this.Opacity = 0.5;    }}
 

WinForms

 

The forms Opacity property works fine for me.

public partial class Form1 : Form{    public Form1()    {        InitializeComponent();    }    private void button1_Click(object sender, EventArgs e)    {        this.Opacity = 0.5;    }}
Link to comment
https://linustechtips.com/topic/355918-c-form-opacity-help/#findComment-4831702
Share on other sites

Link to post
Share on other sites

 

 
 

 

The forms Opacity property works fine for me.

public partial class Form1 : Form{    public Form1()    {        InitializeComponent();    }    private void button1_Click(object sender, EventArgs e)    {        this.Opacity = 0.5;    }}

Son of a bitch... I was going to try this.opacity but I thought that would change the opacity of the button. I fucking love you bro haha cheers!

Link to comment
https://linustechtips.com/topic/355918-c-form-opacity-help/#findComment-4831706
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×