예제 #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((WB.Window)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((WB.BrowserWindow)(target));
     return;
     case 2:
     this.tabControl = ((System.Windows.Controls.TabControl)(target));
     
     #line 28 "..\..\BrowserWindow.xaml"
     this.tabControl.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.tabControl_MouseDoubleClick);
     
     #line default
     #line hidden
     return;
     case 3:
     this.desk = ((WebBrowserControlProject.WebBrowserControl)(target));
     return;
     case 4:
     this.btn_bookPad = ((System.Windows.Controls.Button)(target));
     return;
     case 5:
     this.btn_back = ((System.Windows.Controls.Button)(target));
     return;
     case 6:
     this.btn_forward = ((System.Windows.Controls.Button)(target));
     return;
     case 7:
     this.btn_refresh = ((System.Windows.Controls.Button)(target));
     return;
     case 8:
     this.btn_home = ((System.Windows.Controls.Button)(target));
     return;
     case 9:
     this.btn_naviTo = ((System.Windows.Controls.Button)(target));
     
     #line 57 "..\..\BrowserWindow.xaml"
     this.btn_naviTo.Click += new System.Windows.RoutedEventHandler(this.btn_naviTo_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.tb_url = ((System.Windows.Controls.TextBox)(target));
     return;
     case 11:
     this.btn_settings = ((System.Windows.Controls.Button)(target));
     return;
     case 12:
     this.btn_show = ((System.Windows.Controls.Button)(target));
     
     #line 60 "..\..\BrowserWindow.xaml"
     this.btn_show.Click += new System.Windows.RoutedEventHandler(this.btn_show_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }