示例#1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.newSaleWindow = ((Exam_VSTBuh.MainWindow_Sale_Report.NewSale)(target));
     
     #line 4 "..\..\..\MainWindow Sale Report\NewSale.xaml"
     this.newSaleWindow.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.cBoxSellerList = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 3:
     this.CurDateTBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 4:
     
     #line 11 "..\..\..\MainWindow Sale Report\NewSale.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 12 "..\..\..\MainWindow Sale Report\NewSale.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.TBlFrom = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 7:
     this.TBlTo = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 8:
     this.rButDebt = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 9:
     this.rButInet = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 10:
     this.DGridOrderList = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 11:
     
     #line 19 "..\..\..\MainWindow Sale Report\NewSale.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
     
     #line default
     #line hidden
     return;
     case 12:
     
     #line 20 "..\..\..\MainWindow Sale Report\NewSale.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);
     
     #line default
     #line hidden
     return;
     case 13:
     this.TBlOrderNo = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.newSaleWindow = ((Exam_VSTBuh.MainWindow_Sale_Report.NewSale)(target));

            #line 4 "..\..\..\MainWindow Sale Report\NewSale.xaml"
                this.newSaleWindow.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.cBoxSellerList = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 3:
                this.CurDateTBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:

            #line 11 "..\..\..\MainWindow Sale Report\NewSale.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 5:

            #line 12 "..\..\..\MainWindow Sale Report\NewSale.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.TBlFrom = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.TBlTo = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.rButDebt = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 9:
                this.rButInet = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 10:
                this.DGridOrderList = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 11:

            #line 19 "..\..\..\MainWindow Sale Report\NewSale.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 12:

            #line 20 "..\..\..\MainWindow Sale Report\NewSale.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden
                return;

            case 13:
                this.TBlOrderNo = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }