сними с меня эту ношу, Икар (с) (всё готово)
This commit is contained in:
parent
f430bc9773
commit
3433831323
52
FishFactory/FormCanned.Designer.cs
generated
52
FishFactory/FormCanned.Designer.cs
generated
@ -35,14 +35,14 @@
|
|||||||
buttonDel = new Button();
|
buttonDel = new Button();
|
||||||
buttonRef = new Button();
|
buttonRef = new Button();
|
||||||
dataGridView = new DataGridView();
|
dataGridView = new DataGridView();
|
||||||
Number = new DataGridViewTextBoxColumn();
|
|
||||||
Component = new DataGridViewTextBoxColumn();
|
|
||||||
Count = new DataGridViewTextBoxColumn();
|
|
||||||
textBoxName = new TextBox();
|
textBoxName = new TextBox();
|
||||||
textBoxPrice = new TextBox();
|
textBoxPrice = new TextBox();
|
||||||
groupBox1 = new GroupBox();
|
groupBox1 = new GroupBox();
|
||||||
buttonSave = new Button();
|
buttonSave = new Button();
|
||||||
buttonCancel = new Button();
|
buttonCancel = new Button();
|
||||||
|
Number = new DataGridViewTextBoxColumn();
|
||||||
|
Component = new DataGridViewTextBoxColumn();
|
||||||
|
Count = new DataGridViewTextBoxColumn();
|
||||||
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
||||||
groupBox1.SuspendLayout();
|
groupBox1.SuspendLayout();
|
||||||
SuspendLayout();
|
SuspendLayout();
|
||||||
@ -124,27 +124,6 @@
|
|||||||
dataGridView.Size = new Size(627, 443);
|
dataGridView.Size = new Size(627, 443);
|
||||||
dataGridView.TabIndex = 4;
|
dataGridView.TabIndex = 4;
|
||||||
//
|
//
|
||||||
// Number
|
|
||||||
//
|
|
||||||
Number.HeaderText = "Номер";
|
|
||||||
Number.MinimumWidth = 6;
|
|
||||||
Number.Name = "Number";
|
|
||||||
Number.Width = 60;
|
|
||||||
//
|
|
||||||
// Component
|
|
||||||
//
|
|
||||||
Component.HeaderText = "Компонент";
|
|
||||||
Component.MinimumWidth = 6;
|
|
||||||
Component.Name = "Component";
|
|
||||||
Component.Width = 125;
|
|
||||||
//
|
|
||||||
// Count
|
|
||||||
//
|
|
||||||
Count.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
|
||||||
Count.HeaderText = "Количество";
|
|
||||||
Count.MinimumWidth = 6;
|
|
||||||
Count.Name = "Count";
|
|
||||||
//
|
|
||||||
// textBoxName
|
// textBoxName
|
||||||
//
|
//
|
||||||
textBoxName.Location = new Point(107, 18);
|
textBoxName.Location = new Point(107, 18);
|
||||||
@ -201,6 +180,31 @@
|
|||||||
buttonCancel.UseVisualStyleBackColor = true;
|
buttonCancel.UseVisualStyleBackColor = true;
|
||||||
buttonCancel.Click += buttonCancel_Click;
|
buttonCancel.Click += buttonCancel_Click;
|
||||||
//
|
//
|
||||||
|
// Number
|
||||||
|
//
|
||||||
|
Number.HeaderText = "Номер";
|
||||||
|
Number.MinimumWidth = 6;
|
||||||
|
Number.Name = "Number";
|
||||||
|
Number.ReadOnly = true;
|
||||||
|
Number.Visible = false;
|
||||||
|
Number.Width = 60;
|
||||||
|
//
|
||||||
|
// Component
|
||||||
|
//
|
||||||
|
Component.HeaderText = "Компонент";
|
||||||
|
Component.MinimumWidth = 6;
|
||||||
|
Component.Name = "Component";
|
||||||
|
Component.ReadOnly = true;
|
||||||
|
Component.Width = 125;
|
||||||
|
//
|
||||||
|
// Count
|
||||||
|
//
|
||||||
|
Count.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
|
||||||
|
Count.HeaderText = "Количество";
|
||||||
|
Count.MinimumWidth = 6;
|
||||||
|
Count.Name = "Count";
|
||||||
|
Count.ReadOnly = true;
|
||||||
|
//
|
||||||
// FormCanned
|
// FormCanned
|
||||||
//
|
//
|
||||||
AutoScaleDimensions = new SizeF(8F, 20F);
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
||||||
|
1
FishFactory/FormCanneds.Designer.cs
generated
1
FishFactory/FormCanneds.Designer.cs
generated
@ -89,6 +89,7 @@
|
|||||||
dataGridView.ReadOnly = true;
|
dataGridView.ReadOnly = true;
|
||||||
dataGridView.RowHeadersWidth = 51;
|
dataGridView.RowHeadersWidth = 51;
|
||||||
dataGridView.RowTemplate.Height = 24;
|
dataGridView.RowTemplate.Height = 24;
|
||||||
|
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
||||||
dataGridView.Size = new Size(709, 568);
|
dataGridView.Size = new Size(709, 568);
|
||||||
dataGridView.TabIndex = 5;
|
dataGridView.TabIndex = 5;
|
||||||
//
|
//
|
||||||
|
23
FishFactory/FormMain.Designer.cs
generated
23
FishFactory/FormMain.Designer.cs
generated
@ -40,7 +40,7 @@
|
|||||||
buttonIssuedOrder = new Button();
|
buttonIssuedOrder = new Button();
|
||||||
buttonRef = new Button();
|
buttonRef = new Button();
|
||||||
dataGridView = new DataGridView();
|
dataGridView = new DataGridView();
|
||||||
toolStripLabelReplenish = new ToolStripLabel();
|
toolStripLabelReplenish2 = new ToolStripLabel();
|
||||||
toolStrip1.SuspendLayout();
|
toolStrip1.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
||||||
SuspendLayout();
|
SuspendLayout();
|
||||||
@ -48,7 +48,7 @@
|
|||||||
// toolStrip1
|
// toolStrip1
|
||||||
//
|
//
|
||||||
toolStrip1.ImageScalingSize = new Size(20, 20);
|
toolStrip1.ImageScalingSize = new Size(20, 20);
|
||||||
toolStrip1.Items.AddRange(new ToolStripItem[] { toolStripDropDownButton1, toolStripLabelReplenish });
|
toolStrip1.Items.AddRange(new ToolStripItem[] { toolStripDropDownButton1, toolStripLabelReplenish2 });
|
||||||
toolStrip1.Location = new Point(0, 0);
|
toolStrip1.Location = new Point(0, 0);
|
||||||
toolStrip1.Name = "toolStrip1";
|
toolStrip1.Name = "toolStrip1";
|
||||||
toolStrip1.Size = new Size(1107, 27);
|
toolStrip1.Size = new Size(1107, 27);
|
||||||
@ -68,21 +68,21 @@
|
|||||||
// компонентыToolStripMenuItem
|
// компонентыToolStripMenuItem
|
||||||
//
|
//
|
||||||
компонентыToolStripMenuItem.Name = "компонентыToolStripMenuItem";
|
компонентыToolStripMenuItem.Name = "компонентыToolStripMenuItem";
|
||||||
компонентыToolStripMenuItem.Size = new Size(224, 26);
|
компонентыToolStripMenuItem.Size = new Size(182, 26);
|
||||||
компонентыToolStripMenuItem.Text = "Компоненты";
|
компонентыToolStripMenuItem.Text = "Компоненты";
|
||||||
компонентыToolStripMenuItem.Click += компонентыToolStripMenuItem_Click;
|
компонентыToolStripMenuItem.Click += компонентыToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
// консервыToolStripMenuItem
|
// консервыToolStripMenuItem
|
||||||
//
|
//
|
||||||
консервыToolStripMenuItem.Name = "консервыToolStripMenuItem";
|
консервыToolStripMenuItem.Name = "консервыToolStripMenuItem";
|
||||||
консервыToolStripMenuItem.Size = new Size(224, 26);
|
консервыToolStripMenuItem.Size = new Size(182, 26);
|
||||||
консервыToolStripMenuItem.Text = "Консервы";
|
консервыToolStripMenuItem.Text = "Консервы";
|
||||||
консервыToolStripMenuItem.Click += консервыToolStripMenuItem_Click;
|
консервыToolStripMenuItem.Click += консервыToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
// магазиныToolStripMenuItem
|
// магазиныToolStripMenuItem
|
||||||
//
|
//
|
||||||
магазиныToolStripMenuItem.Name = "магазиныToolStripMenuItem";
|
магазиныToolStripMenuItem.Name = "магазиныToolStripMenuItem";
|
||||||
магазиныToolStripMenuItem.Size = new Size(224, 26);
|
магазиныToolStripMenuItem.Size = new Size(182, 26);
|
||||||
магазиныToolStripMenuItem.Text = "Магазины";
|
магазиныToolStripMenuItem.Text = "Магазины";
|
||||||
магазиныToolStripMenuItem.Click += магазиныToolStripMenuItem_Click;
|
магазиныToolStripMenuItem.Click += магазиныToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
@ -154,12 +154,13 @@
|
|||||||
dataGridView.Size = new Size(872, 580);
|
dataGridView.Size = new Size(872, 580);
|
||||||
dataGridView.TabIndex = 6;
|
dataGridView.TabIndex = 6;
|
||||||
//
|
//
|
||||||
// toolStripLabelReplenish
|
// toolStripLabelReplenish2
|
||||||
//
|
//
|
||||||
toolStripLabelReplenish.Name = "toolStripLabelReplenish";
|
toolStripLabelReplenish2.DisplayStyle = ToolStripItemDisplayStyle.Text;
|
||||||
toolStripLabelReplenish.Size = new Size(168, 24);
|
toolStripLabelReplenish2.Name = "toolStripLabelReplenish2";
|
||||||
toolStripLabelReplenish.Text = "Пополнение магазина";
|
toolStripLabelReplenish2.Size = new Size(168, 24);
|
||||||
toolStripLabelReplenish.Click += toolStripLabelReplenish_Click;
|
toolStripLabelReplenish2.Text = "Пополнение магазина";
|
||||||
|
toolStripLabelReplenish2.Click += toolStripLabelReplenish_Click;
|
||||||
//
|
//
|
||||||
// FormMain
|
// FormMain
|
||||||
//
|
//
|
||||||
@ -197,6 +198,6 @@
|
|||||||
private ToolStripMenuItem компонентыToolStripMenuItem;
|
private ToolStripMenuItem компонентыToolStripMenuItem;
|
||||||
private ToolStripMenuItem консервыToolStripMenuItem;
|
private ToolStripMenuItem консервыToolStripMenuItem;
|
||||||
private ToolStripMenuItem магазиныToolStripMenuItem;
|
private ToolStripMenuItem магазиныToolStripMenuItem;
|
||||||
private ToolStripLabel toolStripLabelReplenish;
|
private ToolStripLabel toolStripLabelReplenish2;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -61,7 +61,7 @@ namespace FishFactory.Forms
|
|||||||
dataGridView.Rows.Clear();
|
dataGridView.Rows.Clear();
|
||||||
foreach (var sr in _shopCanneds)
|
foreach (var sr in _shopCanneds)
|
||||||
{
|
{
|
||||||
dataGridView.Rows.Add(new object[] { sr.Key, sr.Value.Item1.CannedName, sr.Value.Item2 });
|
dataGridView.Rows.Add(new object[] { sr.Value.Item1.CannedName, sr.Value.Item2});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
1
FishFactory/FormShops.Designer.cs
generated
1
FishFactory/FormShops.Designer.cs
generated
@ -46,6 +46,7 @@
|
|||||||
dataGridView.ReadOnly = true;
|
dataGridView.ReadOnly = true;
|
||||||
dataGridView.RowHeadersWidth = 51;
|
dataGridView.RowHeadersWidth = 51;
|
||||||
dataGridView.RowTemplate.Height = 29;
|
dataGridView.RowTemplate.Height = 29;
|
||||||
|
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
||||||
dataGridView.Size = new Size(525, 673);
|
dataGridView.Size = new Size(525, 673);
|
||||||
dataGridView.TabIndex = 0;
|
dataGridView.TabIndex = 0;
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user