сломается ли...
This commit is contained in:
parent
8514947e25
commit
521c14bcc7
@ -74,6 +74,7 @@
|
|||||||
Controls.Add(dataGridView);
|
Controls.Add(dataGridView);
|
||||||
Name = "FormClients";
|
Name = "FormClients";
|
||||||
Text = "Список клиентов";
|
Text = "Список клиентов";
|
||||||
|
Load += FormClients_Load;
|
||||||
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
||||||
ResumeLayout(false);
|
ResumeLayout(false);
|
||||||
}
|
}
|
||||||
|
30
Confectionery/ConfectioneryView/FormMain.Designer.cs
generated
30
Confectionery/ConfectioneryView/FormMain.Designer.cs
generated
@ -33,10 +33,13 @@
|
|||||||
toolStripMenuItem = new ToolStripMenuItem();
|
toolStripMenuItem = new ToolStripMenuItem();
|
||||||
componentsToolStripMenuItem = new ToolStripMenuItem();
|
componentsToolStripMenuItem = new ToolStripMenuItem();
|
||||||
pastryToolStripMenuItem = new ToolStripMenuItem();
|
pastryToolStripMenuItem = new ToolStripMenuItem();
|
||||||
|
clientsToolStripMenuItem = new ToolStripMenuItem();
|
||||||
|
implementersToolStripMenuItem = new ToolStripMenuItem();
|
||||||
отчетыToolStripMenuItem = new ToolStripMenuItem();
|
отчетыToolStripMenuItem = new ToolStripMenuItem();
|
||||||
pastrysListToolStripMenuItem = new ToolStripMenuItem();
|
pastrysListToolStripMenuItem = new ToolStripMenuItem();
|
||||||
componentPastryToolStripMenuItem = new ToolStripMenuItem();
|
componentPastryToolStripMenuItem = new ToolStripMenuItem();
|
||||||
ordersListToolStripMenuItem = new ToolStripMenuItem();
|
ordersListToolStripMenuItem = new ToolStripMenuItem();
|
||||||
|
startWorkToolStripMenuItem = new ToolStripMenuItem();
|
||||||
buttonCreateOrder = new Button();
|
buttonCreateOrder = new Button();
|
||||||
buttonTakeOrderInWork = new Button();
|
buttonTakeOrderInWork = new Button();
|
||||||
buttonOrderReady = new Button();
|
buttonOrderReady = new Button();
|
||||||
@ -59,7 +62,7 @@
|
|||||||
// menuStrip
|
// menuStrip
|
||||||
//
|
//
|
||||||
menuStrip.ImageScalingSize = new Size(24, 24);
|
menuStrip.ImageScalingSize = new Size(24, 24);
|
||||||
menuStrip.Items.AddRange(new ToolStripItem[] { toolStripMenuItem, отчетыToolStripMenuItem });
|
menuStrip.Items.AddRange(new ToolStripItem[] { toolStripMenuItem, отчетыToolStripMenuItem, startWorkToolStripMenuItem });
|
||||||
menuStrip.Location = new Point(0, 0);
|
menuStrip.Location = new Point(0, 0);
|
||||||
menuStrip.Name = "menuStrip";
|
menuStrip.Name = "menuStrip";
|
||||||
menuStrip.Size = new Size(1666, 33);
|
menuStrip.Size = new Size(1666, 33);
|
||||||
@ -68,7 +71,7 @@
|
|||||||
//
|
//
|
||||||
// toolStripMenuItem
|
// toolStripMenuItem
|
||||||
//
|
//
|
||||||
toolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { componentsToolStripMenuItem, pastryToolStripMenuItem });
|
toolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { componentsToolStripMenuItem, pastryToolStripMenuItem, clientsToolStripMenuItem, implementersToolStripMenuItem });
|
||||||
toolStripMenuItem.Name = "toolStripMenuItem";
|
toolStripMenuItem.Name = "toolStripMenuItem";
|
||||||
toolStripMenuItem.Size = new Size(139, 29);
|
toolStripMenuItem.Size = new Size(139, 29);
|
||||||
toolStripMenuItem.Text = "Справочники";
|
toolStripMenuItem.Text = "Справочники";
|
||||||
@ -87,6 +90,20 @@
|
|||||||
pastryToolStripMenuItem.Text = "Кондитерские изделия";
|
pastryToolStripMenuItem.Text = "Кондитерские изделия";
|
||||||
pastryToolStripMenuItem.Click += pastryToolStripMenuItem_Click;
|
pastryToolStripMenuItem.Click += pastryToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
|
// clientsToolStripMenuItem
|
||||||
|
//
|
||||||
|
clientsToolStripMenuItem.Name = "clientsToolStripMenuItem";
|
||||||
|
clientsToolStripMenuItem.Size = new Size(298, 34);
|
||||||
|
clientsToolStripMenuItem.Text = "Клиенты";
|
||||||
|
clientsToolStripMenuItem.Click += clientsToolStripMenuItem_Click;
|
||||||
|
//
|
||||||
|
// implementersToolStripMenuItem
|
||||||
|
//
|
||||||
|
implementersToolStripMenuItem.Name = "implementersToolStripMenuItem";
|
||||||
|
implementersToolStripMenuItem.Size = new Size(298, 34);
|
||||||
|
implementersToolStripMenuItem.Text = "Исполнители";
|
||||||
|
implementersToolStripMenuItem.Click += implementersToolStripMenuItem_Click;
|
||||||
|
//
|
||||||
// отчетыToolStripMenuItem
|
// отчетыToolStripMenuItem
|
||||||
//
|
//
|
||||||
отчетыToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { pastrysListToolStripMenuItem, componentPastryToolStripMenuItem, ordersListToolStripMenuItem });
|
отчетыToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { pastrysListToolStripMenuItem, componentPastryToolStripMenuItem, ordersListToolStripMenuItem });
|
||||||
@ -115,6 +132,12 @@
|
|||||||
ordersListToolStripMenuItem.Text = "Список заказов";
|
ordersListToolStripMenuItem.Text = "Список заказов";
|
||||||
ordersListToolStripMenuItem.Click += ordersListToolStripMenuItem_Click;
|
ordersListToolStripMenuItem.Click += ordersListToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
|
// startWorkToolStripMenuItem
|
||||||
|
//
|
||||||
|
startWorkToolStripMenuItem.Name = "startWorkToolStripMenuItem";
|
||||||
|
startWorkToolStripMenuItem.Size = new Size(136, 29);
|
||||||
|
startWorkToolStripMenuItem.Text = "Запуск работ";
|
||||||
|
//
|
||||||
// buttonCreateOrder
|
// buttonCreateOrder
|
||||||
//
|
//
|
||||||
buttonCreateOrder.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
buttonCreateOrder.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
||||||
@ -209,5 +232,8 @@
|
|||||||
private ToolStripMenuItem pastrysListToolStripMenuItem;
|
private ToolStripMenuItem pastrysListToolStripMenuItem;
|
||||||
private ToolStripMenuItem componentPastryToolStripMenuItem;
|
private ToolStripMenuItem componentPastryToolStripMenuItem;
|
||||||
private ToolStripMenuItem ordersListToolStripMenuItem;
|
private ToolStripMenuItem ordersListToolStripMenuItem;
|
||||||
|
private ToolStripMenuItem clientsToolStripMenuItem;
|
||||||
|
private ToolStripMenuItem implementersToolStripMenuItem;
|
||||||
|
private ToolStripMenuItem startWorkToolStripMenuItem;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -194,5 +194,23 @@ namespace ConfectioneryView
|
|||||||
MessageBoxIcon.Information);
|
MessageBoxIcon.Information);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void clientsToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
var service = Program.ServiceProvider?.GetService(typeof(FormClients));
|
||||||
|
if (service is FormClients form)
|
||||||
|
{
|
||||||
|
form.ShowDialog();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void implementersToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
var service = Program.ServiceProvider?.GetService(typeof(FormImplementers));
|
||||||
|
if (service is FormImplementers form)
|
||||||
|
{
|
||||||
|
form.ShowDialog();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user