Zbiór zmian 791 dla trunk

Pokaż
Ignoruj:
Data:
2009-07-30 12:09:25 (17 years ago)
Autor:
marek
Opis:

re #196 - ostatnie poprawki

Lokalizacja:
trunk/BazaReklam
Pliki:
4 zmodyfikowane

Legenda:

Bez zmian
Dodane
Usunięte
  • trunk/BazaReklam/MDIBazaReklam.cs

    r732 r791  
    269269 
    270270            if (!_forms.ContainsKey("ZestawienieZamowienForm")) 
    271                 _forms.Add("ZestawienieZamowienForm", ZestawienieZamowienForm.getZestawienieZamowienForm(this)); 
    272  
    273             ZestawienieZamowienForm.getZestawienieZamowienForm(this).WindowState = FormWindowState.Maximized; 
    274             ZestawienieZamowienForm.getZestawienieZamowienForm(this).Show(); 
     271                _forms.Add("ZestawienieZamowienForm", ZestawienieZamowienForm.GetZestawienieZamowienForm(this)); 
     272 
     273            ZestawienieZamowienForm.GetZestawienieZamowienForm(this).WindowState = FormWindowState.Maximized; 
     274            ZestawienieZamowienForm.GetZestawienieZamowienForm(this).Show(); 
    275275 
    276276            Cursor = Cursors.Default; 
  • trunk/BazaReklam/ZestawienieZamowienForm.Designer.cs

    r790 r791  
    3131            this.components = new System.ComponentModel.Container(); 
    3232            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ZestawienieZamowienForm)); 
    33             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle(); 
    34             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle(); 
    35             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle(); 
    36             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle(); 
    37             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle(); 
    38             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle(); 
    39             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle(); 
    40             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle29 = new System.Windows.Forms.DataGridViewCellStyle(); 
    41             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle30 = new System.Windows.Forms.DataGridViewCellStyle(); 
    42             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle31 = new System.Windows.Forms.DataGridViewCellStyle(); 
    43             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle32 = new System.Windows.Forms.DataGridViewCellStyle(); 
    44             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle33 = new System.Windows.Forms.DataGridViewCellStyle(); 
    45             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle34 = new System.Windows.Forms.DataGridViewCellStyle(); 
    46             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle35 = new System.Windows.Forms.DataGridViewCellStyle(); 
    47             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle36 = new System.Windows.Forms.DataGridViewCellStyle(); 
    48             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle37 = new System.Windows.Forms.DataGridViewCellStyle(); 
    49             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle38 = new System.Windows.Forms.DataGridViewCellStyle(); 
    50             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle39 = new System.Windows.Forms.DataGridViewCellStyle(); 
    51             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle40 = new System.Windows.Forms.DataGridViewCellStyle(); 
    52             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle41 = new System.Windows.Forms.DataGridViewCellStyle(); 
    53             System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle42 = new System.Windows.Forms.DataGridViewCellStyle(); 
     33            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); 
     34            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); 
     35            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle(); 
     36            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle(); 
     37            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle(); 
     38            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle(); 
     39            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle(); 
     40            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle(); 
     41            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle(); 
     42            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); 
     43            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); 
     44            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); 
     45            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); 
     46            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); 
     47            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); 
     48            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); 
     49            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle(); 
     50            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle(); 
     51            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle(); 
     52            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle(); 
     53            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle(); 
    5454            this.bindingNavigator1 = new System.Windows.Forms.BindingNavigator(this.components); 
    5555            this.VIEW_ZESTAWIENIE_ZAMOWIEN_NOWEBindingSource = new System.Windows.Forms.BindingSource(this.components); 
     
    9393            this.splitContainer2 = new System.Windows.Forms.SplitContainer(); 
    9494            this.fakturyDataGridView = new System.Windows.Forms.DataGridView(); 
    95             this.agencja = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
    96             this.agent = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
    97             this.rokZamowienia = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
    98             this.nrZamowieniaExt = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
    99             this.iloscReklam = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
    100             this.data_od = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
    101             this.data_od_bez_FK = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
    102             this.wartoscNetto = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
    103             this.kwotaWalutaBrutto = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
    104             this.bruttoEuroMianoDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
    105             this.nettoZafakturowane = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
    106             this.SumaNaNastepnejFakturze = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
    107             this.DoZafakturowania = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
    10895            this.reklamyZestawienieDataGridView = new System.Windows.Forms.DataGridView(); 
    10996            this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
     
    135122            this.VIEW_ZESTAWIENIE_ZAMOWIEN_NOWETableAdapter = new Baza_Reklam.REKLAMADataSetTableAdapters.VIEW_ZESTAWIENIE_ZAMOWIEN_NOWETableAdapter(); 
    136123            this.reklamyZestawienieTableAdapter = new Baza_Reklam.REKLAMADataSetTableAdapters.ReklamyZestawienieTableAdapter(); 
     124            this.agencja = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
     125            this.agent = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
     126            this.rokZamowienia = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
     127            this.nrZamowieniaExt = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
     128            this.iloscReklam = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
     129            this.data_od = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
     130            this.data_od_bez_FK = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
     131            this.wartoscNetto = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
     132            this.kwotaWalutaBrutto = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
     133            this.bruttoEuroMianoDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
     134            this.nettoZafakturowane = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
     135            this.DoZafakturowania = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
     136            this.SumaNaNastepnejFakturze = new System.Windows.Forms.DataGridViewTextBoxColumn(); 
    137137            ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).BeginInit(); 
    138138            this.bindingNavigator1.SuspendLayout(); 
     
    491491            //  
    492492            this.splitContainer1.Panel1.Controls.Add(this.treeView1); 
     493            this.splitContainer1.Panel1Collapsed = true; 
    493494            //  
    494495            // splitContainer1.Panel2 
     
    504505            this.treeView1.Location = new System.Drawing.Point(0, 0); 
    505506            this.treeView1.Name = "treeView1"; 
    506             this.treeView1.Size = new System.Drawing.Size(163, 569); 
     507            this.treeView1.Size = new System.Drawing.Size(163, 100); 
    507508            this.treeView1.TabIndex = 0; 
    508509            this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect); 
     
    525526            this.splitContainer2.Panel2.Controls.Add(this.reklamyZestawienieDataGridView); 
    526527            this.splitContainer2.Panel2.Controls.Add(this.toolStrip1); 
    527             this.splitContainer2.Size = new System.Drawing.Size(812, 569); 
     528            this.splitContainer2.Size = new System.Drawing.Size(979, 569); 
    528529            this.splitContainer2.SplitterDistance = 355; 
    529530            this.splitContainer2.TabIndex = 0; 
     
    533534            this.fakturyDataGridView.AllowUserToAddRows = false; 
    534535            this.fakturyDataGridView.AllowUserToDeleteRows = false; 
    535             dataGridViewCellStyle22.BackColor = System.Drawing.Color.MintCream; 
    536             this.fakturyDataGridView.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle22; 
     536            dataGridViewCellStyle1.BackColor = System.Drawing.Color.MintCream; 
     537            this.fakturyDataGridView.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; 
    537538            this.fakturyDataGridView.AutoGenerateColumns = false; 
    538539            this.fakturyDataGridView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.DisplayedCells; 
    539540            this.fakturyDataGridView.BackgroundColor = System.Drawing.Color.White; 
    540541            this.fakturyDataGridView.CausesValidation = false; 
    541             dataGridViewCellStyle23.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; 
    542             dataGridViewCellStyle23.BackColor = System.Drawing.SystemColors.Control; 
    543             dataGridViewCellStyle23.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); 
    544             dataGridViewCellStyle23.ForeColor = System.Drawing.SystemColors.WindowText; 
    545             dataGridViewCellStyle23.SelectionBackColor = System.Drawing.SystemColors.Highlight; 
    546             dataGridViewCellStyle23.SelectionForeColor = System.Drawing.SystemColors.HighlightText; 
    547             dataGridViewCellStyle23.WrapMode = System.Windows.Forms.DataGridViewTriState.True; 
    548             this.fakturyDataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle23; 
     542            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; 
     543            dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control; 
     544            dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); 
     545            dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText; 
     546            dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; 
     547            dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; 
     548            dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; 
     549            this.fakturyDataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; 
    549550            this.fakturyDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; 
    550551            this.fakturyDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { 
     
    560561            this.bruttoEuroMianoDataGridViewTextBoxColumn, 
    561562            this.nettoZafakturowane, 
    562             this.SumaNaNastepnejFakturze, 
    563             this.DoZafakturowania}); 
     563            this.DoZafakturowania, 
     564            this.SumaNaNastepnejFakturze}); 
    564565            this.fakturyDataGridView.DataSource = this.VIEW_ZESTAWIENIE_ZAMOWIEN_NOWEBindingSource; 
    565566            this.fakturyDataGridView.Dock = System.Windows.Forms.DockStyle.Fill; 
     
    572573            this.fakturyDataGridView.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; 
    573574            this.fakturyDataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; 
    574             this.fakturyDataGridView.Size = new System.Drawing.Size(812, 355); 
     575            this.fakturyDataGridView.Size = new System.Drawing.Size(979, 355); 
    575576            this.fakturyDataGridView.TabIndex = 1; 
    576577            this.fakturyDataGridView.DataBindingComplete += new System.Windows.Forms.DataGridViewBindingCompleteEventHandler(this.fakturyDataGridView_DataBindingComplete); 
    577             //  
    578             // agencja 
    579             //  
    580             this.agencja.DataPropertyName = "agencja"; 
    581             dataGridViewCellStyle24.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; 
    582             this.agencja.DefaultCellStyle = dataGridViewCellStyle24; 
    583             this.agencja.HeaderText = "Agencja"; 
    584             this.agencja.Name = "agencja"; 
    585             this.agencja.ReadOnly = true; 
    586             this.agencja.Width = 71; 
    587             //  
    588             // agent 
    589             //  
    590             this.agent.DataPropertyName = "agent"; 
    591             dataGridViewCellStyle25.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; 
    592             this.agent.DefaultCellStyle = dataGridViewCellStyle25; 
    593             this.agent.HeaderText = "Agent"; 
    594             this.agent.Name = "agent"; 
    595             this.agent.ReadOnly = true; 
    596             this.agent.Width = 60; 
    597             //  
    598             // rokZamowienia 
    599             //  
    600             this.rokZamowienia.DataPropertyName = "rokZamowienia"; 
    601             dataGridViewCellStyle26.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; 
    602             this.rokZamowienia.DefaultCellStyle = dataGridViewCellStyle26; 
    603             this.rokZamowienia.HeaderText = "Rok"; 
    604             this.rokZamowienia.Name = "rokZamowienia"; 
    605             this.rokZamowienia.ReadOnly = true; 
    606             this.rokZamowienia.Width = 52; 
    607             //  
    608             // nrZamowieniaExt 
    609             //  
    610             this.nrZamowieniaExt.DataPropertyName = "nrZamowieniaExt"; 
    611             this.nrZamowieniaExt.HeaderText = "Nr zamówienia"; 
    612             this.nrZamowieniaExt.Name = "nrZamowieniaExt"; 
    613             this.nrZamowieniaExt.ReadOnly = true; 
    614             this.nrZamowieniaExt.Width = 93; 
    615             //  
    616             // iloscReklam 
    617             //  
    618             this.iloscReklam.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
    619             this.iloscReklam.DataPropertyName = "iloscReklam"; 
    620             dataGridViewCellStyle27.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; 
    621             this.iloscReklam.DefaultCellStyle = dataGridViewCellStyle27; 
    622             this.iloscReklam.HeaderText = "# rek"; 
    623             this.iloscReklam.Name = "iloscReklam"; 
    624             this.iloscReklam.ReadOnly = true; 
    625             this.iloscReklam.Width = 40; 
    626             //  
    627             // data_od 
    628             //  
    629             this.data_od.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
    630             this.data_od.DataPropertyName = "data_od"; 
    631             dataGridViewCellStyle28.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; 
    632             dataGridViewCellStyle28.Format = "d"; 
    633             this.data_od.DefaultCellStyle = dataGridViewCellStyle28; 
    634             this.data_od.HeaderText = "Data 1 em"; 
    635             this.data_od.Name = "data_od"; 
    636             this.data_od.ReadOnly = true; 
    637             this.data_od.Width = 80; 
    638             //  
    639             // data_od_bez_FK 
    640             //  
    641             this.data_od_bez_FK.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
    642             this.data_od_bez_FK.DataPropertyName = "data_od_bez_FK"; 
    643             dataGridViewCellStyle29.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; 
    644             this.data_od_bez_FK.DefaultCellStyle = dataGridViewCellStyle29; 
    645             this.data_od_bez_FK.HeaderText = "Data 1 em bez FV"; 
    646             this.data_od_bez_FK.Name = "data_od_bez_FK"; 
    647             this.data_od_bez_FK.ReadOnly = true; 
    648             this.data_od_bez_FK.Width = 80; 
    649             //  
    650             // wartoscNetto 
    651             //  
    652             this.wartoscNetto.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
    653             this.wartoscNetto.DataPropertyName = "wartoscNetto"; 
    654             dataGridViewCellStyle30.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; 
    655             dataGridViewCellStyle30.Format = "C2"; 
    656             this.wartoscNetto.DefaultCellStyle = dataGridViewCellStyle30; 
    657             this.wartoscNetto.HeaderText = "Netto"; 
    658             this.wartoscNetto.Name = "wartoscNetto"; 
    659             this.wartoscNetto.ReadOnly = true; 
    660             this.wartoscNetto.Width = 110; 
    661             //  
    662             // kwotaWalutaBrutto 
    663             //  
    664             this.kwotaWalutaBrutto.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
    665             this.kwotaWalutaBrutto.DataPropertyName = "kwotaWalutaBrutto"; 
    666             dataGridViewCellStyle31.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; 
    667             dataGridViewCellStyle31.Format = "N2"; 
    668             dataGridViewCellStyle31.NullValue = null; 
    669             this.kwotaWalutaBrutto.DefaultCellStyle = dataGridViewCellStyle31; 
    670             this.kwotaWalutaBrutto.HeaderText = "Waluta - brutto zamówienia"; 
    671             this.kwotaWalutaBrutto.Name = "kwotaWalutaBrutto"; 
    672             this.kwotaWalutaBrutto.ReadOnly = true; 
    673             this.kwotaWalutaBrutto.Width = 110; 
    674             //  
    675             // bruttoEuroMianoDataGridViewTextBoxColumn 
    676             //  
    677             this.bruttoEuroMianoDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
    678             this.bruttoEuroMianoDataGridViewTextBoxColumn.DataPropertyName = "Brutto_Euro_Miano"; 
    679             dataGridViewCellStyle32.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; 
    680             this.bruttoEuroMianoDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle32; 
    681             this.bruttoEuroMianoDataGridViewTextBoxColumn.HeaderText = "W"; 
    682             this.bruttoEuroMianoDataGridViewTextBoxColumn.Name = "bruttoEuroMianoDataGridViewTextBoxColumn"; 
    683             this.bruttoEuroMianoDataGridViewTextBoxColumn.ReadOnly = true; 
    684             this.bruttoEuroMianoDataGridViewTextBoxColumn.Width = 35; 
    685             //  
    686             // nettoZafakturowane 
    687             //  
    688             this.nettoZafakturowane.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
    689             this.nettoZafakturowane.DataPropertyName = "nettoZafakturowane"; 
    690             dataGridViewCellStyle33.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; 
    691             dataGridViewCellStyle33.Format = "C2"; 
    692             this.nettoZafakturowane.DefaultCellStyle = dataGridViewCellStyle33; 
    693             this.nettoZafakturowane.HeaderText = "Wartoœæ netto FV"; 
    694             this.nettoZafakturowane.Name = "nettoZafakturowane"; 
    695             this.nettoZafakturowane.ReadOnly = true; 
    696             this.nettoZafakturowane.Width = 110; 
    697             //  
    698             // SumaNaNastepnejFakturze 
    699             //  
    700             this.SumaNaNastepnejFakturze.DataPropertyName = "SumaNaNastepnejFakturze"; 
    701             dataGridViewCellStyle34.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; 
    702             dataGridViewCellStyle34.Format = "C2"; 
    703             dataGridViewCellStyle34.NullValue = null; 
    704             this.SumaNaNastepnejFakturze.DefaultCellStyle = dataGridViewCellStyle34; 
    705             this.SumaNaNastepnejFakturze.HeaderText = "Wartoœæ nastêpnej faktury w PLN"; 
    706             this.SumaNaNastepnejFakturze.Name = "SumaNaNastepnejFakturze"; 
    707             this.SumaNaNastepnejFakturze.ReadOnly = true; 
    708             this.SumaNaNastepnejFakturze.ToolTipText = "Jeœli faktura w walucie to wartoœæ w PLN zgodna z kursem z dnia zatwierdzenia do " + 
    709                 "druku"; 
    710             this.SumaNaNastepnejFakturze.Width = 155; 
    711             //  
    712             // DoZafakturowania 
    713             //  
    714             this.DoZafakturowania.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
    715             this.DoZafakturowania.DataPropertyName = "DoZafakturowania"; 
    716             dataGridViewCellStyle35.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; 
    717             dataGridViewCellStyle35.Format = "N2"; 
    718             dataGridViewCellStyle35.NullValue = null; 
    719             this.DoZafakturowania.DefaultCellStyle = dataGridViewCellStyle35; 
    720             this.DoZafakturowania.HeaderText = "Wartoœæ niezafakturowana"; 
    721             this.DoZafakturowania.Name = "DoZafakturowania"; 
    722             this.DoZafakturowania.ReadOnly = true; 
    723             this.DoZafakturowania.Width = 110; 
    724578            //  
    725579            // reklamyZestawienieDataGridView 
     
    756610            this.reklamyZestawienieDataGridView.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; 
    757611            this.reklamyZestawienieDataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; 
    758             this.reklamyZestawienieDataGridView.Size = new System.Drawing.Size(812, 179); 
     612            this.reklamyZestawienieDataGridView.Size = new System.Drawing.Size(979, 179); 
    759613            this.reklamyZestawienieDataGridView.TabIndex = 1; 
    760614            //  
     
    799653            this.dataGridViewTextBoxColumn8.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
    800654            this.dataGridViewTextBoxColumn8.DataPropertyName = "1emisja"; 
    801             dataGridViewCellStyle36.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; 
    802             dataGridViewCellStyle36.Format = "d"; 
    803             this.dataGridViewTextBoxColumn8.DefaultCellStyle = dataGridViewCellStyle36; 
     655            dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; 
     656            dataGridViewCellStyle15.Format = "d"; 
     657            this.dataGridViewTextBoxColumn8.DefaultCellStyle = dataGridViewCellStyle15; 
    804658            this.dataGridViewTextBoxColumn8.HeaderText = "1 emisja"; 
    805659            this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8"; 
     
    847701            this.dataGridViewTextBoxColumn23.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
    848702            this.dataGridViewTextBoxColumn23.DataPropertyName = "CENA JEDN"; 
    849             dataGridViewCellStyle37.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; 
    850             dataGridViewCellStyle37.Format = "C2"; 
    851             this.dataGridViewTextBoxColumn23.DefaultCellStyle = dataGridViewCellStyle37; 
     703            dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; 
     704            dataGridViewCellStyle16.Format = "C2"; 
     705            this.dataGridViewTextBoxColumn23.DefaultCellStyle = dataGridViewCellStyle16; 
    852706            this.dataGridViewTextBoxColumn23.HeaderText = "Cena jedn."; 
    853707            this.dataGridViewTextBoxColumn23.Name = "dataGridViewTextBoxColumn23"; 
     
    859713            this.RABAT_WARTOSC.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
    860714            this.RABAT_WARTOSC.DataPropertyName = "RABAT WARTOŒÆ"; 
    861             dataGridViewCellStyle38.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; 
    862             dataGridViewCellStyle38.Format = "C2"; 
    863             this.RABAT_WARTOSC.DefaultCellStyle = dataGridViewCellStyle38; 
     715            dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; 
     716            dataGridViewCellStyle17.Format = "C2"; 
     717            this.RABAT_WARTOSC.DefaultCellStyle = dataGridViewCellStyle17; 
    864718            this.RABAT_WARTOSC.HeaderText = "Rabat"; 
    865719            this.RABAT_WARTOSC.Name = "RABAT_WARTOSC"; 
     
    871725            this.dataGridViewTextBoxColumn24.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
    872726            this.dataGridViewTextBoxColumn24.DataPropertyName = "NETTO"; 
    873             dataGridViewCellStyle39.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; 
    874             dataGridViewCellStyle39.Format = "C2"; 
    875             this.dataGridViewTextBoxColumn24.DefaultCellStyle = dataGridViewCellStyle39; 
     727            dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; 
     728            dataGridViewCellStyle18.Format = "C2"; 
     729            this.dataGridViewTextBoxColumn24.DefaultCellStyle = dataGridViewCellStyle18; 
    876730            this.dataGridViewTextBoxColumn24.HeaderText = "NETTO"; 
    877731            this.dataGridViewTextBoxColumn24.Name = "dataGridViewTextBoxColumn24"; 
     
    883737            this.dataGridViewTextBoxColumn25.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
    884738            this.dataGridViewTextBoxColumn25.DataPropertyName = "VAT"; 
    885             dataGridViewCellStyle40.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; 
    886             dataGridViewCellStyle40.Format = "P"; 
    887             dataGridViewCellStyle40.NullValue = null; 
    888             this.dataGridViewTextBoxColumn25.DefaultCellStyle = dataGridViewCellStyle40; 
     739            dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; 
     740            dataGridViewCellStyle19.Format = "P"; 
     741            dataGridViewCellStyle19.NullValue = null; 
     742            this.dataGridViewTextBoxColumn25.DefaultCellStyle = dataGridViewCellStyle19; 
    889743            this.dataGridViewTextBoxColumn25.HeaderText = "VAT"; 
    890744            this.dataGridViewTextBoxColumn25.Name = "dataGridViewTextBoxColumn25"; 
     
    896750            this.dataGridViewTextBoxColumn26.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
    897751            this.dataGridViewTextBoxColumn26.DataPropertyName = "PVAT"; 
    898             dataGridViewCellStyle41.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; 
    899             dataGridViewCellStyle41.Format = "C2"; 
    900             this.dataGridViewTextBoxColumn26.DefaultCellStyle = dataGridViewCellStyle41; 
     752            dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; 
     753            dataGridViewCellStyle20.Format = "C2"; 
     754            this.dataGridViewTextBoxColumn26.DefaultCellStyle = dataGridViewCellStyle20; 
    901755            this.dataGridViewTextBoxColumn26.HeaderText = "PVAT"; 
    902756            this.dataGridViewTextBoxColumn26.Name = "dataGridViewTextBoxColumn26"; 
     
    908762            this.dataGridViewTextBoxColumn27.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
    909763            this.dataGridViewTextBoxColumn27.DataPropertyName = "BRUTTO"; 
    910             dataGridViewCellStyle42.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; 
    911             dataGridViewCellStyle42.Format = "C2"; 
    912             this.dataGridViewTextBoxColumn27.DefaultCellStyle = dataGridViewCellStyle42; 
     764            dataGridViewCellStyle21.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; 
     765            dataGridViewCellStyle21.Format = "C2"; 
     766            this.dataGridViewTextBoxColumn27.DefaultCellStyle = dataGridViewCellStyle21; 
    913767            this.dataGridViewTextBoxColumn27.HeaderText = "BRUTTO"; 
    914768            this.dataGridViewTextBoxColumn27.Name = "dataGridViewTextBoxColumn27"; 
     
    946800            this.toolStrip1.Location = new System.Drawing.Point(0, 0); 
    947801            this.toolStrip1.Name = "toolStrip1"; 
    948             this.toolStrip1.Size = new System.Drawing.Size(812, 31); 
     802            this.toolStrip1.Size = new System.Drawing.Size(979, 31); 
    949803            this.toolStrip1.TabIndex = 0; 
    950804            this.toolStrip1.Text = "reklamaToolStrip"; 
     
    1021875            //  
    1022876            this.reklamyZestawienieTableAdapter.ClearBeforeFill = true; 
     877            //  
     878            // agencja 
     879            //  
     880            this.agencja.DataPropertyName = "agencja"; 
     881            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; 
     882            this.agencja.DefaultCellStyle = dataGridViewCellStyle3; 
     883            this.agencja.HeaderText = "Agencja"; 
     884            this.agencja.Name = "agencja"; 
     885            this.agencja.ReadOnly = true; 
     886            this.agencja.Width = 71; 
     887            //  
     888            // agent 
     889            //  
     890            this.agent.DataPropertyName = "agent"; 
     891            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; 
     892            this.agent.DefaultCellStyle = dataGridViewCellStyle4; 
     893            this.agent.HeaderText = "Agent"; 
     894            this.agent.Name = "agent"; 
     895            this.agent.ReadOnly = true; 
     896            this.agent.Width = 60; 
     897            //  
     898            // rokZamowienia 
     899            //  
     900            this.rokZamowienia.DataPropertyName = "rokZamowienia"; 
     901            dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; 
     902            this.rokZamowienia.DefaultCellStyle = dataGridViewCellStyle5; 
     903            this.rokZamowienia.HeaderText = "Rok"; 
     904            this.rokZamowienia.Name = "rokZamowienia"; 
     905            this.rokZamowienia.ReadOnly = true; 
     906            this.rokZamowienia.Width = 52; 
     907            //  
     908            // nrZamowieniaExt 
     909            //  
     910            this.nrZamowieniaExt.DataPropertyName = "nrZamowieniaExt"; 
     911            this.nrZamowieniaExt.HeaderText = "Nr zamówienia"; 
     912            this.nrZamowieniaExt.Name = "nrZamowieniaExt"; 
     913            this.nrZamowieniaExt.ReadOnly = true; 
     914            this.nrZamowieniaExt.Width = 101; 
     915            //  
     916            // iloscReklam 
     917            //  
     918            this.iloscReklam.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
     919            this.iloscReklam.DataPropertyName = "iloscReklam"; 
     920            dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; 
     921            this.iloscReklam.DefaultCellStyle = dataGridViewCellStyle6; 
     922            this.iloscReklam.HeaderText = "# rek"; 
     923            this.iloscReklam.Name = "iloscReklam"; 
     924            this.iloscReklam.ReadOnly = true; 
     925            this.iloscReklam.Width = 40; 
     926            //  
     927            // data_od 
     928            //  
     929            this.data_od.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
     930            this.data_od.DataPropertyName = "data_od"; 
     931            dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; 
     932            dataGridViewCellStyle7.Format = "d"; 
     933            this.data_od.DefaultCellStyle = dataGridViewCellStyle7; 
     934            this.data_od.HeaderText = "Data 1 em"; 
     935            this.data_od.Name = "data_od"; 
     936            this.data_od.ReadOnly = true; 
     937            this.data_od.Width = 80; 
     938            //  
     939            // data_od_bez_FK 
     940            //  
     941            this.data_od_bez_FK.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
     942            this.data_od_bez_FK.DataPropertyName = "data_od_bez_FK"; 
     943            dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; 
     944            this.data_od_bez_FK.DefaultCellStyle = dataGridViewCellStyle8; 
     945            this.data_od_bez_FK.HeaderText = "Data 1 em bez FV"; 
     946            this.data_od_bez_FK.Name = "data_od_bez_FK"; 
     947            this.data_od_bez_FK.ReadOnly = true; 
     948            this.data_od_bez_FK.Width = 80; 
     949            //  
     950            // wartoscNetto 
     951            //  
     952            this.wartoscNetto.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
     953            this.wartoscNetto.DataPropertyName = "wartoscNetto"; 
     954            dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; 
     955            dataGridViewCellStyle9.Format = "C2"; 
     956            this.wartoscNetto.DefaultCellStyle = dataGridViewCellStyle9; 
     957            this.wartoscNetto.HeaderText = "Netto"; 
     958            this.wartoscNetto.Name = "wartoscNetto"; 
     959            this.wartoscNetto.ReadOnly = true; 
     960            this.wartoscNetto.Width = 90; 
     961            //  
     962            // kwotaWalutaBrutto 
     963            //  
     964            this.kwotaWalutaBrutto.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
     965            this.kwotaWalutaBrutto.DataPropertyName = "kwotaWalutaBrutto"; 
     966            dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; 
     967            dataGridViewCellStyle10.Format = "N2"; 
     968            dataGridViewCellStyle10.NullValue = null; 
     969            this.kwotaWalutaBrutto.DefaultCellStyle = dataGridViewCellStyle10; 
     970            this.kwotaWalutaBrutto.HeaderText = "Waluta - brutto zamówienia"; 
     971            this.kwotaWalutaBrutto.Name = "kwotaWalutaBrutto"; 
     972            this.kwotaWalutaBrutto.ReadOnly = true; 
     973            this.kwotaWalutaBrutto.Width = 90; 
     974            //  
     975            // bruttoEuroMianoDataGridViewTextBoxColumn 
     976            //  
     977            this.bruttoEuroMianoDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
     978            this.bruttoEuroMianoDataGridViewTextBoxColumn.DataPropertyName = "Brutto_Euro_Miano"; 
     979            dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; 
     980            this.bruttoEuroMianoDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle11; 
     981            this.bruttoEuroMianoDataGridViewTextBoxColumn.HeaderText = "W"; 
     982            this.bruttoEuroMianoDataGridViewTextBoxColumn.Name = "bruttoEuroMianoDataGridViewTextBoxColumn"; 
     983            this.bruttoEuroMianoDataGridViewTextBoxColumn.ReadOnly = true; 
     984            this.bruttoEuroMianoDataGridViewTextBoxColumn.Width = 35; 
     985            //  
     986            // nettoZafakturowane 
     987            //  
     988            this.nettoZafakturowane.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
     989            this.nettoZafakturowane.DataPropertyName = "nettoZafakturowane"; 
     990            dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; 
     991            dataGridViewCellStyle12.Format = "C2"; 
     992            this.nettoZafakturowane.DefaultCellStyle = dataGridViewCellStyle12; 
     993            this.nettoZafakturowane.HeaderText = "Wartoœæ netto FV"; 
     994            this.nettoZafakturowane.Name = "nettoZafakturowane"; 
     995            this.nettoZafakturowane.ReadOnly = true; 
     996            this.nettoZafakturowane.Width = 90; 
     997            //  
     998            // DoZafakturowania 
     999            //  
     1000            this.DoZafakturowania.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
     1001            this.DoZafakturowania.DataPropertyName = "DoZafakturowania"; 
     1002            dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; 
     1003            dataGridViewCellStyle13.Format = "C2"; 
     1004            dataGridViewCellStyle13.NullValue = null; 
     1005            this.DoZafakturowania.DefaultCellStyle = dataGridViewCellStyle13; 
     1006            this.DoZafakturowania.HeaderText = "Do zafakturowania"; 
     1007            this.DoZafakturowania.Name = "DoZafakturowania"; 
     1008            this.DoZafakturowania.ReadOnly = true; 
     1009            this.DoZafakturowania.ToolTipText = "Wartoœæ jaka bêdzie zafakturowana na nastêpnej fakturze. Jeœli faktura w walucie " + 
     1010                "to wartoœæ w PLN zgodna z kursem z dnia zatwierdzenia do druku."; 
     1011            this.DoZafakturowania.Width = 90; 
     1012            //  
     1013            // SumaNaNastepnejFakturze 
     1014            //  
     1015            this.SumaNaNastepnejFakturze.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; 
     1016            this.SumaNaNastepnejFakturze.DataPropertyName = "SumaNaNastepnejFakturze"; 
     1017            dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight; 
     1018            dataGridViewCellStyle14.Format = "C2"; 
     1019            dataGridViewCellStyle14.NullValue = null; 
     1020            this.SumaNaNastepnejFakturze.DefaultCellStyle = dataGridViewCellStyle14; 
     1021            this.SumaNaNastepnejFakturze.HeaderText = "Wartoœæ nastêpnej faktury w PLN"; 
     1022            this.SumaNaNastepnejFakturze.Name = "SumaNaNastepnejFakturze"; 
     1023            this.SumaNaNastepnejFakturze.ReadOnly = true; 
     1024            this.SumaNaNastepnejFakturze.ToolTipText = "Jeœli faktura w walucie to wartoœæ w PLN zgodna z kursem z dnia zatwierdzenia do " + 
     1025                "druku"; 
     1026            this.SumaNaNastepnejFakturze.Visible = false; 
     1027            this.SumaNaNastepnejFakturze.Width = 90; 
    10231028            //  
    10241029            // ZestawienieZamowienForm 
     
    10811086        private System.Windows.Forms.ToolStrip wyszukajToolStrip; 
    10821087        private System.Windows.Forms.SplitContainer splitContainer1; 
    1083         private System.Windows.Forms.TreeView treeView1; 
    10841088        private System.Windows.Forms.Panel panel; 
    10851089        private System.Windows.Forms.ToolStripButton szukajToolStripButton; 
     
    11391143        private System.Windows.Forms.ToolStripLabel toolStripLabel6; 
    11401144        private System.Windows.Forms.ToolStripTextBox txtMiesiac; 
     1145        private System.Windows.Forms.TreeView treeView1; 
    11411146        private System.Windows.Forms.DataGridViewTextBoxColumn agencja; 
    11421147        private System.Windows.Forms.DataGridViewTextBoxColumn agent; 
     
    11501155        private System.Windows.Forms.DataGridViewTextBoxColumn bruttoEuroMianoDataGridViewTextBoxColumn; 
    11511156        private System.Windows.Forms.DataGridViewTextBoxColumn nettoZafakturowane; 
     1157        private System.Windows.Forms.DataGridViewTextBoxColumn DoZafakturowania; 
    11521158        private System.Windows.Forms.DataGridViewTextBoxColumn SumaNaNastepnejFakturze; 
    1153         private System.Windows.Forms.DataGridViewTextBoxColumn DoZafakturowania; 
    11541159 
    11551160    } 
  • trunk/BazaReklam/ZestawienieZamowienForm.cs

    r790 r791  
    33using System.Data; 
    44using System.Data.SqlClient; 
    5 using System.Drawing; 
    65using System.Windows.Forms; 
    76using Baza_Reklam.Classes.Helpers; 
     
    1211    public partial class ZestawienieZamowienForm : Form, IForm 
    1312    { 
    14         private const string query = "SELECT top 2000 * from VIEW_ZESTAWIENIE_ZAMOWIEN_NOWE "; 
    1513 
    1614        private static ZestawienieZamowienForm form; 
    17         private SqlCommand command; 
    18         private SqlDataAdapter sqlDataAdapter = new SqlDataAdapter(); 
    19  
    2015        private bool commandExecuted; 
    2116 
    22         public static ZestawienieZamowienForm getZestawienieZamowienForm(MDIBazaReklam parent) 
     17        public static ZestawienieZamowienForm GetZestawienieZamowienForm(MDIBazaReklam parent) 
    2318        { 
    2419            if (form == null){ 
     
    3429            MdiParent = parent; 
    3530 
    36             //podmiana connstringa 
    37             VIEW_ZESTAWIENIE_ZAMOWIEN_NOWETableAdapter.Connection.ConnectionString = ConnString.getConnString().Value; 
    38             reklamyZestawienieTableAdapter.Connection.ConnectionString = ConnString.getConnString().Value; 
    39              
    40             //obiekty wykorzytywane przy wyszukiwaniu 
    41             SqlConnection conn = new SqlConnection(ConnString.getConnString().Value); 
    42             
    43             command = new SqlCommand(query,conn); 
    44            
    4531            //generuje piersze wêz³y w drzewie 
    4632            generateNodes(); 
     
    5036        { 
    5137            WindowState = FormWindowState.Maximized; 
    52             command.CommandText = query; 
    53             sqlDataAdapter.SelectCommand = command; 
    54  
    5538            DBBindings.bindujAgencje(agencjaToolStripComboBox); 
    5639        } 
     
    6245            node.Name = "Biura"; 
    6346            treeView1.Nodes.Add(node); 
    64  
    65             command.Connection.Close();                          
    6647        } 
    6748 
    6849        private void treeView1_AfterSelect(object sender, TreeViewEventArgs e) 
    6950        { 
    70             if (e.Node != null) 
    71             { 
    72                 command.CommandText = query; 
    73                 command.Parameters.Clear(); 
    74  
    75                 switch (e.Node.Level) 
    76                 { 
    77                     case 0: 
    78                         break; 
    79                     case 1: 
    80                         break; 
    81                     case 2: 
    82                         break; 
    83                     case 3: 
    84                         switch (e.Node.Parent.Parent.Parent.Name) 
    85                         { 
    86                             case "Biura": 
    87  
    88                                 Cursor = Cursors.WaitCursor; 
    89                                  
    90                                 rEKLAMADataSet.VIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.Clear(); 
    91                                 command.CommandText += " where agent=@agent"; 
    92                                 command.Parameters.AddWithValue("@agent", e.Node.Name); 
    93                                 sqlDataAdapter.Fill(rEKLAMADataSet.VIEW_ZESTAWIENIE_ZAMOWIEN_NOWE); 
    94                                 commandExecuted = true; 
    95                                 fakturyDataGridView.Refresh(); 
    96  
    97                                 Cursor = Cursors.Default; 
    98  
    99                                 break; 
    100                             default: 
    101                                 break; 
    102                         } 
    103                         break; 
    104                     case 4: 
    105                         break; 
    106                     default: 
    107                         break; 
    108                 }            
    109                 }   
     51            if (e.Node == null || e.Node.Level != 3) return; 
     52 
     53            SqlCommand cmd = new SqlCommand(); 
     54            SqlDataAdapter dataAdapter = new SqlDataAdapter(cmd); 
     55            cmd.Connection = new SqlConnection(ConnString.getConnString().Value); 
     56            cmd.CommandType = CommandType.StoredProcedure; 
     57 
     58            cmd.CommandText = "sp_GetZestawienieZamowien"; 
     59            cmd.Parameters.Clear(); 
     60 
     61            switch (e.Node.Parent.Parent.Parent.Name) 
     62            { 
     63                case "Biura": 
     64                    Cursor = Cursors.WaitCursor; 
     65 
     66                    rEKLAMADataSet.VIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.Clear(); 
     67                    cmd.Parameters.AddWithValue("@agent", e.Node.Name); 
     68                    dataAdapter.Fill(rEKLAMADataSet.VIEW_ZESTAWIENIE_ZAMOWIEN_NOWE); 
     69                    commandExecuted = true; 
     70                    fakturyDataGridView.Refresh(); 
     71 
     72                    Cursor = Cursors.Default; 
     73                    break; 
     74                default: 
     75                    break; 
     76            } 
    11077        } 
    11178 
     
    245212 
    246213                rEKLAMADataSet.VIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.Clear(); 
    247                 sqlDataAdapter.Fill(rEKLAMADataSet.VIEW_ZESTAWIENIE_ZAMOWIEN_NOWE); 
    248                 fakturyDataGridView.Refresh(); 
    249  
    250                 Cursor = Cursors.Default; 
     214 
     215                try 
     216                { 
     217                    BindZestawienieZamowien(); 
     218                } 
     219                finally  
     220                { 
     221                    Cursor = Cursors.Default; 
     222                } 
    251223            } 
    252224        } 
     
    272244        private void szukajToolStripButton_Click(object sender, EventArgs e) 
    273245        { 
    274             SqlCommand cmd = new SqlCommand(); 
    275             cmd.CommandText = "sp_GetZestawienieZamowien"; 
    276             cmd.CommandType = CommandType.StoredProcedure; 
    277  
    278             rEKLAMADataSet.VIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.Clear(); 
    279             rEKLAMADataSet.ReklamyZestawienie.Clear(); 
    280  
    281             cmd.Parameters.Clear(); 
    282  
    283             if (nrZamToolStripTextBox.Text.Trim() != "") 
    284             { 
    285                 int i; 
    286                 if (!Int32.TryParse(nrZamToolStripTextBox.Text.Trim(), out i)) 
    287                 { 
    288                     MessageBox.Show("Podaj prawid³owy numer zamówienia."); 
    289                     return; 
    290                 } 
    291                 cmd.Parameters.AddWithValue("@nrZamowienia", nrZamToolStripTextBox.Text.Trim()); 
    292             } 
    293  
    294             if (rokToolStripTextBox.Text.Trim() != "") 
    295             { 
    296                 int i; 
    297                 if (!Int32.TryParse(rokToolStripTextBox.Text.Trim(), out i)) 
    298                 { 
    299                     MessageBox.Show("Podaj prawid³owy rok."); 
    300                     return; 
    301                 } 
    302                 cmd.Parameters.AddWithValue("@rokZamowienia", rokToolStripTextBox.Text.Trim()); 
    303             } 
    304  
    305             if (txtMiesiac.Text.Trim() != "") 
    306             { 
    307                 int i; 
    308                 if (!Int32.TryParse(txtMiesiac.Text.Trim(), out i) || i > 12 || i <= 0) 
    309                 { 
    310                     MessageBox.Show("Podaj prawid³owy miesi¹c."); 
    311                     return; 
    312                 } 
    313                 cmd.Parameters.AddWithValue("@miesiacZamowienia", txtMiesiac.Text.Trim()); 
    314             } 
    315  
    316             if (kodRozliczeniowyToolStripTextBox.Text.Trim() != "") 
    317                 cmd.Parameters.AddWithValue("@kodAgenta", kodRozliczeniowyToolStripTextBox.Text.Trim()); 
    318  
    319             if (kodKlientaToolStripTextBox.Text.Trim() != "") 
    320                 cmd.Parameters.AddWithValue("@kodKlienta", kodKlientaToolStripTextBox.Text.Trim()); 
    321  
    322             if (agencjaToolStripComboBox.Text.Trim() != "") 
    323                 cmd.Parameters.AddWithValue("@agencja", agencjaToolStripComboBox.Text.Trim()); 
    324  
    325             sqlDataAdapter.SelectCommand = cmd; 
    326  
    327246            Cursor = Cursors.WaitCursor; 
    328247            try 
    329248            { 
    330                 sqlDataAdapter.SelectCommand.Connection = new SqlConnection(ConnString.getConnString().Value); 
    331                 sqlDataAdapter.Fill(rEKLAMADataSet.VIEW_ZESTAWIENIE_ZAMOWIEN_NOWE); 
    332                 commandExecuted = true; 
     249                BindZestawienieZamowien(); 
    333250            } 
    334251            finally 
     
    338255                Cursor = Cursors.Default; 
    339256            } 
     257        } 
     258 
     259        private void BindZestawienieZamowien() 
     260        { 
     261            SqlCommand cmd = new SqlCommand(); 
     262            SqlDataAdapter dataAdapter = new SqlDataAdapter(cmd); 
     263            cmd.CommandText = "sp_GetZestawienieZamowien"; 
     264            cmd.CommandType = CommandType.StoredProcedure; 
     265 
     266            rEKLAMADataSet.VIEW_ZESTAWIENIE_ZAMOWIEN_NOWE.Clear(); 
     267            rEKLAMADataSet.ReklamyZestawienie.Clear(); 
     268 
     269            cmd.Parameters.Clear(); 
     270 
     271            if (nrZamToolStripTextBox.Text.Trim() != "") 
     272            { 
     273                int i; 
     274                if (!Int32.TryParse(nrZamToolStripTextBox.Text.Trim(), out i)) 
     275                { 
     276                    MessageBox.Show("Podaj prawid³owy numer zamówienia."); 
     277                    return; 
     278                } 
     279                cmd.Parameters.AddWithValue("@nrZamowienia", nrZamToolStripTextBox.Text.Trim()); 
     280            } 
     281 
     282            if (rokToolStripTextBox.Text.Trim() != "") 
     283            { 
     284                int i; 
     285                if (!Int32.TryParse(rokToolStripTextBox.Text.Trim(), out i)) 
     286                { 
     287                    MessageBox.Show("Podaj prawid³owy rok."); 
     288                    return; 
     289                } 
     290                cmd.Parameters.AddWithValue("@rokZamowienia", rokToolStripTextBox.Text.Trim()); 
     291            } 
     292 
     293            if (txtMiesiac.Text.Trim() != "") 
     294            { 
     295                int i; 
     296                if (!Int32.TryParse(txtMiesiac.Text.Trim(), out i) || i > 12 || i <= 0) 
     297                { 
     298                    MessageBox.Show("Podaj prawid³owy miesi¹c."); 
     299                    return; 
     300                } 
     301                cmd.Parameters.AddWithValue("@miesiacZamowienia", txtMiesiac.Text.Trim()); 
     302            } 
     303 
     304            if (kodRozliczeniowyToolStripTextBox.Text.Trim() != "") 
     305                cmd.Parameters.AddWithValue("@kodAgenta", kodRozliczeniowyToolStripTextBox.Text.Trim()); 
     306 
     307            if (kodKlientaToolStripTextBox.Text.Trim() != "") 
     308                cmd.Parameters.AddWithValue("@kodKlienta", kodKlientaToolStripTextBox.Text.Trim()); 
     309 
     310            if (agencjaToolStripComboBox.Text.Trim() != "") 
     311                cmd.Parameters.AddWithValue("@agencja", agencjaToolStripComboBox.Text.Trim()); 
     312 
     313            dataAdapter.SelectCommand = cmd; 
     314 
     315            dataAdapter.SelectCommand.Connection = new SqlConnection(ConnString.getConnString().Value); 
     316            dataAdapter.Fill(rEKLAMADataSet.VIEW_ZESTAWIENIE_ZAMOWIEN_NOWE); 
     317            commandExecuted = true; 
    340318        } 
    341319 
  • trunk/BazaReklam/ZestawienieZamowienForm.resx

    r790 r791  
    199199    <value> 
    200200        iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 
    201         YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAACZ5JREFUWEellwlU 
     201        YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAACZ9JREFUWEellwlU 
    202202        lOUax19AwwVScYmkEFxCQQS83YtLat5cTlGWp4yyyDQ0DVEyFB3QGVlkhxEQEXBDDAoIIwoRZRnWYRcY 
    203203        UGAYFlklBEREQP73eYG695yr515ozvmf75vvm3l//+d5t+dVYs/5RO5nG7oG2B5lFWasqsImqaiyjsGn 
     
    213213        RYVi4HJW0WO3c+c77GwONpq9/fYXo+NgXLNBufeCSSmSD9CItx8xIaWBVxqIRwQPDQ2GVFGP1oFetPT1 
    214214        oqqzE9cb2nrPSO5UeUhqqtwSiu8dFxztXmlqupNMzBzPlFRqPW8SjFhzIO0wILEDMu0xWJOISIpcIleg 
    215         beAxegefoP1xD6ofdCBdoXgYJJFV+SQVVzmlVMqdE4ua9++2kKuqqr5FBtTH3BWZYoN3nYWrhpBiA9yi 
    216         TOT7oirnZwRFRKG27xG6+vvQP9CPh2REKBQOSeqaHwSklVT6JMmqXBLLq13S6muFgYE9hkuXehJcbzzL 
    217         89TmQKN0RG0Fkmg9KL2EXyND8GOeDNXdvZB3P8T93h7UdnYhu/F+71VpRRU34JVcXn0yoUzudkte73mz 
    218         rM1s88YEgr9NenGsWVAWbNVa0SNe3IqoLTQDIhF62h3xNZ3Ib+2A7H4nitt+H44+5nZDV0RxU7svpf9U 
    219         oqza/rcyuVdqdYNzYn2z5S6LYgLvJmmOycBjVz0d+Te6sWX7dAf7vZfQQHRHkJcTou624paiBck1TUiv 
    220         aUZSRQN+KW3AxULFwIX8uu6TCaVyu1/KavwkVU3C1IaWXZ+bFxH4OxLfqv+/T6/bsjfaDum2PxAZoEuo 
    221         h3zbTSgqLsKVc34IzaxARHk7ImX38WN+LaKL6/BDUR2u0n1IRg2EqTV9wtT6zgvShhYvibx97SrT62My 
    222         wCPn8D5fIwz4G+Oh8xIU2KxBTGoeYuPi4R0Wi+CSh7iYXYvLeQqE5dbiYk4tgjMVCJDUwPWGnL4rBoRZ 
    223         dd1eV64+0tTUDB1TF/Qf07vW6bwUCP4bBs+YoM/bEPWWc5FyaAtK4iPh6Xgcgcl3EZjdiLMZCgSSAiQK 
    224         eKUSPKkGl6WNCM1tRXBcY7+5vv7glClTAgwNDS3JxKz/uTI+cVhgkLJu4dMnYmM8OW2EPl9jPPJYhi4n 
    225         fTQd0EGD3SqUhnvCVXQcfilV8M5shVjSAL/UOpzLbEB4YQs801oQIm2F9Z6vEBoSzAdpr0fQ+afLtWau 
    226         H10Zn788d1npOjZ99xp63A3xyM0QPa5L0elkgA7hErQJ9NB8+DW0+JqjmEw4Hz2IgPAYBKUr4JPRCp/0 
    227         NlyStiEsJgHbt5rBTyxG++8duFPXhh9tzJBjwqRLJrC1ZGLKczPRsmuepPWoHh44GuDBSX10iPTRzuHH 
    228         FqPJ9jXUH1iImr3zUSt4C3XfuyHa/Sg8j1jDy94WHoJDEO3bifNHrJDjLYKb6ARK7tbj1/Bj6Pv5PcBz 
    229         FWrWq+X/XZ2tfKaJbYyp3N0++/c2wWK0HtOjiBcPg1vs9NBEkTccXAiF1XxUW+qg4gttlFksQKX9Vih8 
    230         baAIdID8tAAy0T5Iv9wMmd8puIsDcPbQZ+iJeoe2cWsg2QLwXoO69WpFq9XYG/9lovwD9ZnCD7SGeKRN 
    231         3y1Coy3p0CLcs1mEemuC7yP4bl1U7pgH2fZXcfsjLRRseRk5m19CxvrZSF01E0mvT0eC4YtIXKmLXG8X 
    232         1JstwaDAGEjcTvXEfiDlC8BnLe5tVC9ZrzbcHVP/7I7Cf2ro55lpos56AeS759N1IWqtFgyD5V/rouor 
    233         HdwZhZds00LhB3OR+44msjbMgWTtLKSumIHrRi/iNwN1/LxwKuKMtVB0/AjaPzHqhr0RkPDpiInUHYDv 
    234         ajSYzS7f8tGnB8nADJIKK143Y2nKullPZdu1h6NR7CPobh1U7tLB3S/nocKC0v7pq/gDzs1mb5yD9Ddn 
    235         IWWVBpJXzsBZRnUhZYAbiHl1MsI1JkNy+HB9tJHSTRxbBsR/TMXMXtrcPsNPP/2Eww4OFQTnu+Vw/Tjx 
    236         eyN1m0STyd3J/9BA5U4dVHH4Dh2Uf64NmfkrKKa0F73/MvLe1YR08xxkvjUHaWso+pUaSFmhgfMTlRG3 
    237         SA3h0ydCqKw05MxYoYmKyiWad943TSbE44g+EGOGe021yM4rwvLly3n59g1pLjfA5+esZZOUzUXaqhHR 
    238         ei/cTzKZjrQ3ZkK6SRMF772MAkp7wftzkU/R89SnUuQJS6chWpuinUFQxob8GVNQKXRNi7Hz1F4AyZa0 
    239         iWp00yxjFhvu7wFJdgFc3dygp6cXRu92kGb/sUmo0A2vYF6nA95Ok8lKHuZqE67Yqk244aqufNt3qkqt 
    240         eKJKq6cya3NjrN6BMdl+xtI/ZCz2dcYuURl8bhQqoiuvhtaQdEl8K55sYGr65lGBqNnY2CRcV1f3kpKS 
    241         Eq8VNo2+/8PDcCZUSXNIS0hvkniVSywmIDmRXEfF78kH+3YUyM8DpiR+MuL/54eT/6wJ+XfyyvaSeOS8 
    242         /3n6n3mW5Eb4C75y8azwH/KD5/xRAIfwex3SK6NAPpi4eQ591pLLn/Gpx9viaeel2jD8XxybB3qHlpse 
    243         AAAAAElFTkSuQmCC 
     215        beAxegefoP1xD6ofdCBdoXgYJJFV+SQVVzmlVMqdE4ua9++2kKuqqr5FBtTH3BWZYoN3TwpXDSHFBrhF 
     216        mcj3RVXOzwiKiEJt3yN09fehf6AfD8mIUCgcktQ1PwhIK6n0SZJVuSSWV7uk1dcKAwN7DJcu9SS43niW 
     217        56nNgUbpiNoKJNF6UHoJv0aG4Mc8Gaq7eyHvfoj7vT2o7exCduP93qvSiipuwCu5vPpkQpnc7Za83vNm 
     218        WZvZ5o0JBH+b9OJYs6As2Kq1oke8uBVRW2gGRCL0tDviazqR39oB2f1OFLf9Phx9zO2GrojipnZfSv+p 
     219        RFm1/W9lcq/U6gbnxPpmy10WxQTeTdIck4HHrno68m90Y8v26Q72ey+hgeiOIC8nRN1txS1FC5JrmpBe 
     220        04ykigb8UtqAi4WKgQv5dd0nE0rldr+U1fhJqpqEqQ0tuz43LyLwdyS+Vf9/n163ZW+0HdJtfyAyQJdQ 
     221        D/m2m1BUXIQr5/wQmlmBiPJ2RMru48f8WkQX1+GHojpcpfuQjBoIU2v6hKn1nRekDS1eEnn72lWm18dk 
     222        gEfO4X2+RhjwN8ZD5yUosFmDmNQ8xMbFwzssFsElD3ExuxaX8xQIy63FxZxaBGcqECCpgesNOX1XDAiz 
     223        6rq9rlx9pKmpGTqmLug/pnet03kpEPw3DJ4xQZ+3Ieot5yLl0BaUxEfC0/E4ApPvIjC7EWczFAgkBUgU 
     224        8EoleFINLksbEZrbiuC4xn5zff3BKVOmBBgaGlqSiVn/c2V84rDAIGXdwqdPxMZ4ctoIfb7GeOSxDF1O 
     225        +mg6oIMGu1UoDfeEq+g4/FKq4J3ZCrGkAX6pdTiX2YDwwhZ4prUgRNoK6z1fITQkmA/SXo+g80+Xa81c 
     226        P7oyPn957rLSdWz67jX0uBvikZshelyXotPJAB3CJWgT6KH58Gto8TVHMZlwPnoQAeExCEpXwCejFT7p 
     227        bbgkbUNYTAK2bzWDn1iM9t87cKeuDT/amCHHhEmXTGBrycSU52aiZdc8SetRPTxwNMCDk/roEOmjncOP 
     228        LUaT7WuoP7AQNXvno1bwFuq+d0O0+1F4HrGGl70tPASHINq3E+ePWCHHWwQ30QmU3K3Hr+HH0Pfze4Dn 
     229        KtSsV8v/uzpb+UwT2xhTubt99u9tgsVoPaZHES8eBrfY6aGJIm84uBAKq/mottRBxRfaKLNYgEr7rVD4 
     230        2kAR6AD5aQFkon2QfrkZMr9TcBcH4Oyhz9AT9Q5t49ZAsgXgvQZ169WKVquxN/7LRPkH6jOFH2gN8Uib 
     231        vluERlvSoUW4Z7MI9dYE30fw3bqo3DEPsu2v4vZHWijY8jJyNr+EjPWzkbpqJpJen44EwxeRuFIXud4u 
     232        qDdbgkGBMZC4neqJ/UDKF4DPWtzbqF6yXm24O6b+2R2F/9TQzzPTRJ31Ash3z6frQtRaLRgGy7/WRdVX 
     233        OrgzCi/ZpoXCD+Yi9x1NZG2YA8naWUhdMQPXjV7Ebwbq+HnhVMQZa6Ho+BG0f2LUDXsjIOHTEROpOwDf 
     234        1Wgwm12+5aNPD5KBGSQVVrxuxtKUdbOeyrZrD0ej2EfQ3Tqo3KWDu1/OQ4UFpf3TV/EHnJvN3jgH6W/O 
     235        QsoqDSSvnIGzjOpCygA3EPPqZIRrTIbk8OH6aCOlmzi2DIj/mIqZvbS5fYaffvoJhx0cKgjOd8vh+nHi 
     236        90bqNokmk7uT/6GByp06qOLwHToo/1wbMvNXUExpL3r/ZeS9qwnp5jnIfGsO0tZQ9Cs1kLJCA+cnKiNu 
     237        kRrCp0+EUFlpyJmxQhMVlUs077xvmkyIxxF9IMYM95pqkZ1XhOXLl/Py7RvSXG6Az89ZyyYpm4u0VSOi 
     238        9V64n2QyHWlvzIR0kyYK3nsZBZT2gvfnIp+i56lPpcgTlk5DtDZFO4OgjA35M6agUuiaFmPnqb0Aki1p 
     239        E9XoplnGLDbc3wOS7AK4urlBT08vjN7tIM3+Y5NQoRtewbxOB7ydJpOVPMzVJlyxVZtww1Vd+bbvVJVa 
     240        8USVVk9l1ubGWL0DY7L9jKV/yFjs64xdojL43ChURFdeDa0h6ZL4VjzZwNT0zaMCUbOxsUm4rq7uJSUl 
     241        JV4rbBp9/4eH4UyokuaQlpDeJPEql1hMQHIiuY6K35MP9u0okJ8HTEn8ZMT/zw8n/1kT8u/kle0l8ch5 
     242        //P0P/MsyY3wF3zl4lnhP+QHz/mjAA7h9zqkV0aBfDBx8xz6rCWXP+NTj7fF085LtWH4vwAAIQd37nCS 
     243        pwAAAABJRU5ErkJggg== 
    244244</value> 
    245245  </data> 
     
    275275        iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 
    276276        YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAABXRJREFUSEuVlQtQ 
    277         VFUYx10VG0JbMg0ZSGAmncpycPIxlqESW1CoEYyMj5BU1NDMCgNcl8tjWFDQQZHAlZVhWQQUYuQlaqRi 
     277        VFUYx10VG0JbMg0ZSGAmncpycPIxlqESW1CoEYyMj5BU1NDMCgNclwvs8FDQQZHAlZVhWQQUYuQlaqRi 
    278278        giSKBIK8BFFYQJLF5c3u/vvOzlIqC9aZ+c3de+49//89337fd3gTxhnbth034vONjsycaeTW1vakQ6F4 
    279         kD883Judnh79By0bJKBnPJmxn4WG5ombmtrBhlYLVFU1g+M4rY/P0YYNG/yPuLjssKfVLxMTCd7/comI 
    280         kJlIJJe6derPDWZWXf1AZ7ZzZ0ijm5v3sVWrPAVkYEJM+k9GwcH5zjdu1BnSHzUXFhYDV9ftWldXr2ZH 
    281         x6/EJiYmZmRiNK5RQEB6qFLZ80KDuLhE7NoVheJiIC3tIYTCVMyfb5dA4jbjmvj6pmb8q04xMTCGhgax 
    282         bp0I/v7JWLjwY5SUDKOmBnB09Ggj8XXEjDF3IRZn3mSaQ0MaqNWGDTIzz2HLlkhERBRAJJKgtRV49AhY 
    283         tGhZNQmLCKuxDHgxMXltGg3Q3z+Mri4lTiXLERIYiODgQEglErS0PER6ev7grFmzU5YuXdG4ceO3uHhR 
    284         ieXLIzV8/qsyEt5LWBo0OH/+vAnH/aoeGNCgtaUNJ5OSUdTchgo1UPgEOHOnHcekMqTIU3tIIJGy1Mfc 
    285         3OywlZVN2rRpphKaO0g4EnyDBomJF97mOLG2s7Mb8TI5OilU/UTLoAaljweR96Afp+5Dl6YWFhbRJGJH 
    286         vEt8SrgRHxGvj5mysbEZgvLyezh7NgvXWrugJHE1JX9dnxrFnf3Ivt8HebUK8rs98PLcdIuEnIjpxDT9 
    287         ldUDK75nBqtEXTWGhMRtundPQfEOwXUVUN+rRpVqCNdJvEDRh4x6FU5WKJFYo4WPj4+Klvygj/foaj50 
    288         qHJ6QkJdklxecVMkyhQ7OHjO2bFDuK+x8RG4oCDktgG/tfThsqIf+c29ONugQnJVN2JuKyGv1WDffhH7 
    289         H8KJNw3GOzQ0O1WlYhEGOjpoYUxGj6vrnvrKylZERx2FjMJwuqEXp+u6kUbIKpWIvd0FyS0lkmq12Lp1 
     279        kD883Judnh79By0bJKBnPJmxn4WE5IU2NbWDDa0WqKpqBsdxWh+fow0bNvgfcXHZYU+rXyYmErz/5RIR 
     280        ITORSC5169SfG8ysuvqBzmznTnGjm5v3sVWrPAVkYEJM+k9GwcH5zjdu1BnSHzUXFhYDV9ftWldXr2ZH 
     281        x69CTUxMzMjEaFyjgID0EKWy54UGcXGJ2LUrCsXFQFraQwiFqZg/3y6BxG3GNfH1Tc34V51iYmAMDQ1i 
     282        3ToR/P2TsXDhxygpGUZNDeDo6NFG4uuIGWPuIjQ08ybTHBrSQK02bJCZeQ5btkQiIqIAIpEEra3Ao0fA 
     283        okXLqklYRFiNZcCLiclr02iA/v5hdHUpcSpZDnFgIIKDAyGVSNDS8hDp6fmDs2bNTlm6dEXjxo3f4uJF 
     284        JZYvj9Tw+a/KSHgvYWnQ4Pz58yYc96t6YECD1pY2nExKRlFzGyrUQOET4MyddhyTypAiT+0hgUTKUh9z 
     285        c7PDVlY2adOmmUpo7iDhSPANGiQmXnib48Tazs5uxMvk6KRQ9RMtgxqUPh5E3oN+nLoPXZpaWFhEk4gd 
     286        8S7xKeFGfES8PmbKxsZmCMrL7+Hs2Sxca+2CksTVlPx1fWoUd/Yj+34f5NUqyO/2wMtz0y0SciKmE9P0 
     287        V1YPrPieGawSddUoFsdtundPQfEW47oKqO9Vo0o1hOskXqDoQ0a9CicrlEis0cLHx0dFS37Qx3t0NR86 
     288        VDk9IaEuSS6vuCkSZYY6OHjO2bFDuK+x8RG4oCDktgG/tfThsqIf+c29ONugQnJVN2JuKyGv1WDffhH7 
     289        H8KJNw3GOyQkO1WlYhEGOjpoYUxGj6vrnvrKylZERx2FjMJwuqEXp+u6kUbIKpWIvd0FyS0lkmq12Lp1 
    290290        8x0SPqA3GL2DqKgspULRBYVCiYEBShMaKhUJns5HXm4BjsozIKlW40R5N46T8JGbjxFbpkRC9RC4rAK1 
    291         ra1ttpWNTYjeYFTcJwQEJNYWFdVSFdajoqIZTU0dUCp7dUZq9TAkcbGITsnCsdu9iP6T7iuGISXDhOwr 
    292         OBASiIuXfwfn6/vE/jXjVfq0fHYX3t5hnhx3Zigjo4QKpRKFhdUoLW3A3bstoDNAZ1R45QqCORH8hPvh 
    293         v5/DQXGYLkUZhcWX0S5ZCaydAWczwyb8JUucv968WXSVLUhOvobc3HIUFFTSrhrIrBbe3vvovhSXLpVQ 
    294         6H5BXZ0KWdk5KpZB9yM/BBp2AzlrgQ3mcLfgf/n8Tlj/Zk3Jbu5c2wAXl+3X/Pw4rVRaiJycSoSHS7Fm 
    295         zTdwctqIvXtjYG/vjPj4W1i5UnDVmMeTwckEkDkBNd8B59yB9Xw4zZ/joa+Hf/4T9oMVhzXhYG39VoBA 
    296         4F60Zw+nFQp/pnZ8gBpaHlxcvODlFYSgoBSYmZkl0btCc6OJ6/HZVCD+EzqFtqJd6gVf36AuesZOO1Z4 
    297         zwy2m6kE6+UOlpbW3LJl9jfs7R21/v4nEBaWhcOHL9AuBAoej3eC3vmCFZjVS5NWQDAFraGrUVbbgvUe 
    298         HjU0/xMx22Bt0OTTRgJLy9nh8+a9V7Z48eqBBQverzU2NmYHipB4h5jCPmrW5Al23n5+f7m7u5eZmppK 
    299         ae57Zj6Wwcj8iBGr0s8JH0JM/EiwhvYKMdJiWIiX6IV30/UDfTRe5KF7PplgrfcNgpmxKwvl04XFjIz1 
    300         X20x8vxvfYO6y+gChbsAAAAASUVORK5CYII= 
     291        ra1ttpWNjVhvMCruEwICEmuLimqpCutRUdGMpqYOKJW9OiO1ehiSuFhEp2Th2O1eRP9J9xXDkJJhQvYV 
     292        HBAH4uLl38H5+j6xf814lT4tn92Ft3eYJ8edGcrIKKFCqURhYTVKSxtw924L6AzQGRVeuYJgTgQ/4X74 
     293        7+dwMDRMl6KMwuLLaJesBNbOgLOZYRP+kiXOX2/eLLrKFiQnX0NubjkKCippVw1kVgtv7310X4pLl0oo 
     294        dL+grk6FrOwcFcug+5EfAg27gZy1wAZzuFvwv3x+J6x/s6ZkN3eubYCLy/Zrfn6cViotRE5OJcLDpViz 
     295        5hs4OW3E3r0xsLd3Rnz8LaxcKbhqzOPJ4GQCyJyAmu+Ac+7Aej6c5s/x0NfDP/8J+8GKw5pwsLZ+K0Ag 
     296        cC/as4fTCoU/Uzs+QA0tDy4uXvDyCkJQUArMzMyS6F2hudHE9fhsKhD/CZ1CW9Eu9YKvb1AXPWOnHSu8 
     297        ZwbbzVSC9XIHS0trbtky+xv29o5af/8TCAvLwuHDF2gXAgWPxztB73zBCszqpUkrIJiC1pDVKKttwXoP 
     298        jxqa/4mYbbA2aPJpI4Gl5ezwefPeK1u8ePXAggXv1xobG7MDRUi8Q0xhHzVr8gQ7bz+/v9zd3ctMTU2l 
     299        NPc9Mx/LYGR+xIhV6eeEDxFK/EiwhvYKMdJiWIiX6IV30/UDfTRe5KF7PplgrfcNgpmxKwvl04XFjIz1 
     300        X20x8vxvbMe6yP+pQ2kAAAAASUVORK5CYII= 
    301301</value> 
    302302  </data> 
     
    432432</value> 
    433433  </data> 
    434   <metadata name="rEKLAMADataSet.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> 
    435     <value>814, 17</value> 
    436   </metadata> 
    437434  <metadata name="wyszukajToolStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> 
    438435    <value>1107, 17</value> 
     
    495492    <value>True</value> 
    496493  </metadata> 
     494  <metadata name="DoZafakturowania.UserAddedColumn" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
     495    <value>True</value> 
     496  </metadata> 
    497497  <metadata name="SumaNaNastepnejFakturze.UserAddedColumn" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
    498     <value>True</value> 
    499   </metadata> 
    500   <metadata name="DoZafakturowania.UserAddedColumn" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
    501498    <value>True</value> 
    502499  </metadata> 
     
    512509  <metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> 
    513510    <value>454, 54</value> 
    514   </metadata> 
    515   <metadata name="RABAT_WARTOSC.UserAddedColumn" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
    516     <value>True</value> 
    517   </metadata> 
    518   <metadata name="wyroznienie.UserAddedColumn" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
    519     <value>True</value> 
    520   </metadata> 
    521   <metadata name="reklamyZestawienieBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> 
    522     <value>17, 54</value> 
    523511  </metadata> 
    524512  <data name="zamToolStripButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">