Web Sayfanızı Kendiniz Oluşturun...!
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraBars;
namespace KarMedKur
{
public partial class RibbonForm5 : DevExpress.XtraBars.Ribbon.RibbonForm
{
public RibbonForm5()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
}
private void barButtonItem1_ItemClick(object sender, ItemClickEventArgs e)
{
webBrowser1.Navigate("http://www.kardelenyazilim.com/");
this.Text = webBrowser1.DocumentTitle.ToString();
}
private void RibbonForm5_Load(object sender, EventArgs e)
{
webBrowser1.Navigate("http://www.kardelenyazilim.com/");
this.Text = webBrowser1.DocumentTitle.ToString();
textBox1.Text = ("http://www.kardelenyazilim.com/");
}
private void barButtonItem4_ItemClick(object sender, ItemClickEventArgs e)
{
webBrowser1.Navigate("http://destek.kardelenyazilim.com/login_page.php?return=%2Fmy_view_page.php");
//System.Diagnostics.Process.Start("http://destek.kardelenyazilim.com/login_page.php?return=%2Fmy_view_page.php");
this.Text = webBrowser1.DocumentTitle.ToString();
textBox1.Text = ("http://destek.kardelenyazilim.com/login_page.php?return=%2Fmy_view_page.php");
}
private void barButtonItem7_ItemClick(object sender, ItemClickEventArgs e)
{
webBrowser1.Navigate("http://webmail.kardelenyazilim.com/webmail/x3/?login=1");
//System.Diagnostics.Process.Start("http://webmail.kardelenyazilim.com/webmail/x3/?login=1");
this.Text = webBrowser1.DocumentTitle.ToString();
textBox1.Text = ("http://webmail.kardelenyazilim.com/webmail/x3/?login=1");
}
private void button1_Click_1(object sender, EventArgs e)
{
webBrowser1.Navigate(textBox1.Text);
this.Text = webBrowser1.DocumentTitle.ToString();
}
private void barButtonItem2_ItemClick(object sender, ItemClickEventArgs e)
{
webBrowser1.GoBack();
this.Text = webBrowser1.DocumentTitle.ToString();
}
private void barButtonItem6_ItemClick(object sender, ItemClickEventArgs e)
{
webBrowser1.GoForward();
this.Text = webBrowser1.DocumentTitle.ToString();
}
private void barButtonItem8_ItemClick(object sender, ItemClickEventArgs e)
{
webBrowser1.Stop();
this.Text = webBrowser1.DocumentTitle.ToString();
}
private void barButtonItem9_ItemClick(object sender, ItemClickEventArgs e)
{
webBrowser1.Refresh();
this.Text = webBrowser1.DocumentTitle.ToString();
}
private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
{
if ( e.KeyChar=='r')
webBrowser1.Navigate(textBox1.Text);
this.Text = webBrowser1.DocumentTitle.ToString();
}
private void barButtonItem10_ItemClick(object sender, ItemClickEventArgs e)
{
webBrowser1.Navigate("http://www.google.com.tr");
this.Text = webBrowser1.DocumentTitle.ToString();
textBox1.Text = ("http://www.google.com.tr");
}
private void barButtonItem11_ItemClick(object sender, ItemClickEventArgs e)
{
webBrowser1.Navigate("http://www.facebook.com");
this.Text = webBrowser1.DocumentTitle.ToString();
textBox1.Text =("http://www.facebook.com");
}
private void barButtonItem12_ItemClick(object sender, ItemClickEventArgs e)
{
webBrowser1.Navigate("http://www.youtube.com");
this.Text = webBrowser1.DocumentTitle.ToString();
textBox1.Text = ("http://www.youtube.com");
}
private void barButtonItem14_ItemClick(object sender, ItemClickEventArgs e)
{
webBrowser1.Navigate("http://www.hotmail.com");
this.Text = webBrowser1.DocumentTitle.ToString();
textBox1.Text = ("http://www.hotmail.com");
}
private void barButtonItem15_ItemClick(object sender, ItemClickEventArgs e)
{
webBrowser1.Navigate("http://www.gmail.com");
this.Text = webBrowser1.DocumentTitle.ToString();
textBox1.Text = ("http://www.gmail.com");
}
private void barButtonItem13_ItemClick(object sender, ItemClickEventArgs e)
{
webBrowser1.Navigate("http://www.logmein.com");
this.Text = webBrowser1.DocumentTitle.ToString();
textBox1.Text = ("http://www.logmein.com");
}
private void barButtonItem16_ItemClick(object sender, ItemClickEventArgs e)
{
webBrowser1.Navigate(textBox1.Text);
this.Text = webBrowser1.DocumentTitle.ToString();
}
}
}