void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 2:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.txtSalesDirection = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.label5 = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.label6 = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.txtWeight = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.txtCompany = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.label7 = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.label8_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.label8_Copy1 = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.label8_Copy2 = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.txtCheckPerson = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.txtQualityCertification = ((System.Windows.Controls.TextBox)(target));
                return;

            case 15:
                this.dtpickerCheck = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 16:
                this.dtpickerSales = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 17:
                this.label8 = ((System.Windows.Controls.Label)(target));
                return;

            case 18:
                this.comboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 19:
                this.cboxProduct = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 20:
                this.close_btn = ((Trace.ImageButton)(target));
                return;

            case 21:
                this.textBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.txtRemark = ((System.Windows.Controls.TextBox)(target));
                return;

            case 23:
                this.btnClose = ((System.Windows.Controls.Button)(target));

            #line 532 "..\..\..\..\..\..\Views\main\production\FactoryRecordModify.xaml"
                this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.button = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 12 "..\..\..\..\..\Views\main\MainWindow.xaml"
                ((Trace.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 12 "..\..\..\..\..\Views\main\MainWindow.xaml"
                ((Trace.MainWindow)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseDoubleClick);

            #line default
            #line hidden

            #line 12 "..\..\..\..\..\Views\main\MainWindow.xaml"
                ((Trace.MainWindow)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.MainWindow_MouseLefButtonDown);

            #line default
            #line hidden
                return;

            case 2:
                this.label11 = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.labe2 = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 460 "..\..\..\..\..\Views\main\MainWindow.xaml"
                this.btnNarrow.Click += new System.Windows.RoutedEventHandler(this.btnNarrow_Click);

            #line default
            #line hidden
                return;

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

            #line 465 "..\..\..\..\..\Views\main\MainWindow.xaml"
                this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.label12_Copy3 = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.button_Copy = ((System.Windows.Controls.Button)(target));

            #line 472 "..\..\..\..\..\Views\main\MainWindow.xaml"
                this.button_Copy.Click += new System.Windows.RoutedEventHandler(this.button_Copy_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.label12_Copy2 = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.button_Copy1 = ((System.Windows.Controls.Button)(target));

            #line 482 "..\..\..\..\..\Views\main\MainWindow.xaml"
                this.button_Copy1.Click += new System.Windows.RoutedEventHandler(this.button_Copy1_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.btnProduction = ((System.Windows.Controls.Button)(target));

            #line 488 "..\..\..\..\..\Views\main\MainWindow.xaml"
                this.btnProduction.Click += new System.Windows.RoutedEventHandler(this.btnProduction_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.label12_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.btnSet = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 505 "..\..\..\..\..\Views\main\MainWindow.xaml"
                this.btnSet.Click += new System.Windows.RoutedEventHandler(this.btnSet_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.passwordBox = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 16:
                this.imgbtnCOFCO1 = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 17:
                this.FB_Power_Popup2 = ((System.Windows.Controls.Primitives.Popup)(target));
                return;

            case 18:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.label12_Copy5 = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.button_Copy4 = ((System.Windows.Controls.Button)(target));

            #line 725 "..\..\..\..\..\Views\main\MainWindow.xaml"
                this.button_Copy4.Click += new System.Windows.RoutedEventHandler(this.button_Copy2_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.label12_Copy6 = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.button_Copy5 = ((System.Windows.Controls.Button)(target));

            #line 731 "..\..\..\..\..\Views\main\MainWindow.xaml"
                this.button_Copy5.Click += new System.Windows.RoutedEventHandler(this.button_Copy2_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.label12_Copy7 = ((System.Windows.Controls.Label)(target));
                return;

            case 24:
                this.button_Copy6 = ((System.Windows.Controls.Button)(target));

            #line 737 "..\..\..\..\..\Views\main\MainWindow.xaml"
                this.button_Copy6.Click += new System.Windows.RoutedEventHandler(this.button_Copy2_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.label12_Copy8 = ((System.Windows.Controls.Label)(target));
                return;

            case 26:
                this.button_Copy7 = ((System.Windows.Controls.Button)(target));

            #line 743 "..\..\..\..\..\Views\main\MainWindow.xaml"
                this.button_Copy7.Click += new System.Windows.RoutedEventHandler(this.button_Copy2_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.imageButton = ((Trace.ImageButton)(target));
                return;

            case 28:
                this.label12_Copy1 = ((System.Windows.Controls.Label)(target));
                return;

            case 29:
                this.button_Copy2 = ((System.Windows.Controls.Button)(target));

            #line 750 "..\..\..\..\..\Views\main\MainWindow.xaml"
                this.button_Copy2.Click += new System.Windows.RoutedEventHandler(this.button_Copy_Click);

            #line default
            #line hidden
                return;

            case 30:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }