134 lines
5.1 KiB
C#
134 lines
5.1 KiB
C#
namespace ProjectSellPC.Forms.Receipt
|
|
{
|
|
partial class ChequeSettingsForm
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
customerComboBox = new ComboBox();
|
|
label1 = new Label();
|
|
saveButton = new Button();
|
|
label4 = new Label();
|
|
productsDataGridView = new DataGridView();
|
|
ProductColoumn = new DataGridViewComboBoxColumn();
|
|
ProductCount = new DataGridViewTextBoxColumn();
|
|
((System.ComponentModel.ISupportInitialize)productsDataGridView).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// customerComboBox
|
|
//
|
|
customerComboBox.FormattingEnabled = true;
|
|
customerComboBox.Location = new Point(152, 6);
|
|
customerComboBox.Name = "customerComboBox";
|
|
customerComboBox.Size = new Size(151, 28);
|
|
customerComboBox.TabIndex = 18;
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(12, 9);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(97, 20);
|
|
label1.TabIndex = 17;
|
|
label1.Text = "Покупатель: ";
|
|
//
|
|
// saveButton
|
|
//
|
|
saveButton.Anchor = AnchorStyles.Bottom;
|
|
saveButton.Location = new Point(125, 297);
|
|
saveButton.Name = "saveButton";
|
|
saveButton.Size = new Size(94, 29);
|
|
saveButton.TabIndex = 19;
|
|
saveButton.Text = "Сохранить";
|
|
saveButton.UseVisualStyleBackColor = true;
|
|
saveButton.Click += saveButton_Click;
|
|
//
|
|
// label4
|
|
//
|
|
label4.AutoSize = true;
|
|
label4.Location = new Point(12, 44);
|
|
label4.Name = "label4";
|
|
label4.Size = new Size(54, 20);
|
|
label4.TabIndex = 15;
|
|
label4.Text = "Товар:";
|
|
//
|
|
// productsDataGridView
|
|
//
|
|
productsDataGridView.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
productsDataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
productsDataGridView.Columns.AddRange(new DataGridViewColumn[] { ProductColoumn, ProductCount });
|
|
productsDataGridView.Location = new Point(12, 67);
|
|
productsDataGridView.Name = "productsDataGridView";
|
|
productsDataGridView.RowHeadersWidth = 51;
|
|
productsDataGridView.Size = new Size(336, 224);
|
|
productsDataGridView.TabIndex = 20;
|
|
//
|
|
// ProductColoumn
|
|
//
|
|
ProductColoumn.HeaderText = "Товары";
|
|
ProductColoumn.MinimumWidth = 6;
|
|
ProductColoumn.Name = "ProductColoumn";
|
|
ProductColoumn.Resizable = DataGridViewTriState.True;
|
|
ProductColoumn.SortMode = DataGridViewColumnSortMode.Automatic;
|
|
ProductColoumn.Width = 125;
|
|
//
|
|
// ProductCount
|
|
//
|
|
ProductCount.HeaderText = "Количество";
|
|
ProductCount.MinimumWidth = 6;
|
|
ProductCount.Name = "ProductCount";
|
|
ProductCount.Width = 125;
|
|
//
|
|
// ChequeSettingsForm
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(360, 338);
|
|
Controls.Add(productsDataGridView);
|
|
Controls.Add(saveButton);
|
|
Controls.Add(customerComboBox);
|
|
Controls.Add(label1);
|
|
Controls.Add(label4);
|
|
Name = "ChequeSettingsForm";
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
Text = "Новый чек";
|
|
Load += ChequeSettingsForm_Load;
|
|
((System.ComponentModel.ISupportInitialize)productsDataGridView).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private ComboBox customerComboBox;
|
|
private Label label1;
|
|
private Button saveButton;
|
|
private Label label4;
|
|
private DataGridView productsDataGridView;
|
|
private DataGridViewComboBoxColumn ProductColoumn;
|
|
private DataGridViewTextBoxColumn ProductCount;
|
|
}
|
|
} |