/[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

revision 696 by william, Mon Jun 17 11:47:23 2013 UTC revision 697 by william, Mon Jun 17 12:03:50 2013 UTC
# Line 8  using System.Text; Line 8  using System.Text;
8  using System.Windows.Forms;  using System.Windows.Forms;
9  using WeifenLuo.WinFormsUI.Docking;  using WeifenLuo.WinFormsUI.Docking;
10  using RomCheater.Core;  using RomCheater.Core;
11    using RomCheater.Logging;
12    
13  namespace RomCheater.Docking  namespace RomCheater.Docking
14  {  {
# Line 18  namespace RomCheater.Docking Line 19  namespace RomCheater.Docking
19          {          {
20              InitializeComponent();              InitializeComponent();
21              this.BackingProvider = new WebBrowserProvider(this.webBrowser);              this.BackingProvider = new WebBrowserProvider(this.webBrowser);
22                init();
23          }          }
24    
25            
26    
27          private void btnGo_Click(object sender, EventArgs e)          private void btnGo_Click(object sender, EventArgs e)
28          {          {
29                        string url = txtWebAddress.Text;
30                this.Navigate(url);
31          }          }
32    
33    
# Line 36  namespace RomCheater.Docking Line 38  namespace RomCheater.Docking
38              get { return this.BackingProvider; }              get { return this.BackingProvider; }
39          }          }
40    
41            private void init()
42            {
43                init_events();
44    
45                lblWebAddress.Font = this.Font;
46                txtWebAddress.Font = this.Font;
47                btnGo.Font = this.Font;
48    
49            }
50    
51          private void init_events()          private void init_events()
52          {          {

Legend:
Removed from v.696  
changed lines
  Added in v.697

  ViewVC Help
Powered by ViewVC 1.1.22