title: Creating a fade out label
body: <p>This might seem like a simple question...  </p>
  
  <p>I'm looking for the Label.Opacity property in C# Winforms. </p>
  
  <p>What I wish to do is have a method that fade's out a label gradually. By means of a timer perhaps?</p>
  
  <p>Since there is not Opacity I'm trying to set it's transperency to higher numbers untill it's high enough that the item should be invisible. But I can't seem to make this work.</p>
  
  <p>Currently I have: </p>
  
  <pre><code>public FadeLabel()
  {
      MyTimer timer = new MyTimer();
      this.TextChanged += (s, ea) =&gt;
      {
          if (timer.IsActive)
          {
              timer.Reset();
          }
          else
          {
              timer.WaitTime.Miliseconds = 500;
              timer.Start();
              timer.Completed += (a) =&gt;
              {
                  int i = 0;
                  Timer tm = new Timer();
                  tm.Interval = 1;
                  tm.Tick += (sa, aea) =&gt;
                  {
                      i++;
                      this.ForeColor = Color.FromArgb(i, Color.Black);
                      this.BackColor = Color.FromArgb(i, Color.White);
                      this.Invalidate();
                      if (i == 255)
                      {
                          tm.Stop();
                      }
                  };
                  tm.Start();
              };
          }
      };
  }
  </code></pre>