void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.AppWindow = ((Praca_InzynierskaV2.MainWindow)(target));
         return;
     }
     this._contentLoaded = true;
 }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.AppWindow = ((Praca_InzynierskaV2.MainWindow)(target));
                return;

            case 2:

            #line 122 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Raporty);

            #line default
            #line hidden
                return;

            case 3:

            #line 123 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Zestawienia);

            #line default
            #line hidden
                return;

            case 4:

            #line 124 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Magazyn);

            #line default
            #line hidden
                return;

            case 5:

            #line 125 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Kartoteki);

            #line default
            #line hidden
                return;

            case 6:

            #line 126 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Faktury);

            #line default
            #line hidden
                return;

            case 7:

            #line 127 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Dostawcy);

            #line default
            #line hidden
                return;

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

            #line 130 "..\..\MainWindow.xaml"
                this.InfoButton.Click += new System.Windows.RoutedEventHandler(this.InfoButton_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

            case 16:
                this.txtNr_tel = ((System.Windows.Controls.TextBox)(target));

            #line 233 "..\..\MainWindow.xaml"
                this.txtNr_tel.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TxtNr_tel_PreviewTextInput);

            #line default
            #line hidden
                return;

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

            #line 234 "..\..\MainWindow.xaml"
                this.txtNr_konta.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TxtNr_konta_PreviewTextInput);

            #line default
            #line hidden
                return;

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

            #line 235 "..\..\MainWindow.xaml"
                this.txtSzukaj.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtSzukaj_TextChanged);

            #line default
            #line hidden
                return;

            case 19:
                this.btnDodajProvider = ((System.Windows.Controls.Button)(target));

            #line 253 "..\..\MainWindow.xaml"
                this.btnDodajProvider.Click += new System.Windows.RoutedEventHandler(this.BtnDodajProvider_Click);

            #line default
            #line hidden
                return;

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

            #line 254 "..\..\MainWindow.xaml"
                this.btnEdytujProvider.Click += new System.Windows.RoutedEventHandler(this.BtnEdytujProvider_Click);

            #line default
            #line hidden
                return;

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

            #line 255 "..\..\MainWindow.xaml"
                this.btnUsunProvider.Click += new System.Windows.RoutedEventHandler(this.BtnUsunProvider_Click);

            #line default
            #line hidden
                return;

            case 22:

            #line 256 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnWyczyscProvider_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.DataGridProvider = ((System.Windows.Controls.DataGrid)(target));

            #line 272 "..\..\MainWindow.xaml"
                this.DataGridProvider.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataGridProvider_SelectionChanged);

            #line default
            #line hidden
                return;

            case 24:
                this.txtId_invoice = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            #line 329 "..\..\MainWindow.xaml"
                this.txtWartosc_netto.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TxtWartosc_netto_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 27:
                this.txtWartosc_brutto = ((System.Windows.Controls.TextBox)(target));

            #line 330 "..\..\MainWindow.xaml"
                this.txtWartosc_brutto.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TxtWartosc_brutto_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 28:
                this.DatePickerInvoice = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 29:
                this.txtSkrot_faktury = ((System.Windows.Controls.TextBox)(target));
                return;

            case 30:
                this.txtSzukaj_Invoice = ((System.Windows.Controls.TextBox)(target));

            #line 343 "..\..\MainWindow.xaml"
                this.txtSzukaj_Invoice.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtSzukaj_Invoice_TextChanged);

            #line default
            #line hidden
                return;

            case 31:
                this.btnDodaj_Invoice = ((System.Windows.Controls.Button)(target));

            #line 358 "..\..\MainWindow.xaml"
                this.btnDodaj_Invoice.Click += new System.Windows.RoutedEventHandler(this.BtnDodaj_Invoice_Click);

            #line default
            #line hidden
                return;

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

            #line 359 "..\..\MainWindow.xaml"
                this.btnEdytuj_Invoice.Click += new System.Windows.RoutedEventHandler(this.BtnEdytuj_Invoice_Click);

            #line default
            #line hidden
                return;

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

            #line 360 "..\..\MainWindow.xaml"
                this.btnUsun_Invoice.Click += new System.Windows.RoutedEventHandler(this.BtnUsun_Invoice_Click);

            #line default
            #line hidden
                return;

            case 34:

            #line 361 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnWyczysc_Invoice_Click);

            #line default
            #line hidden
                return;

            case 35:
                this.DataGridInvoice = ((System.Windows.Controls.DataGrid)(target));

            #line 377 "..\..\MainWindow.xaml"
                this.DataGridInvoice.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataGridInvoice_SelectionChanged);

            #line default
            #line hidden
                return;

            case 36:
                this.DatePickerReport = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 37:

            #line 432 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Test_Click);

            #line default
            #line hidden
                return;

            case 38:
                this.txtId_CI = ((System.Windows.Controls.TextBox)(target));
                return;

            case 39:
                this.txtIKartoteki_CI = ((System.Windows.Controls.TextBox)(target));
                return;

            case 40:
                this.txtNazwa_CI = ((System.Windows.Controls.TextBox)(target));
                return;

            case 41:
                this.txtCena_CI = ((System.Windows.Controls.TextBox)(target));

            #line 483 "..\..\MainWindow.xaml"
                this.txtCena_CI.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TxtCena_CI_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 42:
                this.cbbJMiary_CI = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 43:
                this.cbbProvider = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 44:
                this.txt_id_cbbSupp = ((System.Windows.Controls.TextBox)(target));
                return;

            case 45:
                this.txtStan_poczatkowy_inv = ((System.Windows.Controls.TextBox)(target));

            #line 501 "..\..\MainWindow.xaml"
                this.txtStan_poczatkowy_inv.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TxtStan_poczatkowy_inv_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 46:
                this.txtSzukaj_CI = ((System.Windows.Controls.TextBox)(target));

            #line 502 "..\..\MainWindow.xaml"
                this.txtSzukaj_CI.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtSzukaj_CI_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 520 "..\..\MainWindow.xaml"
                this.btnDodaj_CI.Click += new System.Windows.RoutedEventHandler(this.BtnDodajCI_Click);

            #line default
            #line hidden
                return;

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

            #line 521 "..\..\MainWindow.xaml"
                this.btnEdytuj_CI.Click += new System.Windows.RoutedEventHandler(this.BtnEdytujCI_Click);

            #line default
            #line hidden
                return;

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

            #line 522 "..\..\MainWindow.xaml"
                this.btnUsun_CI.Click += new System.Windows.RoutedEventHandler(this.BtnUsunCI_Click);

            #line default
            #line hidden
                return;

            case 50:

            #line 523 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnWyczyscCI_Click);

            #line default
            #line hidden
                return;

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

            #line 539 "..\..\MainWindow.xaml"
                this.DataGridCardIndex.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataGridCardIndex_SelectionChanged);

            #line default
            #line hidden
                return;

            case 52:
                this.txtId_inventory = ((System.Windows.Controls.TextBox)(target));
                return;

            case 53:
                this.txtId_ci_index = ((System.Windows.Controls.TextBox)(target));

            #line 598 "..\..\MainWindow.xaml"
                this.txtId_ci_index.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtId_ci_index_TextChanged);

            #line default
            #line hidden
                return;

            case 54:
                this.txtId_invoice_index = ((System.Windows.Controls.TextBox)(target));
                return;

            case 55:
                this.txtTotall_quantity = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 56:
                this.cbbFile = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 57:
                this.txtPrzychod_inv = ((System.Windows.Controls.TextBox)(target));

            #line 612 "..\..\MainWindow.xaml"
                this.txtPrzychod_inv.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TxtPrzychod_inv_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 58:
                this.txtRozchod_inv = ((System.Windows.Controls.TextBox)(target));

            #line 613 "..\..\MainWindow.xaml"
                this.txtRozchod_inv.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.TxtRozchod_inv_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 59:
                this.AutomaticDateRadioButton = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 60:
                this.ManualDateRadioButton = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 61:
                this.DatePickerManual = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 62:
                this.cbb_shortcut_name_invoice = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 678 "..\..\MainWindow.xaml"
                this.txtSzukaj_Inv.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtSzukaj_Inv_TextChanged);

            #line default
            #line hidden
                return;

            case 64:
                this.btnDodaj_Inventory = ((System.Windows.Controls.Button)(target));

            #line 694 "..\..\MainWindow.xaml"
                this.btnDodaj_Inventory.Click += new System.Windows.RoutedEventHandler(this.BtnDodaj_Inventory_Click);

            #line default
            #line hidden
                return;

            case 65:
                this.btnEdytuj_Inventory = ((System.Windows.Controls.Button)(target));

            #line 695 "..\..\MainWindow.xaml"
                this.btnEdytuj_Inventory.Click += new System.Windows.RoutedEventHandler(this.BtnEdytuj_Inventory_Click);

            #line default
            #line hidden
                return;

            case 66:
                this.btnUsun_Inventory = ((System.Windows.Controls.Button)(target));

            #line 696 "..\..\MainWindow.xaml"
                this.btnUsun_Inventory.Click += new System.Windows.RoutedEventHandler(this.BtnUsun_Inventory_Click);

            #line default
            #line hidden
                return;

            case 67:

            #line 697 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnWyczysc_Inventory_Click);

            #line default
            #line hidden
                return;

            case 68:
                this.DataGridInventory = ((System.Windows.Controls.DataGrid)(target));

            #line 713 "..\..\MainWindow.xaml"
                this.DataGridInventory.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataGridInventory_SelectionChanged);

            #line default
            #line hidden
                return;

            case 69:
                this.DatePickerSummary1 = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 70:
                this.DatePickerSummary2 = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 71:

            #line 798 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnReportSummary_Click);

            #line default
            #line hidden
                return;

            case 72:

            #line 802 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnInvoiceSummary_Click);

            #line default
            #line hidden
                return;

            case 73:

            #line 837 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnBackSummary_Click);

            #line default
            #line hidden
                return;

            case 74:

            #line 845 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnReportSummaryPDF_Click);

            #line default
            #line hidden
                return;

            case 75:
                this.DataGridReportSummary = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 76:

            #line 903 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnBackSummary_Click);

            #line default
            #line hidden
                return;

            case 77:

            #line 911 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnReportSummaryPDF_Click);

            #line default
            #line hidden
                return;

            case 78:
                this.DataGridInvoiceSummary = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }