Questo sito utilizza cookies solo per scopi di autenticazione sul sito e nient'altro. Nessuna informazione personale viene tracciata. Leggi l'informativa sui cookies.
Username: Password: oppure
KBrowser v2.0.0 - Form1.vb

Form1.vb

Caricato da: VB.NET_Program_91
Scarica il programma completo

  1. Public Class Form1
  2.  
  3.     Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
  4.         Web1.Navigate("WWW.GOOGLE.IT")
  5.     End Sub
  6.  
  7.     Private Sub ToolStripButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
  8.         Web1.Navigate(URL.Text)
  9.     End Sub
  10.  
  11.     Private Sub ToolStripButton7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
  12.         If tex2.Text = Nothing Then
  13.             MessageBox.Show("Impossibile ricercare una chiave di ricerca vuota", "Ricerca", MessageBoxButtons.OK, MessageBoxIcon.Warning)
  14.             Exit Sub
  15.         End If
  16.         Me.Web1.Navigate("http://www.google.it/search?hl=it&q=" & tex2.Text.ToString)
  17.     End Sub
  18.  
  19.     Private Sub Annulla_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
  20.         Web1.Stop()
  21.  
  22.     End Sub
  23.  
  24.     Private Sub Ricarica_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
  25.         Web1.Refresh()
  26.  
  27.     End Sub
  28.  
  29.     Private Sub Home_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
  30.         Web1.Navigate("www.google.it")
  31.     End Sub
  32.  
  33.     Private Sub Indietro_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
  34.         Web1.GoBack()
  35.  
  36.     End Sub
  37.  
  38.     Private Sub Avanti_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
  39.         Web1.GoForward()
  40.  
  41.     End Sub
  42.  
  43.     Private Sub Info_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
  44.         about1.Visible = True
  45.  
  46.  
  47.  
  48.     End Sub
  49.  
  50.     Private Sub IndietroToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles IndietroToolStripMenuItem.Click
  51.         Web1.GoBack()
  52.     End Sub
  53.  
  54.     Private Sub AvantiToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AvantiToolStripMenuItem.Click
  55.         Web1.GoForward()
  56.     End Sub
  57.  
  58.     Private Sub TerminaToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TerminaToolStripMenuItem.Click
  59.         Web1.Stop()
  60.     End Sub
  61.  
  62.     Private Sub AggiornaToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AggiornaToolStripMenuItem.Click
  63.         Web1.Refresh()
  64.     End Sub
  65.  
  66.     Private Sub PaginaInizialeToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PaginaInizialeToolStripMenuItem.Click
  67.         Web1.Navigate("www.pierotofy.it")
  68.     End Sub
  69.  
  70.     Private Sub InformazioniAutoreToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
  71.         about1.Visible = True
  72.  
  73.     End Sub
  74.  
  75.     Private Sub GoogleToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles GoogleToolStripMenuItem.Click
  76.         Web1.Navigate("www.google.it")
  77.     End Sub
  78.  
  79.     Private Sub PieroTofyToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PieroTofyToolStripMenuItem.Click
  80.         Web1.Navigate("www.pierotofy.it")
  81.     End Sub
  82.  
  83.     Private Sub EsciToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles EsciToolStripMenuItem.Click
  84.         End
  85.     End Sub
  86.  
  87.    Private Sub InformazioniPtogrammaToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles InformazioniPtogrammaToolStripMenuItem.Click
  88.         Dim about1 As New about1
  89.         about1.Visible = 1
  90.     End Sub
  91.  
  92.     Private Sub DataToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DataToolStripMenuItem.Click
  93.         Dim data As New data
  94.         data.Visible = True
  95.     End Sub
  96.  
  97.    
  98. End Class