Esempio n. 1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.buttonhost = ((HXZH.Controls.ButtonHost)(target));
     return;
     case 2:
     this.isShow = ((System.Windows.Controls.CheckBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.buttonhost = ((HXZH.Controls.ButtonHost)(target));
     return;
     case 2:
     this.isShow = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 3:
     
     #line 15 "..\..\MainWindowButtonHostUsingItem.xaml"
     ((HXZH.Controls.ButtonHostItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonHostItem_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 18 "..\..\MainWindowButtonHostUsingItem.xaml"
     ((HXZH.Controls.ButtonHostItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonHostItem_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 21 "..\..\MainWindowButtonHostUsingItem.xaml"
     ((HXZH.Controls.ButtonHostItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonHostItem_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 24 "..\..\MainWindowButtonHostUsingItem.xaml"
     ((HXZH.Controls.ButtonHostItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonHostItem_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 27 "..\..\MainWindowButtonHostUsingItem.xaml"
     ((HXZH.Controls.ButtonHostItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonHostItem_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 30 "..\..\MainWindowButtonHostUsingItem.xaml"
     ((HXZH.Controls.ButtonHostItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonHostItem_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }