Programlama | Programlama Dilleri | C Programlama Dili |C++

Anasayfa Programlama C# C# İle Web Browser(Internet Tarayıcısı) Yapımı


C# İle Web Browser(Internet Tarayıcısı) Yapımı

AÇIKLAMA

Visual studio da web broswer yapımı çok basittir. Bunun için yapmamız gereken toolbardan bir adet web broswer toolu eklemektir. Sonrasında ileri, geri, yenile gibi butonlar koyarak tarayıcımızı zenginleştirebiliriz. İşte kullanılan kodlar:

Programın Tamamını Aşağıdaki Linkten İndirebilirsiniz

Linki Görebilmeniz İçin Üye Olmanız Gerekmektedir...

Üye Kayıt 

Program Kodu:

  1.  
  2.  
  3.  
  4.  
  5. <font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff">namespace</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> deneme</font></font>
  6. <font face="Consolas" size="2"><font face="Consolas" size="2">
  7. {
  8.  
  9.  
  10. </font>
  11.  
  12. </font>
  13. <font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff">public</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff">partial</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff">class</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font face="Consolas" size="2" color="#2b91af"><font face="Consolas" size="2" color="#2b91af"><font face="Consolas" size="2" color="#2b91af">Form1</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> : </font></font><font face="Consolas" size="2" color="#2b91af"><font face="Consolas" size="2" color="#2b91af"><font face="Consolas" size="2" color="#2b91af">Form</font></font></font>
  14.  
  15. <font face="Consolas" size="2" color="#2b91af"><font face="Consolas" size="2" color="#2b91af"><font face="Consolas" size="2" color="#2b91af"> </font></font></font>
  16. <font face="Consolas" size="2">
  17.  
  18. <font face="Consolas" size="2">
  19.  
  20.  
  21. {
  22.  
  23.  
  24. </font>
  25.  
  26. </font>
  27. <font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff">public</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> Form1()</font></font>
  28.  
  29.  
  30. <font face="Consolas" size="2">
  31.  
  32. <font face="Consolas" size="2">
  33.  
  34.  
  35. {
  36.  
  37.  
  38.  
  39. InitializeComponent();
  40.  
  41.  
  42.  
  43. }
  44.  
  45.  
  46. </font>
  47.  
  48. </font>
  49. <font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff">private</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff">void</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> button5_Click(</font></font><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff">object</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> sender, </font></font><font face="Consolas" size="2" color="#2b91af"><font face="Consolas" size="2" color="#2b91af"><font face="Consolas" size="2" color="#2b91af">EventArgs</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> e)</font></font>
  50.  
  51.  
  52. <font face="Consolas" size="2">
  53.  
  54. <font face="Consolas" size="2">
  55.  
  56.  
  57. {
  58.  
  59.  
  60.  
  61. Close();
  62.  
  63.  
  64.  
  65. }
  66.  
  67.  
  68. </font>
  69.  
  70. </font>
  71. <font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff">private</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff">void</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> button2_Click(</font></font><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff">object</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> sender, </font></font><font face="Consolas" size="2" color="#2b91af"><font face="Consolas" size="2" color="#2b91af"><font face="Consolas" size="2" color="#2b91af">EventArgs</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> e)</font></font>
  72.  
  73.  
  74. <font face="Consolas" size="2">
  75.  
  76. <font face="Consolas" size="2">
  77.  
  78.  
  79. {
  80.  
  81.  
  82.  
  83. webBrowser1.GoBack();
  84.  
  85.  
  86.  
  87. }
  88.  
  89.  
  90. </font>
  91.  
  92. </font>
  93. <font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff">private</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff">void</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> button1_Click(</font></font><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff">object</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> sender, </font></font><font face="Consolas" size="2" color="#2b91af"><font face="Consolas" size="2" color="#2b91af"><font face="Consolas" size="2" color="#2b91af">EventArgs</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> e)</font></font>
  94.  
  95.  
  96. <font face="Consolas" size="2">
  97.  
  98. <font face="Consolas" size="2">
  99.  
  100.  
  101. {
  102.  
  103.  
  104.  
  105. webBrowser1.GoForward();
  106.  
  107.  
  108.  
  109. }
  110.  
  111.  
  112. </font>
  113.  
  114. </font>
  115. <font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff">private</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff">void</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> button4_Click(</font></font><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff">object</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> sender, </font></font><font face="Consolas" size="2" color="#2b91af"><font face="Consolas" size="2" color="#2b91af"><font face="Consolas" size="2" color="#2b91af">EventArgs</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> e)</font></font>
  116.  
  117.  
  118. <font face="Consolas" size="2">
  119.  
  120. <font face="Consolas" size="2">
  121.  
  122.  
  123. {
  124.  
  125.  
  126.  
  127. webBrowser1.Refresh();
  128.  
  129.  
  130.  
  131. }
  132.  
  133.  
  134. </font>
  135.  
  136. </font>
  137. <font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff">private</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff">void</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> button3_Click(</font></font><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff">object</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> sender, </font></font><font face="Consolas" size="2" color="#2b91af"><font face="Consolas" size="2" color="#2b91af"><font face="Consolas" size="2" color="#2b91af">EventArgs</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> e)</font></font>
  138.  
  139.  
  140. <font face="Consolas" size="2">
  141.  
  142. <font face="Consolas" size="2">
  143.  
  144.  
  145. {
  146.  
  147.  
  148.  
  149. webBrowser1.GoHome();
  150.  
  151.  
  152.  
  153. }
  154.  
  155.  
  156. </font>
  157.  
  158. </font>
  159. <font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff">private</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff">void</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> button6_Click(</font></font><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff">object</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> sender, </font></font><font face="Consolas" size="2" color="#2b91af"><font face="Consolas" size="2" color="#2b91af"><font face="Consolas" size="2" color="#2b91af">EventArgs</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> e)</font></font>
  160.  
  161.  
  162. <font face="Consolas" size="2">
  163.  
  164. <font face="Consolas" size="2">
  165.  
  166.  
  167. {
  168.  
  169.  
  170.  
  171. webBrowser1.GoSearch();
  172.  
  173.  
  174.  
  175. }
  176.  
  177.  
  178. </font>
  179.  
  180. </font>
  181. <font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff">private</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff">void</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> button7_Click(</font></font><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff"><font face="Consolas" size="2" color="#0000ff">object</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> sender, </font></font><font face="Consolas" size="2" color="#2b91af"><font face="Consolas" size="2" color="#2b91af"><font face="Consolas" size="2" color="#2b91af">EventArgs</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2"> e)</font></font>
  182.  
  183.  
  184. <font face="Consolas" size="2">
  185.  
  186. <font face="Consolas" size="2">
  187.  
  188.  
  189. {
  190.  
  191.  
  192. </font>
  193.  
  194. </font>
  195. <font face="Consolas" size="2"><font face="Consolas" size="2"> </font></font><font face="Consolas" size="2" color="#2b91af"><font face="Consolas" size="2" color="#2b91af"><font face="Consolas" size="2" color="#2b91af">MessageBox</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2">.Show(</font></font><font face="Consolas" size="2" color="#a31515"><font face="Consolas" size="2" color="#a31515"><font face="Consolas" size="2" color="#a31515">" --Kabasakal Yazilim 2009--"</font></font></font><font face="Consolas" size="2"><font face="Consolas" size="2">);</font></font>
  196.  
  197.  
  198. <font face="Consolas" size="2">
  199.  
  200. <font face="Consolas" size="2">
  201.  
  202.  
  203. }
  204.  
  205.  
  206.  
  207. }
  208.  
  209.  
  210.  
  211. }
  212.  
  213.  
  214.  
  215.  

 

 

Yorumlar (2)
  • bilgin459  - Nasıl
    Bunları Yapmak İçin Program Lazımmı ? Lazımsa Link Atarmısınız ?? :0 :?:
  • Ahmet Ali  - Biraz geç oldu ama ...
    Programlar genelde bir derleyici yardımı ile yazılırlar. benim kullandığın derleyici C#, F#, C++ gibi bir çok dile destek veren Microsoft Visual Studio programıdır. Bu programa Microsoftun sitesinden ulaşabilirsiniz... :D
Sadece kayıtlı kullanıcılar yorum yazabilir!
Son Güncelleme ( Cumartesi, 29 Haziran 2013 15:01 )