How to remove backcolor from a label in C#

1 Answer

0 votes
namespace WinFormsApp1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            label1.BackColor = Color.Transparent;
        }
    }
}




/*
 * run:
 *
 * 
 * 
 */

 



answered Aug 21, 2023 by avibootz

Related questions

1 answer 239 views
1 answer 238 views
1 answer 217 views
1 answer 250 views
1 answer 234 views
1 answer 244 views
1 answer 251 views
251 views asked Aug 26, 2023 by avibootz
...