void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Картофель = ((WpfApplication6.ОкноКартофеля)(target));
                return;

            case 2:
                this.КартФириБПорция = ((System.Windows.Controls.Button)(target));

            #line 6 "..\..\..\Window2.xaml"
                this.КартФириБПорция.Click += new System.Windows.RoutedEventHandler(this.F1);

            #line default
            #line hidden
                return;

            case 3:
                this.КартФриСредПорц = ((System.Windows.Controls.Button)(target));

            #line 7 "..\..\..\Window2.xaml"
                this.КартФриСредПорц.Click += new System.Windows.RoutedEventHandler(this.F3);

            #line default
            #line hidden
                return;

            case 4:
                this.КартФриМалПорция = ((System.Windows.Controls.Button)(target));

            #line 9 "..\..\..\Window2.xaml"
                this.КартФриМалПорция.Click += new System.Windows.RoutedEventHandler(this.F2);

            #line default
            #line hidden
                return;

            case 5:
                this.КартПоДерев = ((System.Windows.Controls.Button)(target));

            #line 10 "..\..\..\Window2.xaml"
                this.КартПоДерев.Click += new System.Windows.RoutedEventHandler(this.F4);

            #line default
            #line hidden
                return;

            case 6:
                this.button5 = ((System.Windows.Controls.Button)(target));

            #line 11 "..\..\..\Window2.xaml"
                this.button5.Click += new System.Windows.RoutedEventHandler(this.button5_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.button6 = ((System.Windows.Controls.Button)(target));

            #line 12 "..\..\..\Window2.xaml"
                this.button6.Click += new System.Windows.RoutedEventHandler(this.button6_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.ОкноВывода = ((System.Windows.Controls.ListBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Картофель = ((WpfApplication6.ОкноКартофеля)(target));
     return;
     case 2:
     this.КартФириБПорция = ((System.Windows.Controls.Button)(target));
     
     #line 6 "..\..\..\Window2.xaml"
     this.КартФириБПорция.Click += new System.Windows.RoutedEventHandler(this.F1);
     
     #line default
     #line hidden
     return;
     case 3:
     this.КартФриСредПорц = ((System.Windows.Controls.Button)(target));
     
     #line 7 "..\..\..\Window2.xaml"
     this.КартФриСредПорц.Click += new System.Windows.RoutedEventHandler(this.F3);
     
     #line default
     #line hidden
     return;
     case 4:
     this.КартФриМалПорция = ((System.Windows.Controls.Button)(target));
     
     #line 9 "..\..\..\Window2.xaml"
     this.КартФриМалПорция.Click += new System.Windows.RoutedEventHandler(this.F2);
     
     #line default
     #line hidden
     return;
     case 5:
     this.КартПоДерев = ((System.Windows.Controls.Button)(target));
     
     #line 10 "..\..\..\Window2.xaml"
     this.КартПоДерев.Click += new System.Windows.RoutedEventHandler(this.F4);
     
     #line default
     #line hidden
     return;
     case 6:
     this.button5 = ((System.Windows.Controls.Button)(target));
     
     #line 11 "..\..\..\Window2.xaml"
     this.button5.Click += new System.Windows.RoutedEventHandler(this.button5_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.button6 = ((System.Windows.Controls.Button)(target));
     
     #line 12 "..\..\..\Window2.xaml"
     this.button6.Click += new System.Windows.RoutedEventHandler(this.button6_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.ОкноВывода = ((System.Windows.Controls.ListBox)(target));
     return;
     }
     this._contentLoaded = true;
 }