Konuyu Oyla:
  • Derecelendirme: 5/5 - 1 oy
  • 1
  • 2
  • 3
  • 4
  • 5
C# webBrowser Otomatik Kaydırma Fonksiyonu [AutoScroll]
#1
Fonksiyon Kodu aşağıdadır. Projenize direk ekleyip ardından....
Kod:
       private void otokaydir()
       {
           System.Windows.Forms.Application.DoEvents();

           if (webBrowser1.Document != null)
           {
               webBrowser1.Document.Window.ScrollTo(0,
               webBrowser1.Document.Body.ScrollRectangle.Height);
           }
       }


Fonksiyonu kullanmak için uygun bir nesne olayına daha doğrusu olayı tetiklicek bir nesnenin olayına aşağıdaki kodu yazmanız yeterlidir.
Kod:
otokaydir();
Cevapla


Konu ile Alakalı Benzer Konular
Konular Yazar Yorumlar Okunma Son Yorum
  C# Başlangıçta Çalıştır Fonksiyonu root 0 3,760 21-01-2016, 14:53
Son Yorum: root
  C# Program Zaten Çalışıyor Fonksiyonu root 0 4,103 28-12-2015, 22:43
Son Yorum: root
  C# Metin Ters Çevirme Fonksiyonu [Reverse String Method]] root 0 4,905 17-12-2015, 18:33
Son Yorum: root
  C# İni Ayar Dosyası Oluşturma Fonksiyonu root 0 6,394 17-11-2015, 18:01
Son Yorum: root
  WebBrowser Sayfa Yüklenince İşlem Yapma Administrator 0 13,147 17-11-2015, 17:50
Son Yorum: Administrator

Hızlı Menü:


Konuyu Okuyanlar: 1 Ziyaretçi