コード例 #1
0
ファイル: MainWindow.g.cs プロジェクト: raysonxin/wpf-learn
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.btnTest = ((FlatApp.UI.Controls.IconButton)(target));
     
     #line 7 "..\..\MainWindow.xaml"
     this.btnTest.Click += new System.Windows.RoutedEventHandler(this.btnTest_Click);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 8 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
コード例 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.btnTest = ((FlatApp.UI.Controls.IconButton)(target));
     
     #line 14 "..\..\MainWindow.xaml"
     this.btnTest.Click += new System.Windows.RoutedEventHandler(this.btnTest_Click);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 15 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.rtxt = ((System.Windows.Controls.RichTextBox)(target));
     return;
     case 4:
     this.circleBar = ((System.Windows.Controls.ProgressBar)(target));
     return;
     case 5:
     this.circleBar2 = ((System.Windows.Controls.ProgressBar)(target));
     return;
     case 6:
     this.cbActive = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 7:
     this.cbActive2 = ((System.Windows.Controls.CheckBox)(target));
     return;
     }
     this._contentLoaded = true;
 }