예제 #1
0
        void Web_ProcessCreated(object sender, WebViewEventArgs e)
        {
            controller            = new SongDisplayController(Control.Web, SongDisplayController.FeatureLevel.None);
            controller.ShowChords = showChords;

            controller.SongLoaded += (s, args) =>
            {
                OnFinishedLoading();
            };

            (Control.Web.Surface as ImageSurface).Updated += web_Updated;

            controller.Load(this.song);
        }
 private void Load()
 {
     controller = new SongDisplayController(web, SongDisplayController.FeatureLevel.Backgrounds);
     controller.ShowChords = showChords;
     controller.SongLoaded += controller_SongLoaded;
     controller.Load(Song);
 }
예제 #3
0
        void Web_ProcessCreated(object sender, WebViewEventArgs e)
        {
            controller = new SongDisplayController(Control.Web, SongDisplayController.FeatureLevel.None);
            controller.ShowChords = showChords;

            controller.SongLoaded += (s, args) =>
            {
                OnFinishedLoading();
            };

            (Control.Web.Surface as ImageSurface).Updated += web_Updated;

            controller.Load(this.song);
        }