--- trunk/RomCheater.PluginFramework/Core/ScratchPad.cs 2013/06/17 12:19:13 698 +++ trunk/RomCheater.PluginFramework/Core/ScratchPad.cs 2013/06/17 12:40:47 699 @@ -260,7 +260,25 @@ namespace RomCheater.PluginFramework.Cor private void txtScratchPad_LinkClicked(object sender, LinkClickedEventArgs e) { - System.Diagnostics.Process.Start(e.LinkText); + //System.Diagnostics.Process.Start(e.LinkText); + if (this.plugin != null) + { + var p = this.plugin.WebBrowserInterface; + if (p != null) + { + p.Navigate(e.LinkText); + } + else + { + logger.Debug.WriteLine("Could not navigate to url: '{0}'", e.LinkText); + logger.Debug.WriteLine("Could not obtain a handle to the WebBrowser Provider's Interface."); + } + } + else + { + logger.Debug.WriteLine("Could not navigate to url: '{0}'", e.LinkText); + logger.Debug.WriteLine("Loaded plugin is null"); + } } } } |