Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.CloseTabButton = ((System.Windows.Controls.Button)(target));
                return;

            case 3:
                this.ReloadTabButton = ((System.Windows.Controls.Button)(target));

            #line 18 "..\..\..\..\..\Orders\Out\SellingOrdersManagerUC\SellingOrdersManagerUC.xaml"
                this.ReloadTabButton.Click += new System.Windows.RoutedEventHandler(this.ReloadTabButton_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.PrintButton = ((System.Windows.Controls.Button)(target));

            #line 22 "..\..\..\..\..\Orders\Out\SellingOrdersManagerUC\SellingOrdersManagerUC.xaml"
                this.PrintButton.Click += new System.Windows.RoutedEventHandler(this.PrintButton_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.ConfitmButton = ((System.Windows.Controls.Button)(target));
                return;

            case 6:
                this.OrdersList = ((Syncfusion.UI.Xaml.Grid.SfDataGrid)(target));

            #line 32 "..\..\..\..\..\Orders\Out\SellingOrdersManagerUC\SellingOrdersManagerUC.xaml"
                this.OrdersList.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.OrdersList_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 7:
                this.OrderProductsList = ((Syncfusion.UI.Xaml.Grid.SfDataGrid)(target));
                return;

            case 8:
                this.OrderPaymentList = ((Syncfusion.UI.Xaml.Grid.SfDataGrid)(target));
                return;

            case 9:
                this.PrintGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 10:
                this.BackToNormalGridButton_FromPrintGrid = ((System.Windows.Controls.Button)(target));

            #line 83 "..\..\..\..\..\Orders\Out\SellingOrdersManagerUC\SellingOrdersManagerUC.xaml"
                this.BackToNormalGridButton_FromPrintGrid.Click += new System.Windows.RoutedEventHandler(this.BackToNormalGridButton_FromPrintGrid_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.OrdersPrint = ((Stimulsoft.Report.Viewer.StiWpfViewerControl)(target));
                return;

            case 12:
                this.OrderGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 13:
                this.BackToNormalGridButton_FromOrderGrid = ((System.Windows.Controls.Button)(target));

            #line 91 "..\..\..\..\..\Orders\Out\SellingOrdersManagerUC\SellingOrdersManagerUC.xaml"
                this.BackToNormalGridButton_FromOrderGrid.Click += new System.Windows.RoutedEventHandler(this.BackToNormalGridButton_FromOrderGrid_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.OrderUCContant = ((System.Windows.Controls.ContentControl)(target));
                return;
            }
            this._contentLoaded = true;
        }