Cupertino & Redmond

Certainly we’ve all heard the accusations that Windows copied Apple, so I had to chuckle to run across some Silverlight framework code that showed Windows was an exact copy of Apple Smile

 

Code Snippet
  1. // Type: System.Windows.Input.ModifierKeys
  2. // Assembly: System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
  3. // Assembly location: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\System.Windows.dll
  4.  
  5. using System;
  6.  
  7. namespace System.Windows.Input
  8. {
  9.     [Flags]
  10.     public enum ModifierKeys
  11.     {
  12.         None = 0,
  13.         Alt = 1,
  14.         Control = 2,
  15.         Shift = 4,
  16.         Apple = 8,
  17.         Windows = Apple,
  18.     }
  19. }

Advertisements