/[RomCheater]/trunk/RomCheater/Docking/FloatingWebBrowser.cs
ViewVC logotype

Diff of /trunk/RomCheater/Docking/FloatingWebBrowser.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/RomCheater/Docking/FloatingWebBrowser.cs	2013/06/17 11:47:23	696
+++ trunk/RomCheater/Docking/FloatingWebBrowser.cs	2013/06/17 12:03:50	697
@@ -8,6 +8,7 @@
 using System.Windows.Forms;
 using WeifenLuo.WinFormsUI.Docking;
 using RomCheater.Core;
+using RomCheater.Logging;
 
 namespace RomCheater.Docking
 {
@@ -18,14 +19,15 @@
         {
             InitializeComponent();
             this.BackingProvider = new WebBrowserProvider(this.webBrowser);
-
+            init();
         }
 
      
 
         private void btnGo_Click(object sender, EventArgs e)
         {
-         
+            string url = txtWebAddress.Text;
+            this.Navigate(url);
         }
 
 
@@ -36,6 +38,15 @@
             get { return this.BackingProvider; }
         }
 
+        private void init()
+        {
+            init_events();
+
+            lblWebAddress.Font = this.Font;
+            txtWebAddress.Font = this.Font;
+            btnGo.Font = this.Font;
+
+        }
 
         private void init_events()
         {

 

  ViewVC Help
Powered by ViewVC 1.1.22