.NET Hobbyist Programmer

Staying Confused in a Busy World
posts - 271, comments - 284, trackbacks - 660

My Links

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

Tag Cloud

Article Categories

Archives

Post Categories

Translucent Windows Patented?

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.)

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Print | posted on Tuesday, May 18, 2004 4:37 PM | Filed Under [ Programming & Etc. ]

Feedback

No comments posted yet.
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 
 

Powered by: