Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\..\..\..\PresentationLayer\Views\SalesBill.xaml"
                ((MedicalApp.Views.SalesBill)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Page_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.txtBillNo = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.dtpBillDate = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            #line 83 "..\..\..\..\..\PresentationLayer\Views\SalesBill.xaml"
                this.txtCutomerName.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtCutomerName_KeyDown);

            #line default
            #line hidden
                return;

            case 5:
                this.txtCutomerAddress = ((System.Windows.Controls.TextBox)(target));

            #line 85 "..\..\..\..\..\PresentationLayer\Views\SalesBill.xaml"
                this.txtCutomerAddress.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtCutomerAddress_KeyDown);

            #line default
            #line hidden
                return;

            case 6:
                this.txtDoctorName = ((System.Windows.Controls.TextBox)(target));

            #line 89 "..\..\..\..\..\PresentationLayer\Views\SalesBill.xaml"
                this.txtDoctorName.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtDoctorName_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 91 "..\..\..\..\..\PresentationLayer\Views\SalesBill.xaml"
                this.txtDoctorAddress.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtDoctorAddress_KeyDown);

            #line default
            #line hidden
                return;

            case 8:
                this.txtProducts = ((MedicalApp.UserControls.AutoCompleteTextBox)(target));
                return;

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

            case 10:
                this.BatchNumberGridView = ((MedicalApp.SortableListView)(target));
                return;

            case 11:
                this.txtPQty = ((System.Windows.Controls.TextBox)(target));

            #line 123 "..\..\..\..\..\PresentationLayer\Views\SalesBill.xaml"
                this.txtPQty.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtPQty_KeyDown);

            #line default
            #line hidden
                return;

            case 12:
                this.Border3 = ((System.Windows.Controls.Border)(target));
                return;

            case 13:
                this.txtTotalQty = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 14:
                this.txtTotalAmount = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.Border1 = ((System.Windows.Controls.Border)(target));
                return;

            case 16:
                this.SalesGridView = ((MedicalApp.SortableListView)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 124 "..\..\..\..\..\PresentationLayer\Views\AccountWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CloseCommand_Executed);

            #line default
            #line hidden
                return;

            case 2:
                this.txtAccountCode = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.txtAccountName = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 5:
                this.txtPlace = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.txtOpeningBalance = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.txtGroup = ((MedicalApp.UserControls.AutoCompleteTextBox)(target));
                return;

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

            case 9:
                this.txtCST = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 11:
                this.txtPacking = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.txtChecking = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            case 15:
                this.txtADath = ((System.Windows.Controls.TextBox)(target));
                return;

            case 16:
                this.txtAccountType = ((UI.Base.ToggleTextBox)(target));
                return;

            case 17:
                this.txtFCC = ((System.Windows.Controls.TextBox)(target));
                return;

            case 18:
                this.txtRANGE = ((System.Windows.Controls.TextBox)(target));
                return;

            case 19:
                this.txtDIVI = ((System.Windows.Controls.TextBox)(target));
                return;

            case 20:
                this.txtCOMMI = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 22:
                this.LeftLine1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 23:
                this.txtSeartchAccountCode = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 25:
                this.btnSave = ((System.Windows.Controls.Button)(target));
                return;

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

            case 27:
                this.btnDelete = ((System.Windows.Controls.Button)(target));
                return;

            case 28:
                this.LeftLine = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 29:
                this.AcountsGridView = ((MedicalApp.SortableListView)(target));
                return;
            }
            this._contentLoaded = true;
        }