Advertisement
Fhernd

Principal.cs

Mar 6th, 2018
1,498
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.55 KB | None | 0 0
  1. using System;
  2. using System.Windows.Forms;
  3.  
  4. namespace R720VisualizarPaginaWebEnWinForms
  5. {
  6.     public partial class Principal : Form
  7.     {
  8.         public Principal()
  9.         {
  10.             InitializeComponent();
  11.  
  12.             txtUrl.Text = "https://ortizol.blogspot.com";
  13.         }
  14.  
  15.         private void btnIr_Click(object sender, EventArgs e)
  16.         {
  17.             webNavegador.Navigate(txtUrl.Text);
  18.         }
  19.  
  20.         private void btnInicio_Click(object sender, EventArgs e)
  21.         {
  22.             webNavegador.GoHome();
  23.         }
  24.     }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement