|
@@ -28,23 +28,32 @@
|
|
|
/// </summary>
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
+ this.components = new System.ComponentModel.Container();
|
|
|
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
|
|
this.DgvProductList = new System.Windows.Forms.DataGridView();
|
|
|
+ this.Column2 = new System.Windows.Forms.DataGridViewImageColumn();
|
|
|
+ this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
+ this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.PanelOrder = new System.Windows.Forms.Panel();
|
|
|
this.LblSum = new System.Windows.Forms.Label();
|
|
|
this.LblDiscount = new System.Windows.Forms.Label();
|
|
|
this.BtnCheckOut = new System.Windows.Forms.Button();
|
|
|
- this.Column2 = new System.Windows.Forms.DataGridViewImageColumn();
|
|
|
- this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
- this.Column7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
|
|
this.BtnDell = new System.Windows.Forms.Button();
|
|
|
+ this.CmbPickUpPoint = new System.Windows.Forms.ComboBox();
|
|
|
+ this.label2 = new System.Windows.Forms.Label();
|
|
|
+ this.bookClubKMADataSet1 = new СУБД_Книжный_клуб.BookClubKMADataSet();
|
|
|
+ this.BSPickUpPoint = new System.Windows.Forms.BindingSource(this.components);
|
|
|
+ this.pickupPointTableAdapter = new СУБД_Книжный_клуб.BookClubKMADataSetTableAdapters.PickupPointTableAdapter();
|
|
|
+ this.SaveToPDF = new System.Windows.Forms.SaveFileDialog();
|
|
|
this.panel1.SuspendLayout();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.DgvProductList)).BeginInit();
|
|
|
this.PanelOrder.SuspendLayout();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.bookClubKMADataSet1)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.BSPickUpPoint)).BeginInit();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
|
// panel1
|
|
@@ -104,25 +113,49 @@
|
|
|
this.DgvProductList.RowHeadersVisible = false;
|
|
|
this.DgvProductList.RowTemplate.Height = 100;
|
|
|
this.DgvProductList.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
|
|
- this.DgvProductList.Size = new System.Drawing.Size(748, 397);
|
|
|
+ this.DgvProductList.Size = new System.Drawing.Size(748, 328);
|
|
|
this.DgvProductList.TabIndex = 2;
|
|
|
this.DgvProductList.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.DgvProductList_CellValueChanged);
|
|
|
//
|
|
|
+ // Column2
|
|
|
+ //
|
|
|
+ this.Column2.HeaderText = "Photo";
|
|
|
+ this.Column2.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Zoom;
|
|
|
+ this.Column2.Name = "Column2";
|
|
|
+ this.Column2.ReadOnly = true;
|
|
|
+ this.Column2.Resizable = System.Windows.Forms.DataGridViewTriState.False;
|
|
|
+ //
|
|
|
+ // Column3
|
|
|
+ //
|
|
|
+ this.Column3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
+ dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
+ this.Column3.DefaultCellStyle = dataGridViewCellStyle1;
|
|
|
+ this.Column3.HeaderText = "Info";
|
|
|
+ this.Column3.Name = "Column3";
|
|
|
+ this.Column3.ReadOnly = true;
|
|
|
+ //
|
|
|
+ // Column7
|
|
|
+ //
|
|
|
+ this.Column7.HeaderText = "ProductCount";
|
|
|
+ this.Column7.Name = "Column7";
|
|
|
+ //
|
|
|
// PanelOrder
|
|
|
//
|
|
|
+ this.PanelOrder.Controls.Add(this.label2);
|
|
|
+ this.PanelOrder.Controls.Add(this.CmbPickUpPoint);
|
|
|
this.PanelOrder.Controls.Add(this.LblSum);
|
|
|
this.PanelOrder.Controls.Add(this.LblDiscount);
|
|
|
this.PanelOrder.Controls.Add(this.BtnCheckOut);
|
|
|
this.PanelOrder.Dock = System.Windows.Forms.DockStyle.Bottom;
|
|
|
- this.PanelOrder.Location = new System.Drawing.Point(0, 514);
|
|
|
+ this.PanelOrder.Location = new System.Drawing.Point(0, 468);
|
|
|
this.PanelOrder.Name = "PanelOrder";
|
|
|
- this.PanelOrder.Size = new System.Drawing.Size(772, 70);
|
|
|
+ this.PanelOrder.Size = new System.Drawing.Size(772, 116);
|
|
|
this.PanelOrder.TabIndex = 3;
|
|
|
//
|
|
|
// LblSum
|
|
|
//
|
|
|
this.LblSum.AutoSize = true;
|
|
|
- this.LblSum.Location = new System.Drawing.Point(12, 13);
|
|
|
+ this.LblSum.Location = new System.Drawing.Point(3, 90);
|
|
|
this.LblSum.Name = "LblSum";
|
|
|
this.LblSum.Size = new System.Drawing.Size(65, 23);
|
|
|
this.LblSum.TabIndex = 2;
|
|
@@ -131,7 +164,7 @@
|
|
|
// LblDiscount
|
|
|
//
|
|
|
this.LblDiscount.AutoSize = true;
|
|
|
- this.LblDiscount.Location = new System.Drawing.Point(12, 38);
|
|
|
+ this.LblDiscount.Location = new System.Drawing.Point(358, 90);
|
|
|
this.LblDiscount.Name = "LblDiscount";
|
|
|
this.LblDiscount.Size = new System.Drawing.Size(65, 23);
|
|
|
this.LblDiscount.TabIndex = 1;
|
|
@@ -141,7 +174,7 @@
|
|
|
//
|
|
|
this.BtnCheckOut.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
|
- this.BtnCheckOut.Location = new System.Drawing.Point(506, 13);
|
|
|
+ this.BtnCheckOut.Location = new System.Drawing.Point(540, 73);
|
|
|
this.BtnCheckOut.Name = "BtnCheckOut";
|
|
|
this.BtnCheckOut.Size = new System.Drawing.Size(229, 40);
|
|
|
this.BtnCheckOut.TabIndex = 0;
|
|
@@ -149,39 +182,57 @@
|
|
|
this.BtnCheckOut.UseVisualStyleBackColor = true;
|
|
|
this.BtnCheckOut.Click += new System.EventHandler(this.BtnCheckOut_Click);
|
|
|
//
|
|
|
- // Column2
|
|
|
- //
|
|
|
- this.Column2.HeaderText = "Photo";
|
|
|
- this.Column2.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Zoom;
|
|
|
- this.Column2.Name = "Column2";
|
|
|
- this.Column2.ReadOnly = true;
|
|
|
- this.Column2.Resizable = System.Windows.Forms.DataGridViewTriState.False;
|
|
|
- //
|
|
|
- // Column3
|
|
|
- //
|
|
|
- this.Column3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
|
- dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
- this.Column3.DefaultCellStyle = dataGridViewCellStyle4;
|
|
|
- this.Column3.HeaderText = "Info";
|
|
|
- this.Column3.Name = "Column3";
|
|
|
- this.Column3.ReadOnly = true;
|
|
|
- //
|
|
|
- // Column7
|
|
|
- //
|
|
|
- this.Column7.HeaderText = "ProductCount";
|
|
|
- this.Column7.Name = "Column7";
|
|
|
- //
|
|
|
// BtnDell
|
|
|
//
|
|
|
this.BtnDell.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
|
- this.BtnDell.Location = new System.Drawing.Point(16, 481);
|
|
|
+ this.BtnDell.Location = new System.Drawing.Point(12, 422);
|
|
|
this.BtnDell.Name = "BtnDell";
|
|
|
- this.BtnDell.Size = new System.Drawing.Size(322, 27);
|
|
|
+ this.BtnDell.Size = new System.Drawing.Size(254, 40);
|
|
|
this.BtnDell.TabIndex = 4;
|
|
|
this.BtnDell.Text = "Удалить товар из заказа";
|
|
|
this.BtnDell.UseVisualStyleBackColor = true;
|
|
|
this.BtnDell.Click += new System.EventHandler(this.BtnDell_Click);
|
|
|
//
|
|
|
+ // CmbPickUpPoint
|
|
|
+ //
|
|
|
+ this.CmbPickUpPoint.DataSource = this.BSPickUpPoint;
|
|
|
+ this.CmbPickUpPoint.DisplayMember = "AddressPickupPoint";
|
|
|
+ this.CmbPickUpPoint.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
+ this.CmbPickUpPoint.FormattingEnabled = true;
|
|
|
+ this.CmbPickUpPoint.Location = new System.Drawing.Point(540, 38);
|
|
|
+ this.CmbPickUpPoint.Name = "CmbPickUpPoint";
|
|
|
+ this.CmbPickUpPoint.Size = new System.Drawing.Size(229, 31);
|
|
|
+ this.CmbPickUpPoint.TabIndex = 5;
|
|
|
+ this.CmbPickUpPoint.ValueMember = "IdPickupPoint";
|
|
|
+ this.CmbPickUpPoint.SelectedIndexChanged += new System.EventHandler(this.CmbPickUpPoint_SelectedIndexChanged);
|
|
|
+ //
|
|
|
+ // label2
|
|
|
+ //
|
|
|
+ this.label2.AutoSize = true;
|
|
|
+ this.label2.Location = new System.Drawing.Point(536, 15);
|
|
|
+ this.label2.Name = "label2";
|
|
|
+ this.label2.Size = new System.Drawing.Size(233, 23);
|
|
|
+ this.label2.TabIndex = 6;
|
|
|
+ this.label2.Text = "Выберите пункт выдачи";
|
|
|
+ //
|
|
|
+ // bookClubKMADataSet1
|
|
|
+ //
|
|
|
+ this.bookClubKMADataSet1.DataSetName = "BookClubKMADataSet";
|
|
|
+ this.bookClubKMADataSet1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
|
|
|
+ //
|
|
|
+ // BSPickUpPoint
|
|
|
+ //
|
|
|
+ this.BSPickUpPoint.DataMember = "PickupPoint";
|
|
|
+ this.BSPickUpPoint.DataSource = this.bookClubKMADataSet1;
|
|
|
+ //
|
|
|
+ // pickupPointTableAdapter
|
|
|
+ //
|
|
|
+ this.pickupPointTableAdapter.ClearBeforeFill = true;
|
|
|
+ //
|
|
|
+ // SaveToPDF
|
|
|
+ //
|
|
|
+ this.SaveToPDF.DefaultExt = "pdf";
|
|
|
+ //
|
|
|
// FormOrder
|
|
|
//
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 23F);
|
|
@@ -206,6 +257,8 @@
|
|
|
((System.ComponentModel.ISupportInitialize)(this.DgvProductList)).EndInit();
|
|
|
this.PanelOrder.ResumeLayout(false);
|
|
|
this.PanelOrder.PerformLayout();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.bookClubKMADataSet1)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.BSPickUpPoint)).EndInit();
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
|
}
|
|
@@ -224,5 +277,11 @@
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Column7;
|
|
|
private System.Windows.Forms.Button BtnDell;
|
|
|
+ private System.Windows.Forms.Label label2;
|
|
|
+ private System.Windows.Forms.ComboBox CmbPickUpPoint;
|
|
|
+ private BookClubKMADataSet bookClubKMADataSet1;
|
|
|
+ private System.Windows.Forms.BindingSource BSPickUpPoint;
|
|
|
+ private BookClubKMADataSetTableAdapters.PickupPointTableAdapter pickupPointTableAdapter;
|
|
|
+ private System.Windows.Forms.SaveFileDialog SaveToPDF;
|
|
|
}
|
|
|
}
|