Selam arkadaslar sizden yarrdım istiyorum C# dilinde yazılmış bir web browser var ama ben ne C# dili derleyicisinden anlarım hiçbirşey biilmiyorum aradım o kadar derleyici buldum yine yapamadım size kodları yazıcam bana bu kodları derleyip programı yapıpta rapid_share atacak bir arkaaş lazım.İe ve operadan bağımsız browser istiyorum.Sadece kodları yazmışlar işe kodlar
//Copright by Ramazan GÜMÜŞKAR and Zeki GÖRÜR
//Saat:14.44tarih 25/08/2008
//Güle güle kullanın misafirler,arkadaşlar.
using System.IO;
using System.Net;
using System.Text;
using System.Windows.Forms;
public class Form1
{
private void Form1_Load(object sender, System.EventArgs e)
{
this.FormBorderStyle = Windows.Forms.FormBorderStyle.FixedToolWindow;
this.buttonBack = new System.Windows.Forms.Button();
this.buttonForward = new System.Windows.Forms.Button();
this.buttonStop = new System.Windows.Forms.Button();
this.buttonHome = new System.Windows.Forms.Button();
this.buttonRefresh = new System.Windows.Forms.Button();
this.TextBox1 = new System.Windows.Forms.TextBox();
this.buttonSubmit = new System.Windows.Forms.Button();
this.WebBrowser1 = new System.Windows.Forms.WebBrowser();
this.SuspendLayout();
//
//buttonBack
//
this.buttonBack.Location = new System.Drawing.Point(12, 12);
this.buttonBack.Name = "buttonBack";
this.buttonBack.Size = new System.Drawing.Size(75, 23);
this.buttonBack.TabIndex = 0;
this.buttonBack.Text = "Geri";
this.buttonBack.UseVisualStyleBackColor = true;
//
//buttonForward
//
this.buttonForward.Location = new System.Drawing.Point(93, 12);
this.buttonForward.Name = "buttonForward";
this.buttonForward.Size = new System.Drawing.Size(75, 23);
this.buttonForward.TabIndex = 1;
this.buttonForward.Text = "İleri";
this.buttonForward.UseVisualStyleBackColor = true;
//
//buttonStop
//
this.buttonStop.Location = new System.Drawing.Point(174, 12);
this.buttonStop.Name = "buttonStop";
this.buttonStop.Size = new System.Drawing.Size(75, 23);
this.buttonStop.TabIndex = 2;
this.buttonStop.Text = "Durdur";
this.buttonStop.UseVisualStyleBackColor = true;
//
//buttonHome
//
this.buttonHome.Location = new System.Drawing.Point(255, 12);
this.buttonHome.Name = "buttonHome";
this.buttonHome.Size = new System.Drawing.Size(75, 23);
this.buttonHome.TabIndex = 3;
this.buttonHome.Text = "Giriş";
this.buttonHome.UseVisualStyleBackColor = true;
//
//buttonRefresh
//
this.buttonRefresh.Location = new System.Drawing.Point(336, 12);
this.buttonRefresh.Name = "buttonRefresh";
this.buttonRefresh.Size = new System.Drawing.Size(75, 23);
this.buttonRefresh.TabIndex = 4;
this.buttonRefresh.Text = "Yenile";
this.buttonRefresh.UseVisualStyleBackColor = true;
//
//TextBox1
//
this.TextBox1.Location = new System.Drawing.Point(12, 41);
this.TextBox1.Name = "TextBox1";
this.TextBox1.Size = new System.Drawing.Size(399, 20);
this.TextBox1.TabIndex = 5;
this.TextBox1.Text = "www.google.com.tr";
//buttonSubmit
//
this.buttonSubmit.Location = new System.Drawing.Point(417, 12);
this.buttonSubmit.Name = "buttonSubmit";
this.buttonSubmit.Size = new System.Drawing.Size(75, 49);
this.buttonSubmit.TabIndex = 6;
this.buttonSubmit.Text = "&Git";
this.buttonSubmit.UseVisualStyleBackColor = true;
//
//WebBrowser1
//
this.WebBrowser1.Location = new System.Drawing.Point(12, 67);
this.WebBrowser1.MinimumSize = new System.Drawing.Size(20, 20);
this.WebBrowser1.Name = "WebBrowser1";
this.WebBrowser1.Size = new System.Drawing.Size(655, 427);
this.WebBrowser1.TabIndex = 7;
//
//Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6f, 13f);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(679, 506);
this.Controls.Add(this.WebBrowser1);
this.Controls.Add(this.buttonSubmit);
this.Controls.Add(this.TextBox1);
this.Controls.Add(this.buttonRefresh);
this.Controls.Add(this.buttonHome);
this.Controls.Add(this.buttonStop);
this.Controls.Add(this.buttonForward);
this.Controls.Add(this.buttonBack);
this.Name = "Form1";
this.Text = "YerliBrowser V.0.1";
this.ResumeLayout(false);
this.PerformLayout();
buttonBack.Enabled = false;
buttonForward.Enabled = false;
buttonStop.Enabled = false;
}
private void buttonBack_Click(object sender, System.EventArgs e)
{
WebBrowser1.GoBack();
TextBox1.Text = WebBrowser1.Url.ToString();
}
private void buttonForward_Click(object sender, System.EventArgs e)
{
WebBrowser1.GoForward();
TextBox1.Text = WebBrowser1.Url.ToString();
}
private void buttonStop_Click(object sender, System.EventArgs e)
{
WebBrowser1.Stop();
}
private void buttonRefresh_Click(object sender, System.EventArgs e)
{
WebBrowser1.Refresh();
}
private void buttonHome_Click(object sender, System.EventArgs e)
{
WebBrowser1.GoHome();
TextBox1.Text = WebBrowser1.Url.ToString();
}
private void buttonSubmit_Click(object sender, System.EventArgs e)
{
WebBrowser1.Navigate(TextBox1.Text);
}
private void WebBrowser1_CanGoBackChanged(object sender, System.EventArgs e)
{
if (WebBrowser1.CanGoBack == true) {
buttonBack.Enabled = true;
}
else {
buttonBack.Enabled = false;
}
}
private void WebBrowser1_CanGoForwardChanged(object sender, System.EventArgs e)
{
if (WebBrowser1.CanGoForward == true) {
buttonForward.Enabled = true;
}
else {
buttonForward.Enabled = false;
}
}
private void WebBrowser1_DocumentCompleted(object sender, System.Windows.Forms.WebBrowserDocumentCompletedEventArgs e)
{
buttonStop.Enabled = false;
}
private void WebBrowser1_Navigated(object sender, System.Windows.Forms.WebBrowserNavigatedEventArgs e)
{
TextBox1.Text = WebBrowser1.Url.ToString();
this.Text = WebBrowser1.DocumentTitle.ToString();
}
private void WebBrowser1_Navigating(object sender, System.Windows.Forms.WebBrowserNavigatingEventArgs e)
{
buttonStop.Enabled = true;
}
internal System.Windows.Forms.Button buttonBack;
internal System.Windows.Forms.Button buttonForward;
internal System.Windows.Forms.Button buttonStop;
internal System.Windows.Forms.Button buttonHome;
internal System.Windows.Forms.Button buttonRefresh;
internal System.Windows.Forms.TextBox TextBox1;
internal System.Windows.Forms.Button buttonSubmit;
internal System.Windows.Forms.WebBrowser WebBrowser1;
}