using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Shapes; namespace SchedulingSystemClient { /// /// 测试.xaml 的交互逻辑 /// public partial class 测试 : Window { public 测试() { InitializeComponent(); } private void btn_bd_Click(object sender, RoutedEventArgs e) { Uri bd = new Uri("https://www.baidu.com/s?wd=英雄联盟"); web.Source = bd; } private void btn_tb_Click(object sender, RoutedEventArgs e) { Uri tb = new Uri("https://www.taobao.com/"); web.Source = tb; } private void btn_jd_Click(object sender, RoutedEventArgs e) { Uri jd = new Uri("https://www.jd.com/"); web.Source = jd; } private void btn_yxlm_Click(object sender, RoutedEventArgs e) { Uri yxlm = new Uri("https://lol.qq.com/main.shtml"); web.Source = yxlm; } } }