コード例 #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Bets = ((WPFFirst.MainWindow)(target));
     return;
     case 2:
     this.grrrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     
     #line 13 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_3);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 14 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.newtable);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 17 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_1);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 18 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.newtabletennis);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 20 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.footan);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 21 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.tennan);
     
     #line default
     #line hidden
     return;
     case 9:
     
     #line 22 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.settings);
     
     #line default
     #line hidden
     return;
     case 10:
     this.sl1 = ((System.Windows.Controls.Slider)(target));
     
     #line 26 "..\..\MainWindow.xaml"
     this.sl1.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.sl1_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 11:
     this.l1 = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.desc1 = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.sl2 = ((System.Windows.Controls.Slider)(target));
     
     #line 29 "..\..\MainWindow.xaml"
     this.sl2.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.sl2_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 14:
     this.l2 = ((System.Windows.Controls.Label)(target));
     return;
     case 15:
     this.desc2 = ((System.Windows.Controls.Label)(target));
     return;
     case 16:
     this.accept = ((System.Windows.Controls.Button)(target));
     
     #line 32 "..\..\MainWindow.xaml"
     this.accept.Click += new System.Windows.RoutedEventHandler(this.accept_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.sl3 = ((System.Windows.Controls.Slider)(target));
     
     #line 33 "..\..\MainWindow.xaml"
     this.sl3.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.sl3_ValueChanged);
     
     #line default
     #line hidden
     return;
     case 18:
     this.l3 = ((System.Windows.Controls.Label)(target));
     return;
     case 19:
     this.desc3 = ((System.Windows.Controls.Label)(target));
     return;
     case 20:
     this.lv = ((System.Windows.Controls.ListView)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Bets = ((WPFFirst.MainWindow)(target));
     return;
     case 2:
     this.grrrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     
     #line 13 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 14 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.All_tables);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 15 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.watchcolumn);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 16 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.close);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 19 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_3);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 20 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.newtable);
     
     #line default
     #line hidden
     return;
     case 9:
     
     #line 23 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_1);
     
     #line default
     #line hidden
     return;
     case 10:
     
     #line 24 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.newtabletennis);
     
     #line default
     #line hidden
     return;
     case 11:
     
     #line 26 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.delete);
     
     #line default
     #line hidden
     return;
     case 12:
     this.result = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.maxsr = ((System.Windows.Controls.TextBox)(target));
     return;
     case 14:
     this.tec = ((System.Windows.Controls.TextBox)(target));
     return;
     case 15:
     this.maxssr = ((System.Windows.Controls.TextBox)(target));
     return;
     case 16:
     this.maxsmax = ((System.Windows.Controls.TextBox)(target));
     return;
     case 17:
     this.maxnp = ((System.Windows.Controls.TextBox)(target));
     return;
     case 18:
     
     #line 41 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     
     #line 42 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
     
     #line default
     #line hidden
     return;
     case 20:
     this.col1 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 21:
     this.col2 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 22:
     this.viewcol = ((System.Windows.Controls.Button)(target));
     
     #line 45 "..\..\MainWindow.xaml"
     this.viewcol.Click += new System.Windows.RoutedEventHandler(this.viewcol_Click);
     
     #line default
     #line hidden
     return;
     case 23:
     this.viewcol1 = ((System.Windows.Controls.Button)(target));
     
     #line 46 "..\..\MainWindow.xaml"
     this.viewcol1.Click += new System.Windows.RoutedEventHandler(this.viewcol1_Click);
     
     #line default
     #line hidden
     return;
     case 24:
     this.ocol1 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 25:
     this.Maxsr = ((System.Windows.Controls.TextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }