Ana içeriğe atla

C# (Sharp) ile Web Browser Tasarım Kodları



using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace _20022012deneme
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click_1(object sender, EventArgs e)
        {
            object obj = null;
            axWebBrowser1.Navigate(textBox1.Text, ref obj, ref obj, ref obj, ref obj);
        }

        private void button3_Click(object sender, EventArgs e)
        {
            axWebBrowser1.GoBack();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            axWebBrowser1.GoForward();
        }

        private void button5_Click(object sender, EventArgs e)
        {
            axWebBrowser1.Stop();
        }

        private void button4_Click(object sender, EventArgs e)
        {
            axWebBrowser1.Refresh();
        }

        private void button7_Click(object sender, EventArgs e)
        {
            axWebBrowser1.Navigate("http://www.google.com");
        }
    }
}

---------------------------------------------------------------------------------------------------------

Sayfa Hakkında Örnek Resim




-----Kolay Gelsin-----

Yorumlar

Bu blogdaki popüler yayınlar

Microsoft Excel Temel Eğitim Ders Notları - Excel Programına Giriş

C#(Sharp) ile CD hareketleri

 UYARI : Bu kod bloğu notebook bilgisayarlarda sadece CD bölmesini çıkartır.                Masaüstü bilgisayarlarda ise hem çıkartma hem takma işlemi yapabilirsiniz. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Runtime.InteropServices; namespace Cd_hareketleri {     public partial class Form1 : Form     {         public Form1()         {             InitializeComponent();         }         [DllImport("winmm.dll")]         private static extern int mciSendString(string strCommand,     ...

C#(Sharp) ile PC'den Ses Çıkartma Kodları

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Runtime.InteropServices; namespace Pcden_ses_cikarma {     public partial class Form1 : Form     {         public Form1()         {             InitializeComponent();         }         [DllImport("Kernel32.dll", EntryPoint = "Beep")]         public static extern long MyBeep(Int32 frekans, Int32 sure);         private void button1_Click(object sender, EventArgs e)         {             MyBeep(1000, 1500);  ...