Esempio n. 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.NewOrderWindow = ((Library_Managment.Windows.NewOrder)(target));
                return;

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

            case 3:
                this.btnSelectBooks = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.NewOrderWindow = ((Library_Managment.Windows.NewOrder)(target));
                return;

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

            #line 16 "..\..\..\Windows\NewOrderWindow.xaml"
                this.btnSelectCustomer.Click += new System.Windows.RoutedEventHandler(this.BtnSelectCustomer_Click);

            #line default
            #line hidden
                return;

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

            #line 17 "..\..\..\Windows\NewOrderWindow.xaml"
                this.btnSelectBooks.Click += new System.Windows.RoutedEventHandler(this.BtnSelectBooks_Click);

            #line default
            #line hidden
                return;

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

            #line 18 "..\..\..\Windows\NewOrderWindow.xaml"
                this.btnSaveOrder.Click += new System.Windows.RoutedEventHandler(this.BtnSaveOrder_Click);

            #line default
            #line hidden
                return;

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

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

            case 7:
                this.lblBookCountsSum = ((System.Windows.Controls.Label)(target));
                return;

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

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

            #line 23 "..\..\..\Windows\NewOrderWindow.xaml"
                this.btnClose.Click += new System.Windows.RoutedEventHandler(this.BtnClose_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.tbCustomerName = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 12:
                this.dgCustomerSelectedBook = ((System.Windows.Controls.DataGrid)(target));
                return;

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