Index: trunk/TruckExpoCDN/ExportForm.Designer.cs
===================================================================
--- trunk/TruckExpoCDN/ExportForm.Designer.cs (revision 415)
+++ trunk/TruckExpoCDN/ExportForm.Designer.cs (revision 479)
@@ -31,11 +31,11 @@
             this.components = new System.ComponentModel.Container();
             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ExportForm));
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
             this.exportFakturToolStrip = new System.Windows.Forms.ToolStrip();
             this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
@@ -47,5 +47,4 @@
             this.statusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
             this.dataGridView1 = new System.Windows.Forms.DataGridView();
-            this.backgroundWorker1 = new System.ComponentModel.BackgroundWorker();
             this.EXPORTED = new System.Windows.Forms.DataGridViewCheckBoxColumn();
             this.ID_FAKTURY = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -53,4 +52,6 @@
             this.DATA_WYSTAWIENIA = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.MIEJSCOWOSC_WYSTAWIENIA = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.backgroundWorker1 = new System.ComponentModel.BackgroundWorker();
+            this.cbSelectAll = new System.Windows.Forms.CheckBox();
             this.pelnynumerDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.exportujDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
@@ -84,5 +85,5 @@
             this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
             this.toolStripButton1.Name = "toolStripButton1";
-            this.toolStripButton1.Size = new System.Drawing.Size(110, 36);
+            this.toolStripButton1.Size = new System.Drawing.Size(107, 36);
             this.toolStripButton1.Text = "Export faktur";
             this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
@@ -93,5 +94,5 @@
             this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
             this.toolStripButton2.Name = "toolStripButton2";
-            this.toolStripButton2.Size = new System.Drawing.Size(78, 36);
+            this.toolStripButton2.Size = new System.Drawing.Size(73, 36);
             this.toolStripButton2.Text = "Anuluj";
             this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click);
@@ -102,5 +103,5 @@
             this.refreshToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
             this.refreshToolStripButton.Name = "refreshToolStripButton";
-            this.refreshToolStripButton.Size = new System.Drawing.Size(87, 36);
+            this.refreshToolStripButton.Size = new System.Drawing.Size(83, 36);
             this.refreshToolStripButton.Text = "Odwie¿";
             this.refreshToolStripButton.Click += new System.EventHandler(this.refreshToolStripButton_Click);
@@ -130,5 +131,5 @@
             // 
             this.statusLabel1.Name = "statusLabel1";
-            this.statusLabel1.Size = new System.Drawing.Size(118, 17);
+            this.statusLabel1.Size = new System.Drawing.Size(109, 17);
             this.statusLabel1.Text = "toolStripStatusLabel1";
             this.statusLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
@@ -138,16 +139,16 @@
             this.dataGridView1.AllowUserToAddRows = false;
             this.dataGridView1.AllowUserToDeleteRows = false;
-            dataGridViewCellStyle1.BackColor = System.Drawing.Color.MintCream;
-            this.dataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
+            dataGridViewCellStyle15.BackColor = System.Drawing.Color.MintCream;
+            this.dataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle15;
             this.dataGridView1.AutoGenerateColumns = false;
             this.dataGridView1.BackgroundColor = System.Drawing.Color.White;
-            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
-            dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
-            dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
-            dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-            this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
+            dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle16.BackColor = System.Drawing.SystemColors.Control;
+            dataGridViewCellStyle16.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
+            dataGridViewCellStyle16.ForeColor = System.Drawing.SystemColors.WindowText;
+            dataGridViewCellStyle16.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle16.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle16;
             this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
             this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
@@ -169,4 +170,47 @@
             this.dataGridView1.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dataGridView1_DataError);
             // 
+            // EXPORTED
+            // 
+            this.EXPORTED.DataPropertyName = "EXPORTED";
+            this.EXPORTED.HeaderText = "EXPORTED";
+            this.EXPORTED.Name = "EXPORTED";
+            this.EXPORTED.ReadOnly = true;
+            // 
+            // ID_FAKTURY
+            // 
+            this.ID_FAKTURY.DataPropertyName = "ID_FAKTURY";
+            dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.ID_FAKTURY.DefaultCellStyle = dataGridViewCellStyle17;
+            this.ID_FAKTURY.HeaderText = "ID FAKTURY";
+            this.ID_FAKTURY.Name = "ID_FAKTURY";
+            this.ID_FAKTURY.ReadOnly = true;
+            // 
+            // ID_NABYWCY
+            // 
+            this.ID_NABYWCY.DataPropertyName = "ID_NABYWCY";
+            dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.ID_NABYWCY.DefaultCellStyle = dataGridViewCellStyle19;
+            this.ID_NABYWCY.HeaderText = "ID NABYWCY";
+            this.ID_NABYWCY.Name = "ID_NABYWCY";
+            this.ID_NABYWCY.ReadOnly = true;
+            // 
+            // DATA_WYSTAWIENIA
+            // 
+            this.DATA_WYSTAWIENIA.DataPropertyName = "DATA_WYSTAWIENIA";
+            dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.DATA_WYSTAWIENIA.DefaultCellStyle = dataGridViewCellStyle20;
+            this.DATA_WYSTAWIENIA.HeaderText = "DATA WYSTAWIENIA";
+            this.DATA_WYSTAWIENIA.Name = "DATA_WYSTAWIENIA";
+            this.DATA_WYSTAWIENIA.ReadOnly = true;
+            // 
+            // MIEJSCOWOSC_WYSTAWIENIA
+            // 
+            this.MIEJSCOWOSC_WYSTAWIENIA.DataPropertyName = "MIEJSCOWOSC_WYSTAWIENIA";
+            dataGridViewCellStyle21.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.MIEJSCOWOSC_WYSTAWIENIA.DefaultCellStyle = dataGridViewCellStyle21;
+            this.MIEJSCOWOSC_WYSTAWIENIA.HeaderText = "MIEJSCE";
+            this.MIEJSCOWOSC_WYSTAWIENIA.Name = "MIEJSCOWOSC_WYSTAWIENIA";
+            this.MIEJSCOWOSC_WYSTAWIENIA.ReadOnly = true;
+            // 
             // backgroundWorker1
             // 
@@ -177,52 +221,22 @@
             this.backgroundWorker1.ProgressChanged += new System.ComponentModel.ProgressChangedEventHandler(this.backgroundWorker1_ProgressChanged);
             // 
-            // EXPORTED
-            // 
-            this.EXPORTED.DataPropertyName = "EXPORTED";
-            this.EXPORTED.HeaderText = "EXPORTED";
-            this.EXPORTED.Name = "EXPORTED";
-            this.EXPORTED.ReadOnly = true;
-            // 
-            // ID_FAKTURY
-            // 
-            this.ID_FAKTURY.DataPropertyName = "ID_FAKTURY";
-            dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.ID_FAKTURY.DefaultCellStyle = dataGridViewCellStyle3;
-            this.ID_FAKTURY.HeaderText = "ID FAKTURY";
-            this.ID_FAKTURY.Name = "ID_FAKTURY";
-            this.ID_FAKTURY.ReadOnly = true;
-            // 
-            // ID_NABYWCY
-            // 
-            this.ID_NABYWCY.DataPropertyName = "ID_NABYWCY";
-            dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.ID_NABYWCY.DefaultCellStyle = dataGridViewCellStyle5;
-            this.ID_NABYWCY.HeaderText = "ID NABYWCY";
-            this.ID_NABYWCY.Name = "ID_NABYWCY";
-            this.ID_NABYWCY.ReadOnly = true;
-            // 
-            // DATA_WYSTAWIENIA
-            // 
-            this.DATA_WYSTAWIENIA.DataPropertyName = "DATA_WYSTAWIENIA";
-            dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.DATA_WYSTAWIENIA.DefaultCellStyle = dataGridViewCellStyle6;
-            this.DATA_WYSTAWIENIA.HeaderText = "DATA WYSTAWIENIA";
-            this.DATA_WYSTAWIENIA.Name = "DATA_WYSTAWIENIA";
-            this.DATA_WYSTAWIENIA.ReadOnly = true;
-            // 
-            // MIEJSCOWOSC_WYSTAWIENIA
-            // 
-            this.MIEJSCOWOSC_WYSTAWIENIA.DataPropertyName = "MIEJSCOWOSC_WYSTAWIENIA";
-            dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.MIEJSCOWOSC_WYSTAWIENIA.DefaultCellStyle = dataGridViewCellStyle7;
-            this.MIEJSCOWOSC_WYSTAWIENIA.HeaderText = "MIEJSCE";
-            this.MIEJSCOWOSC_WYSTAWIENIA.Name = "MIEJSCOWOSC_WYSTAWIENIA";
-            this.MIEJSCOWOSC_WYSTAWIENIA.ReadOnly = true;
+            // cbSelectAll
+            // 
+            this.cbSelectAll.AutoSize = true;
+            this.cbSelectAll.Checked = true;
+            this.cbSelectAll.CheckState = System.Windows.Forms.CheckState.Checked;
+            this.cbSelectAll.Location = new System.Drawing.Point(614, 12);
+            this.cbSelectAll.Name = "cbSelectAll";
+            this.cbSelectAll.Size = new System.Drawing.Size(114, 17);
+            this.cbSelectAll.TabIndex = 5;
+            this.cbSelectAll.Text = "Odznacz wszystko";
+            this.cbSelectAll.UseVisualStyleBackColor = true;
+            this.cbSelectAll.CheckedChanged += new System.EventHandler(this.cbSelectAll_CheckedChanged);
             // 
             // pelnynumerDataGridViewTextBoxColumn
             // 
             this.pelnynumerDataGridViewTextBoxColumn.DataPropertyName = "Pelny_numer";
-            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-            this.pelnynumerDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle4;
+            dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            this.pelnynumerDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle18;
             this.pelnynumerDataGridViewTextBoxColumn.HeaderText = "NUMER FAKTURY";
             this.pelnynumerDataGridViewTextBoxColumn.Name = "pelnynumerDataGridViewTextBoxColumn";
@@ -254,4 +268,5 @@
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
             this.ClientSize = new System.Drawing.Size(876, 560);
+            this.Controls.Add(this.cbSelectAll);
             this.Controls.Add(this.dataGridView1);
             this.Controls.Add(this.statusStrip1);
@@ -295,4 +310,5 @@
         private System.Windows.Forms.DataGridViewTextBoxColumn MIEJSCOWOSC_WYSTAWIENIA;
         private System.Windows.Forms.DataGridViewCheckBoxColumn exportujDataGridViewCheckBoxColumn;
+        private System.Windows.Forms.CheckBox cbSelectAll;
     }
 }
