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

            #line 11 "..\..\..\..\View\sales\uc_quotations.xaml"
                ((POS.View.sales.uc_quotations)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 11 "..\..\..\..\View\sales\uc_quotations.xaml"
                ((POS.View.sales.uc_quotations)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

            case 2:
                this.grid_main = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 29 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.btn_items.Click += new System.Windows.RoutedEventHandler(this.Btn_items_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.path_itemsIcon = ((System.Windows.Shapes.Path)(target));
                return;

            case 5:
                this.txt_items = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 78 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.btn_newDraft.Click += new System.Windows.RoutedEventHandler(this.Btn_newDraft_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.path_newDraft = ((System.Windows.Shapes.Path)(target));
                return;

            case 8:
                this.txt_newDraft = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.md_draft = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

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

            #line 92 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.btn_quotations.Click += new System.Windows.RoutedEventHandler(this.Btn_draft_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.txt_quotations = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.md_qout = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

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

            #line 131 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.btn_approved.Click += new System.Windows.RoutedEventHandler(this.Btn_quotations_Click);

            #line default
            #line hidden
                return;

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

            case 15:
                this.md_docImage = ((MaterialDesignThemes.Wpf.Badged)(target));
                return;

            case 16:
                this.btn_invoiceImages = ((System.Windows.Controls.Button)(target));

            #line 182 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.btn_invoiceImages.Click += new System.Windows.RoutedEventHandler(this.Btn_invoiceImage_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.txt_invoiceImages = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 18:
                this.btn_preview = ((System.Windows.Controls.Button)(target));

            #line 201 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.btn_preview.Click += new System.Windows.RoutedEventHandler(this.Btn_preview_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.txt_preview = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 237 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.btn_pdf.Click += new System.Windows.RoutedEventHandler(this.Btn_pdf_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.txt_pdf = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 263 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.btn_printInvoice.Click += new System.Windows.RoutedEventHandler(this.Btn_printInvoice_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.txt_printInvoice = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 25:
                this.tb_barcode = ((System.Windows.Controls.TextBox)(target));

            #line 299 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.tb_barcode.KeyDown += new System.Windows.Input.KeyEventHandler(this.Tb_barcode_KeyDown);

            #line default
            #line hidden
                return;

            case 26:
                this.exp_customer = ((System.Windows.Controls.Expander)(target));

            #line 312 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.exp_customer.Expanded += new System.Windows.RoutedEventHandler(this.Expander_Expanded);

            #line default
            #line hidden
                return;

            case 27:
                this.txt_customer = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 28:
                this.grid_vendor = ((System.Windows.Controls.Grid)(target));
                return;

            case 29:
                this.cb_customer = ((System.Windows.Controls.ComboBox)(target));

            #line 340 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.cb_customer.KeyUp += new System.Windows.Input.KeyEventHandler(this.Cb_customer_KeyUp);

            #line default
            #line hidden

            #line 341 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.cb_customer.LostFocus += new System.Windows.RoutedEventHandler(this.input_LostFocus);

            #line default
            #line hidden

            #line 341 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.cb_customer.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_customer_SelectionChanged);

            #line default
            #line hidden
                return;

            case 30:
                this.p_errorCustomer = ((System.Windows.Shapes.Path)(target));
                return;

            case 31:
                this.tt_errorCustomer = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 32:
                this.btn_updateCustomer = ((System.Windows.Controls.Button)(target));

            #line 361 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.btn_updateCustomer.Click += new System.Windows.RoutedEventHandler(this.Btn_updateCustomer_Click);

            #line default
            #line hidden
                return;

            case 33:
                this.btn_clearCustomer = ((System.Windows.Controls.Button)(target));

            #line 368 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.btn_clearCustomer.Click += new System.Windows.RoutedEventHandler(this.Btn_clearCustomer_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.tb_note = ((System.Windows.Controls.TextBox)(target));

            #line 383 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.tb_note.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tb_textBox_TextChanged);

            #line default
            #line hidden
                return;

            case 35:
                this.exp_discount = ((System.Windows.Controls.Expander)(target));

            #line 400 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.exp_discount.Expanded += new System.Windows.RoutedEventHandler(this.Expander_Expanded);

            #line default
            #line hidden
                return;

            case 36:
                this.txt_discount = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 37:
                this.tb_discount = ((System.Windows.Controls.TextBox)(target));

            #line 417 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.tb_discount.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.DecimalValidationTextBox);

            #line default
            #line hidden

            #line 417 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.tb_discount.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.space_PreviewKeyDown);

            #line default
            #line hidden

            #line 419 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.tb_discount.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tb_discount_TextChanged);

            #line default
            #line hidden
                return;

            case 38:
                this.cb_typeDiscount = ((System.Windows.Controls.ComboBox)(target));

            #line 445 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.cb_typeDiscount.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_typeDiscount_SelectionChanged);

            #line default
            #line hidden
                return;

            case 39:
                this.exp_coupon = ((System.Windows.Controls.Expander)(target));

            #line 461 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.exp_coupon.Expanded += new System.Windows.RoutedEventHandler(this.Expander_Expanded);

            #line default
            #line hidden
                return;

            case 40:
                this.txt_coupon = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 41:
                this.cb_coupon = ((DotNetKit.Windows.Controls.AutoCompleteComboBox)(target));

            #line 492 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.cb_coupon.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_coupon_SelectionChanged);

            #line default
            #line hidden
                return;

            case 42:
                this.btn_clearCoupon = ((System.Windows.Controls.Button)(target));

            #line 519 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.btn_clearCoupon.Click += new System.Windows.RoutedEventHandler(this.Btn_clearCoupon_Click);

            #line default
            #line hidden
                return;

            case 43:
                this.lst_coupons = ((System.Windows.Controls.ListView)(target));
                return;

            case 44:
                this.sp_Approved = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 45:
                this.txt_isApproved = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 46:
                this.tgl_ActiveOffer = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 553 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.tgl_ActiveOffer.Checked += new System.Windows.RoutedEventHandler(this.Tgl_ActiveOffer_Checked);

            #line default
            #line hidden

            #line 554 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.tgl_ActiveOffer.Unchecked += new System.Windows.RoutedEventHandler(this.Tgl_ActiveOffer_Unchecked);

            #line default
            #line hidden
                return;

            case 47:
                this.btn_save = ((System.Windows.Controls.Button)(target));

            #line 565 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.btn_save.Click += new System.Windows.RoutedEventHandler(this.Btn_save_Click);

            #line default
            #line hidden
                return;

            case 48:
                this.txt_payInvoice = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 49:
                this.txt_invNumber = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 50:
                this.btn_deleteInvoice = ((System.Windows.Controls.Button)(target));

            #line 593 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.btn_deleteInvoice.Click += new System.Windows.RoutedEventHandler(this.Btn_deleteInvoice_Click);

            #line default
            #line hidden
                return;

            case 51:
                this.dg_billDetails = ((System.Windows.Controls.DataGrid)(target));

            #line 606 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.dg_billDetails.CellEditEnding += new System.EventHandler <System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.Dg_billDetails_CellEditEnding);

            #line default
            #line hidden

            #line 607 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.dg_billDetails.BeginningEdit += new System.EventHandler <System.Windows.Controls.DataGridBeginningEditEventArgs>(this.Dg_billDetails_BeginningEdit);

            #line default
            #line hidden

            #line 608 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.dg_billDetails.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Dg_billDetails_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 54:
                this.btn_previous = ((System.Windows.Controls.Button)(target));

            #line 655 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.btn_previous.Click += new System.Windows.RoutedEventHandler(this.Btn_previous_Click);

            #line default
            #line hidden
                return;

            case 55:
                this.path_previous = ((System.Windows.Shapes.Path)(target));
                return;

            case 56:
                this.tt_error_previous = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 57:
                this.btn_next = ((System.Windows.Controls.Button)(target));

            #line 667 "..\..\..\..\View\sales\uc_quotations.xaml"
                this.btn_next.Click += new System.Windows.RoutedEventHandler(this.Btn_next_Click);

            #line default
            #line hidden
                return;

            case 58:
                this.path_next = ((System.Windows.Shapes.Path)(target));
                return;

            case 59:
                this.tt_error_next = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 60:
                this.sp_tax = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 61:
                this.txt_tax = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 62:
                this.tb_taxValue = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 63:
                this.txt_sum = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 64:
                this.tb_sum = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 65:
                this.tb_moneyIcon = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 67:
                this.txt_totalDescount = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 68:
                this.tb_totalDescount = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 69:
                this.tb_moneyIconDis = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 71:
                this.txt_total = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 72:
                this.tb_total = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 73:
                this.tb_moneyIconTotal = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\..\View\sales\uc_payment.xaml"
                ((AdministratorApp.View.sales.uc_payment)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 10 "..\..\..\..\View\sales\uc_payment.xaml"
                ((AdministratorApp.View.sales.uc_payment)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

            case 2:
                this.grid_main = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 54 "..\..\..\..\View\sales\uc_payment.xaml"
                this.tb_search.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tb_search_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 57 "..\..\..\..\View\sales\uc_payment.xaml"
                this.btn_refresh.Click += new System.Windows.RoutedEventHandler(this.Btn_refresh_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.tt_refresh = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            case 7:
                this.dg_payments = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 8:
                this.btn_pdf = ((System.Windows.Controls.Button)(target));

            #line 193 "..\..\..\..\View\sales\uc_payment.xaml"
                this.btn_pdf.Click += new System.Windows.RoutedEventHandler(this.Btn_pdf_Click);

            #line default
            #line hidden
                return;

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

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

            #line 207 "..\..\..\..\View\sales\uc_payment.xaml"
                this.btn_preview.Click += new System.Windows.RoutedEventHandler(this.Btn_preview_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.tt_preview = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 228 "..\..\..\..\View\sales\uc_payment.xaml"
                this.btn_print.Click += new System.Windows.RoutedEventHandler(this.Btn_print_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.tt_print = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 14:
                this.btn_exportToExcel = ((System.Windows.Controls.Button)(target));

            #line 242 "..\..\..\..\View\sales\uc_payment.xaml"
                this.btn_exportToExcel.Click += new System.Windows.RoutedEventHandler(this.Btn_exportToExcel_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.tt_excel = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 16:
                this.txt_count = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 17:
                this.tt_count = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 18:
                this.txt_title = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 19:
                this.txt_baseInformation = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 291 "..\..\..\..\View\sales\uc_payment.xaml"
                this.btn_clear.Click += new System.Windows.RoutedEventHandler(this.Btn_clear_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.tt_clear = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 22:
                this.cb_customer = ((DotNetKit.Windows.Controls.AutoCompleteComboBox)(target));

            #line 328 "..\..\..\..\View\sales\uc_payment.xaml"
                this.cb_customer.LostFocus += new System.Windows.RoutedEventHandler(this.validateEmpty_LostFocus);

            #line default
            #line hidden

            #line 329 "..\..\..\..\View\sales\uc_payment.xaml"
                this.cb_customer.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_customer_SelectionChanged);

            #line default
            #line hidden
                return;

            case 23:
                this.p_error_customer = ((System.Windows.Shapes.Path)(target));
                return;

            case 24:
                this.cb_packageNumber = ((System.Windows.Controls.ComboBox)(target));

            #line 352 "..\..\..\..\View\sales\uc_payment.xaml"
                this.cb_packageNumber.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_packageNumber_SelectionChanged);

            #line default
            #line hidden

            #line 353 "..\..\..\..\View\sales\uc_payment.xaml"
                this.cb_packageNumber.LostFocus += new System.Windows.RoutedEventHandler(this.validateEmpty_LostFocus);

            #line default
            #line hidden
                return;

            case 25:
                this.p_error_packageNumber = ((System.Windows.Shapes.Path)(target));
                return;

            case 26:
                this.tb_discount = ((System.Windows.Controls.TextBox)(target));

            #line 369 "..\..\..\..\View\sales\uc_payment.xaml"
                this.tb_discount.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.Number_PreviewTextInput);

            #line default
            #line hidden

            #line 370 "..\..\..\..\View\sales\uc_payment.xaml"
                this.tb_discount.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Spaces_PreviewKeyDown);

            #line default
            #line hidden

            #line 371 "..\..\..\..\View\sales\uc_payment.xaml"
                this.tb_discount.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Tb_discount_TextChanged);

            #line default
            #line hidden
                return;

            case 27:
                this.txt_packageDetails = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 28:
                this.grid_packageDetails = ((System.Windows.Controls.Grid)(target));
                return;

            case 29:
                this.txt_packageNumberTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 30:
                this.btn_upgrade = ((System.Windows.Controls.Button)(target));

            #line 403 "..\..\..\..\View\sales\uc_payment.xaml"
                this.btn_upgrade.Click += new System.Windows.RoutedEventHandler(this.Btn_upgrade_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.txt_packageNameTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 32:
                this.txt_packageName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 33:
                this.txt_periodTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 34:
                this.txt_period = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 35:
                this.txt_expirDateTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 36:
                this.txt_expirDate = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 37:
                this.txt_payDetails = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 38:
                this.grid_payDetails = ((System.Windows.Controls.Grid)(target));
                return;

            case 39:
                this.txt_priceTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 40:
                this.txt_price = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 41:
                this.txt_moneyCode = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 42:
                this.txt_discountTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 43:
                this.txt_discount = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 44:
                this.txt_moneyCode1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 45:
                this.txt_totalTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 46:
                this.txt_total = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 47:
                this.txt_moneyCode3 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 48:
                this.btn_pay = ((System.Windows.Controls.Button)(target));

            #line 518 "..\..\..\..\View\sales\uc_payment.xaml"
                this.btn_pay.Click += new System.Windows.RoutedEventHandler(this.Btn_pay_Click);

            #line default
            #line hidden
                return;

            case 49:
                this.btn_email_test = ((System.Windows.Controls.Button)(target));

            #line 523 "..\..\..\..\View\sales\uc_payment.xaml"
                this.btn_email_test.Click += new System.Windows.RoutedEventHandler(this.Btn_email_Click);

            #line default
            #line hidden
                return;

            case 50:
                this.btn_pdf_test = ((System.Windows.Controls.Button)(target));

            #line 528 "..\..\..\..\View\sales\uc_payment.xaml"
                this.btn_pdf_test.Click += new System.Windows.RoutedEventHandler(this.Btn_pdfPaytest_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 13 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                ((AdministratorApp.View.reports.uc_paymentsReport)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 13 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                ((AdministratorApp.View.reports.uc_paymentsReport)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

            case 2:
                this.grid_main = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.grid_tabControl = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.txt_tabTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 6:
                this.grid_father = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.grid_invoice = ((System.Windows.Controls.Grid)(target));
                return;

            case 8:
                this.dpnl_country = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 9:
                this.cb_countries = ((System.Windows.Controls.ComboBox)(target));

            #line 81 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.cb_countries.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_countries_SelectionChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.chk_allCountries = ((System.Windows.Controls.CheckBox)(target));

            #line 84 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.chk_allCountries.Checked += new System.Windows.RoutedEventHandler(this.Chk_Checked);

            #line default
            #line hidden

            #line 84 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.chk_allCountries.Unchecked += new System.Windows.RoutedEventHandler(this.Chk_Unchecked);

            #line default
            #line hidden
                return;

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

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

            case 13:
                this.dpnl_agent = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 14:
                this.cb_agents = ((System.Windows.Controls.ComboBox)(target));

            #line 103 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.cb_agents.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_agents_SelectionChanged);

            #line default
            #line hidden
                return;

            case 15:
                this.chk_allAgents = ((System.Windows.Controls.CheckBox)(target));

            #line 106 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.chk_allAgents.Checked += new System.Windows.RoutedEventHandler(this.Chk_Checked);

            #line default
            #line hidden

            #line 106 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.chk_allAgents.Unchecked += new System.Windows.RoutedEventHandler(this.Chk_Unchecked);

            #line default
            #line hidden
                return;

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

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

            case 18:
                this.dpnl_customer = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 19:
                this.cb_customers = ((DotNetKit.Windows.Controls.AutoCompleteComboBox)(target));

            #line 146 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.cb_customers.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_customers_SelectionChanged);

            #line default
            #line hidden
                return;

            case 20:
                this.chk_allCustomers = ((System.Windows.Controls.CheckBox)(target));

            #line 155 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.chk_allCustomers.Checked += new System.Windows.RoutedEventHandler(this.Chk_Checked);

            #line default
            #line hidden

            #line 155 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.chk_allCustomers.Unchecked += new System.Windows.RoutedEventHandler(this.Chk_Unchecked);

            #line default
            #line hidden
                return;

            case 21:
                this.dpnl_package = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 22:
                this.cb_packages = ((System.Windows.Controls.ComboBox)(target));

            #line 168 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.cb_packages.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_packages_SelectionChanged);

            #line default
            #line hidden
                return;

            case 23:
                this.chk_allPackages = ((System.Windows.Controls.CheckBox)(target));

            #line 171 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.chk_allPackages.Checked += new System.Windows.RoutedEventHandler(this.Chk_Checked);

            #line default
            #line hidden

            #line 171 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.chk_allPackages.Unchecked += new System.Windows.RoutedEventHandler(this.Chk_Unchecked);

            #line default
            #line hidden
                return;

            case 24:
                this.dp_endDate = ((System.Windows.Controls.DatePicker)(target));

            #line 187 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.dp_endDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.Dp_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 25:
                this.dp_startDate = ((System.Windows.Controls.DatePicker)(target));

            #line 201 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.dp_startDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.Dp_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 26:
                this.txt_search = ((System.Windows.Controls.TextBox)(target));

            #line 226 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.txt_search.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Txt_search_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 241 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.btn_refresh.Click += new System.Windows.RoutedEventHandler(this.Btn_refresh_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.tt_refresh = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 29:
                this.dg_book = ((System.Windows.Controls.DataGrid)(target));

            #line 281 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.dg_book.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.Dg_book_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 30:
                this.col_agent = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 31:
                this.col_customer = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 32:
                this.col_price = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 33:
                this.btn_pdf = ((System.Windows.Controls.Button)(target));

            #line 401 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.btn_pdf.Click += new System.Windows.RoutedEventHandler(this.Btn_pdf_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.tt_report = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 35:
                this.btn_print = ((System.Windows.Controls.Button)(target));

            #line 413 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.btn_print.Click += new System.Windows.RoutedEventHandler(this.Btn_print_Click);

            #line default
            #line hidden
                return;

            case 36:
                this.tt_print = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 37:
                this.btn_exportToExcel = ((System.Windows.Controls.Button)(target));

            #line 426 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.btn_exportToExcel.Click += new System.Windows.RoutedEventHandler(this.Btn_exportToExcel_Click);

            #line default
            #line hidden
                return;

            case 38:
                this.tt_excel = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 39:
                this.btn_preview = ((System.Windows.Controls.Button)(target));

            #line 442 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.btn_preview.Click += new System.Windows.RoutedEventHandler(this.Btn_preview_Click);

            #line default
            #line hidden
                return;

            case 40:
                this.tt_preview = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 41:
                this.btn_settings = ((System.Windows.Controls.Button)(target));
                return;

            case 42:
                this.txt_count = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 43:
                this.tt_count = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 44:
                this.cartesianChart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 45:
                this.axcolumn = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 46:
                this.grid1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 47:
                this.chart1 = ((LiveCharts.Wpf.PieChart)(target));
                return;

            case 48:
                this.rowChart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 49:
                this.MyAxis = ((LiveCharts.Wpf.Axis)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\..\View\sales\uc_sale.xaml"
                ((AdministratorApp.View.sales.uc_sale)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 10 "..\..\..\..\View\sales\uc_sale.xaml"
                ((AdministratorApp.View.sales.uc_sale)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

            case 2:
                this.grid_main = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 4:
                this.txt_packageCodeTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.txt_packageCode = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            case 8:
                this.txt_priceTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 10:
                this.txt_statusTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.txt_status = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.txt_dateTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

            case 15:
                this.txt_programTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:
                this.txt_program = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 17:
                this.txt_versionTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 18:
                this.txt_version = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 19:
                this.txt_activationDetails = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 20:
                this.txt_serialsTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 21:
                this.btn_serials = ((System.Windows.Controls.Button)(target));

            #line 157 "..\..\..\..\View\sales\uc_sale.xaml"
                this.btn_serials.Click += new System.Windows.RoutedEventHandler(this.Btn_serials_Click);

            #line default
            #line hidden
                return;

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

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

            case 24:
                this.txt_offlineActivation = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 198 "..\..\..\..\View\sales\uc_sale.xaml"
                this.btn_download.Click += new System.Windows.RoutedEventHandler(this.Btn_download_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.txt_packageLimits = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 27:
                this.txt_branchCountTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 29:
                this.txt_storeCountNameTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 30:
                this.txt_storeCountName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 31:
                this.txt_userCountTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 32:
                this.txt_userCountCode = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 33:
                this.txt_posCountNameTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 34:
                this.txt_posCountName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 35:
                this.txt_customerCountTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 36:
                this.txt_customerCountCode = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 37:
                this.txt_vendorCountNameTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 38:
                this.txt_vendorCountName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 39:
                this.txt_salesInvCountTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 40:
                this.txt_salesInvCountCode = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 41:
                this.txt_itemCountNameTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 42:
                this.txt_itemCountName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 43:
                this.btn_pdf = ((System.Windows.Controls.Button)(target));

            #line 319 "..\..\..\..\View\sales\uc_sale.xaml"
                this.btn_pdf.Click += new System.Windows.RoutedEventHandler(this.Btn_pdf_Click);

            #line default
            #line hidden
                return;

            case 44:
                this.tt_report = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 45:
                this.btn_preview = ((System.Windows.Controls.Button)(target));

            #line 331 "..\..\..\..\View\sales\uc_sale.xaml"
                this.btn_preview.Click += new System.Windows.RoutedEventHandler(this.Btn_preview_Click);

            #line default
            #line hidden
                return;

            case 46:
                this.tt_preview = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 47:
                this.btn_print = ((System.Windows.Controls.Button)(target));

            #line 352 "..\..\..\..\View\sales\uc_sale.xaml"
                this.btn_print.Click += new System.Windows.RoutedEventHandler(this.Btn_print_Click);

            #line default
            #line hidden
                return;

            case 48:
                this.tt_print = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 49:
                this.btn_exportToExcel = ((System.Windows.Controls.Button)(target));

            #line 366 "..\..\..\..\View\sales\uc_sale.xaml"
                this.btn_exportToExcel.Click += new System.Windows.RoutedEventHandler(this.Btn_exportToExcel_Click);

            #line default
            #line hidden
                return;

            case 50:
                this.tt_excel = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 51:
                this.txt_title = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 52:
                this.txt_saleDetails = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 53:
                this.btn_clear = ((System.Windows.Controls.Button)(target));

            #line 415 "..\..\..\..\View\sales\uc_sale.xaml"
                this.btn_clear.Click += new System.Windows.RoutedEventHandler(this.Btn_clear_Click);

            #line default
            #line hidden
                return;

            case 54:
                this.tt_clear = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 55:
                this.cb_customer = ((DotNetKit.Windows.Controls.AutoCompleteComboBox)(target));

            #line 458 "..\..\..\..\View\sales\uc_sale.xaml"
                this.cb_customer.LostFocus += new System.Windows.RoutedEventHandler(this.validateEmpty_LostFocus);

            #line default
            #line hidden

            #line 459 "..\..\..\..\View\sales\uc_sale.xaml"
                this.cb_customer.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_customer_SelectionChanged);

            #line default
            #line hidden
                return;

            case 56:
                this.p_error_customer = ((System.Windows.Shapes.Path)(target));
                return;

            case 57:
                this.btn_addCustomer = ((System.Windows.Controls.Button)(target));

            #line 473 "..\..\..\..\View\sales\uc_sale.xaml"
                this.btn_addCustomer.Click += new System.Windows.RoutedEventHandler(this.Btn_addCustomer_Click);

            #line default
            #line hidden
                return;

            case 58:
                this.btn_updateCustomer = ((System.Windows.Controls.Button)(target));

            #line 488 "..\..\..\..\View\sales\uc_sale.xaml"
                this.btn_updateCustomer.Click += new System.Windows.RoutedEventHandler(this.Btn_updateCustomer_Click);

            #line default
            #line hidden
                return;

            case 59:
                this.btn_clearCustomer = ((System.Windows.Controls.Button)(target));

            #line 496 "..\..\..\..\View\sales\uc_sale.xaml"
                this.btn_clearCustomer.Click += new System.Windows.RoutedEventHandler(this.Btn_clearCustomer_Click);

            #line default
            #line hidden
                return;

            case 60:
                this.cb_isOnline = ((System.Windows.Controls.ComboBox)(target));

            #line 512 "..\..\..\..\View\sales\uc_sale.xaml"
                this.cb_isOnline.LostFocus += new System.Windows.RoutedEventHandler(this.validateEmpty_LostFocus);

            #line default
            #line hidden

            #line 513 "..\..\..\..\View\sales\uc_sale.xaml"
                this.cb_isOnline.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_isOnline_SelectionChanged);

            #line default
            #line hidden
                return;

            case 61:
                this.p_error_isOnline = ((System.Windows.Shapes.Path)(target));
                return;

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

            case 63:
                this.cb_agent = ((System.Windows.Controls.TextBox)(target));
                return;

            case 64:
                this.p_error_agent = ((System.Windows.Shapes.Path)(target));
                return;

            case 65:
                this.cb_package = ((System.Windows.Controls.ComboBox)(target));

            #line 545 "..\..\..\..\View\sales\uc_sale.xaml"
                this.cb_package.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_package_SelectionChanged);

            #line default
            #line hidden

            #line 546 "..\..\..\..\View\sales\uc_sale.xaml"
                this.cb_package.LostFocus += new System.Windows.RoutedEventHandler(this.validateEmpty_LostFocus);

            #line default
            #line hidden
                return;

            case 66:
                this.p_error_package = ((System.Windows.Shapes.Path)(target));
                return;

            case 67:
                this.cb_period = ((System.Windows.Controls.ComboBox)(target));

            #line 562 "..\..\..\..\View\sales\uc_sale.xaml"
                this.cb_period.LostFocus += new System.Windows.RoutedEventHandler(this.validateEmpty_LostFocus);

            #line default
            #line hidden

            #line 562 "..\..\..\..\View\sales\uc_sale.xaml"
                this.cb_period.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_period_SelectionChanged);

            #line default
            #line hidden
                return;

            case 68:
                this.p_error_period = ((System.Windows.Shapes.Path)(target));
                return;

            case 69:
                this.txt_active = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 70:
                this.tgl_isActive = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 71:
                this.txt_device = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 72:
                this.tgl_device = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 73:
                this.btn_add = ((System.Windows.Controls.Button)(target));

            #line 614 "..\..\..\..\View\sales\uc_sale.xaml"
                this.btn_add.Click += new System.Windows.RoutedEventHandler(this.Btn_add_Click);

            #line default
            #line hidden
                return;

            case 74:
                this.btn_upgrade = ((System.Windows.Controls.Button)(target));

            #line 619 "..\..\..\..\View\sales\uc_sale.xaml"
                this.btn_upgrade.Click += new System.Windows.RoutedEventHandler(this.Btn_upgrade_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }