// <summary>Wrapper but with an onclick event since it is used so often.</summary>
 public EasyView(PageWrapper appWrapper,
                 View view,
                 EventHandler onClick)
     : this(appWrapper, view)
 {
     this.view.Click += onClick;
 }
        public EasyView(PageWrapper appWrapper, View view)
        {
            this.appWrapper    = appWrapper;
            this.view          = view;
            this.soundTriggers = new Dictionary <int, SoundTrigger>();

            // Register sound listeners.
            this.Click(OnClickEventSound);
            this.Hover(OnHoverEventSound);
        }