Facebook
From Aqua Hummingbird, 4 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 137
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using System.Windows.Forms;
  10.  
  11.  
  12. namespace WindowsFormsApp5
  13. {
  14.  
  15.         bool idz=false;
  16.         bool cofnij=false;
  17.         bool odśwież=false;
  18.    
  19.     public partial class Form1 : Form
  20.     {
  21.         public Form1()
  22.         {
  23.             InitializeComponent();
  24.         }
  25.  
  26.         private void webBrowser1_Navigated(object sender, WebBrowserNavigatedEventArgs e)
  27.         {
  28.  
  29.         }
  30.  
  31.         private void cofnij_Click(object sender, EventArgs e)
  32.         {
  33.             webBrowser1.CanGoBack
  34.             if (!idz)
  35.             {
  36.                 idz= true;
  37.                
  38.             }else
  39.            
  40.              {
  41.                 idz = false;
  42.                 cofnij = false;
  43.                 odśwież = false
  44.            
  45.              }
  46.  
  47.      
  48.        
  49.        
  50.         }
  51.  
  52.         private void idź_Click(object sender, EventArgs e)
  53.         {
  54.             webBrowser1.Refresh
  55.                 if (!idz)
  56.             {
  57.                 idz = true;
  58.  
  59.             }
  60.             else
  61.  
  62.             {
  63.                 idz = false;
  64.                 cofnij = false;
  65.                 odśwież = false
  66.               }
  67.         }
  68.  
  69.         private void odśwież_Click(object sender, EventArgs e)
  70.         {
  71.  
  72.         }
  73.  
  74.         private void Otwórz_Click(object sender, EventArgs e)
  75.         {
  76.             webBrowser1.Navigate(textBox1.Text);
  77.         }
  78.  
  79.         private void textBox1_TextChanged(object sender, EventArgs e)
  80.         {
  81.  
  82.         }
  83.  
  84.         private void button5_Click(object sender, EventArgs e)
  85.         {
  86.  
  87.         }
  88.     }
  89. }
  90.