Your SlideShare is downloading. ×
Dim int As Integer = 0____________________________________________________________________________________________Private ...
CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).GoHome()______________________________________________________...
CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).ShowPropertiesDialog()________________________________________...
CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).GoHome()______________________________________________________...
Upcoming SlideShare
Loading in...5
×

Codigos

1,071

Published on

Los Codigos para el Navegador Web

Published in: Spiritual, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,071
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Codigos"

  1. 1. Dim int As Integer = 0____________________________________________________________________________________________Private Sub Loading(ByVal sender As Object, ByVal e AsWindows.Forms.WebBrowserProgressChangedEventArgs) ToolStripProgressBar1.Maximum = e.MaximumProgress ToolStripProgressBar1.Value = e.CurrentProgress End Sub_____________________________________________________________________________________________Private Sub Done(ByVal sender As Object, ByVal e AsWindows.Forms.WebBrowserDocumentCompletedEventArgs) TabControl1.SelectedTab.Text = CType(TabControl1.SelectedTab.Controls.Item(0),WebBrowser).DocumentTitle ComboBox1.Text = CType(TabControl1.SelectedTab.Controls.Item(0),WebBrowser).Url.ToString End Sub______________________________________________________________________________________________Form1:Dim Browser As New WebBrowser TabControl1.TabPages.Add("New Page") Browser.Name = "Web Browser" Browser.Dock = DockStyle.Fill TabControl1.SelectedTab.Controls.Add(Browser) AddHandler Browser.ProgressChanged, AddressOf Loading AddHandler Browser.DocumentCompleted, AddressOf Done int = int + 1
  2. 2. CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).GoHome()_______________________________________________________________________Agregar Pestañas: Dim Browser As New WebBrowser TabControl1.TabPages.Add("New Page") TabControl1.SelectTab(int) Browser.Name = "Web Browser" Browser.Dock = DockStyle.Fill TabControl1.SelectedTab.Controls.Add(Browser) AddHandler Browser.ProgressChanged, AddressOf Loading AddHandler Browser.DocumentCompleted, AddressOf Done int = int + 1 CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).GoHome()_____________________________________________________________________Quitar Pestañas: If Not TabControl1.TabPages.Count = 1 Then TabControl1.TabPages.RemoveAt(TabControl1.SelectedIndex) TabControl1.SelectTab(TabControl1.TabPages.Count - 1) int = int - 1 End If_______________________________________________________________________________Propiedades:
  3. 3. CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).ShowPropertiesDialog()_________________________________________________________________________________Timer:ToolStripStatusLabel1.Text = CType(TabControl1.SelectedTab.Controls.Item(0),WebBrowser).StatusText__________________________________________________________________________________Atras:CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).GoBack()__________________________________________________________________________________Adelante:CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).GoForward()__________________________________________________________________________________Actualizar:CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).Refresh()___________________________________________________________________________________Inicio:
  4. 4. CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).GoHome()___________________________________________________________________________________Ir /GoCType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).Navigate(ComboBox1.Text)__________________________________________________________________________________

×