Geeks With Blogs

News
Neat Stuff Read all my hurricane entries While you are here, visit the Geeks With Blogs main feed
Advertising
Links Status of the Navy
Channel 9

.NET Hobbyist Programmer Staying Confused in a Busy World

Code it while you can.  The following may soon be Patent Pending.

    private void tmrFader_Tick(object sender, System.EventArgs e)
    {
      if (m_fadeDir == FadeDirection.In)
      {
        if (this.Opacity <= 0.99)
        {
          this.Opacity += 0.1;
        }
        else
        {
          this.Opacity = 1;
          tmrFader.Enabled = false;
        }
      }
      else if (m_fadeDir == FadeDirection.Out)
      {
        if (this.Opacity >= 0.2)
        {
          this.Opacity -= 0.1;
        }
        else
        {
          this.Opacity = 0.25;
          tmrFader.Enabled = false;
        }
      }
    }

Sigh. I hope it's thrown out on prior art. (/. is on that here.)

Posted on Tuesday, May 18, 2004 4:37 PM Programming , & Etc. | Back to top


Comments on this post: Translucent Windows Patented?

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Mark Treadwell | Powered by: GeeksWithBlogs.net