сделала первую форму
This commit is contained in:
parent
3e69e119b4
commit
de13199fe8
104
Confectionery/ConfectioneryView/FormShop.Designer.cs
generated
104
Confectionery/ConfectioneryView/FormShop.Designer.cs
generated
@ -34,6 +34,15 @@
|
||||
this.labelAddress = new System.Windows.Forms.Label();
|
||||
this.textBoxName = new System.Windows.Forms.TextBox();
|
||||
this.labelName = new System.Windows.Forms.Label();
|
||||
this.groupBoxPastries = new System.Windows.Forms.GroupBox();
|
||||
this.dataGridView = new System.Windows.Forms.DataGridView();
|
||||
this.buttonCancel = new System.Windows.Forms.Button();
|
||||
this.buttonSave = new System.Windows.Forms.Button();
|
||||
this.ColumnId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ColumnName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.ColumnCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.groupBoxPastries.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// labelOpeningDate
|
||||
@ -90,11 +99,93 @@
|
||||
this.labelName.TabIndex = 7;
|
||||
this.labelName.Text = "Название :";
|
||||
//
|
||||
// groupBoxPastries
|
||||
//
|
||||
this.groupBoxPastries.Controls.Add(this.dataGridView);
|
||||
this.groupBoxPastries.Location = new System.Drawing.Point(31, 133);
|
||||
this.groupBoxPastries.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4);
|
||||
this.groupBoxPastries.Name = "groupBoxPastries";
|
||||
this.groupBoxPastries.Padding = new System.Windows.Forms.Padding(5, 4, 5, 4);
|
||||
this.groupBoxPastries.Size = new System.Drawing.Size(536, 384);
|
||||
this.groupBoxPastries.TabIndex = 13;
|
||||
this.groupBoxPastries.TabStop = false;
|
||||
this.groupBoxPastries.Text = "Выпечка";
|
||||
//
|
||||
// dataGridView
|
||||
//
|
||||
this.dataGridView.AllowUserToAddRows = false;
|
||||
this.dataGridView.AllowUserToDeleteRows = false;
|
||||
this.dataGridView.BackgroundColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.ColumnId,
|
||||
this.ColumnName,
|
||||
this.ColumnCount});
|
||||
this.dataGridView.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.dataGridView.Location = new System.Drawing.Point(5, 24);
|
||||
this.dataGridView.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4);
|
||||
this.dataGridView.MultiSelect = false;
|
||||
this.dataGridView.Name = "dataGridView";
|
||||
this.dataGridView.ReadOnly = true;
|
||||
this.dataGridView.RowHeadersVisible = false;
|
||||
this.dataGridView.RowHeadersWidth = 51;
|
||||
this.dataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||||
this.dataGridView.Size = new System.Drawing.Size(522, 356);
|
||||
this.dataGridView.TabIndex = 0;
|
||||
//
|
||||
// buttonCancel
|
||||
//
|
||||
this.buttonCancel.Location = new System.Drawing.Point(449, 529);
|
||||
this.buttonCancel.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4);
|
||||
this.buttonCancel.Name = "buttonCancel";
|
||||
this.buttonCancel.Size = new System.Drawing.Size(101, 36);
|
||||
this.buttonCancel.TabIndex = 15;
|
||||
this.buttonCancel.Text = "Отмена";
|
||||
this.buttonCancel.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// buttonSave
|
||||
//
|
||||
this.buttonSave.Location = new System.Drawing.Point(330, 529);
|
||||
this.buttonSave.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4);
|
||||
this.buttonSave.Name = "buttonSave";
|
||||
this.buttonSave.Size = new System.Drawing.Size(101, 36);
|
||||
this.buttonSave.TabIndex = 14;
|
||||
this.buttonSave.Text = "Сохранить";
|
||||
this.buttonSave.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// ColumnId
|
||||
//
|
||||
this.ColumnId.HeaderText = "Id";
|
||||
this.ColumnId.MinimumWidth = 6;
|
||||
this.ColumnId.Name = "ColumnId";
|
||||
this.ColumnId.ReadOnly = true;
|
||||
this.ColumnId.Visible = false;
|
||||
this.ColumnId.Width = 125;
|
||||
//
|
||||
// ColumnName
|
||||
//
|
||||
this.ColumnName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||
this.ColumnName.HeaderText = "Название выпечки";
|
||||
this.ColumnName.MinimumWidth = 6;
|
||||
this.ColumnName.Name = "ColumnName";
|
||||
this.ColumnName.ReadOnly = true;
|
||||
//
|
||||
// ColumnCount
|
||||
//
|
||||
this.ColumnCount.HeaderText = "Количество";
|
||||
this.ColumnCount.MinimumWidth = 6;
|
||||
this.ColumnCount.Name = "ColumnCount";
|
||||
this.ColumnCount.ReadOnly = true;
|
||||
this.ColumnCount.Width = 125;
|
||||
//
|
||||
// FormShop
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(800, 544);
|
||||
this.ClientSize = new System.Drawing.Size(603, 578);
|
||||
this.Controls.Add(this.buttonCancel);
|
||||
this.Controls.Add(this.buttonSave);
|
||||
this.Controls.Add(this.groupBoxPastries);
|
||||
this.Controls.Add(this.labelOpeningDate);
|
||||
this.Controls.Add(this.dateTimePicker);
|
||||
this.Controls.Add(this.textBoxAddress);
|
||||
@ -102,7 +193,9 @@
|
||||
this.Controls.Add(this.textBoxName);
|
||||
this.Controls.Add(this.labelName);
|
||||
this.Name = "FormShop";
|
||||
this.Text = "FormShop";
|
||||
this.Text = "Магазин";
|
||||
this.groupBoxPastries.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
@ -116,5 +209,12 @@
|
||||
private Label labelAddress;
|
||||
private TextBox textBoxName;
|
||||
private Label labelName;
|
||||
private GroupBox groupBoxPastries;
|
||||
private DataGridView dataGridView;
|
||||
private Button buttonCancel;
|
||||
private Button buttonSave;
|
||||
private DataGridViewTextBoxColumn ColumnId;
|
||||
private DataGridViewTextBoxColumn ColumnName;
|
||||
private DataGridViewTextBoxColumn ColumnCount;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user