вроде готовая лаба 1 хард
This commit is contained in:
parent
b00e00ba91
commit
23ef6fc7a0
@ -47,6 +47,7 @@
|
|||||||
this.buttonCancel.TabIndex = 19;
|
this.buttonCancel.TabIndex = 19;
|
||||||
this.buttonCancel.Text = "Отмена";
|
this.buttonCancel.Text = "Отмена";
|
||||||
this.buttonCancel.UseVisualStyleBackColor = true;
|
this.buttonCancel.UseVisualStyleBackColor = true;
|
||||||
|
this.buttonCancel.Click += new System.EventHandler(this.ButtonCancel_Click);
|
||||||
//
|
//
|
||||||
// buttonSave
|
// buttonSave
|
||||||
//
|
//
|
||||||
@ -57,6 +58,7 @@
|
|||||||
this.buttonSave.TabIndex = 18;
|
this.buttonSave.TabIndex = 18;
|
||||||
this.buttonSave.Text = "Сохранить";
|
this.buttonSave.Text = "Сохранить";
|
||||||
this.buttonSave.UseVisualStyleBackColor = true;
|
this.buttonSave.UseVisualStyleBackColor = true;
|
||||||
|
this.buttonSave.Click += new System.EventHandler(this.ButtonSave_Click);
|
||||||
//
|
//
|
||||||
// textBoxCount
|
// textBoxCount
|
||||||
//
|
//
|
||||||
@ -131,6 +133,7 @@
|
|||||||
this.Controls.Add(this.labelShop);
|
this.Controls.Add(this.labelShop);
|
||||||
this.Name = "FormSupply";
|
this.Name = "FormSupply";
|
||||||
this.Text = "Пополнение магазина";
|
this.Text = "Пополнение магазина";
|
||||||
|
this.Load += new System.EventHandler(this.FormSupply_Load);
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
this.PerformLayout();
|
this.PerformLayout();
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ namespace ConfectioneryView
|
|||||||
|
|
||||||
private void FormSupply_Load(object sender, EventArgs e)
|
private void FormSupply_Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
_logger.LogInformation("Ice creams loading");
|
_logger.LogInformation("Pastries loading");
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var list = _logicPastry.ReadList(null);
|
var list = _logicPastry.ReadList(null);
|
||||||
@ -44,7 +44,7 @@ namespace ConfectioneryView
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
_logger.LogError(ex, "Ice creams loading error");
|
_logger.LogError(ex, "Pastries loading error");
|
||||||
MessageBox.Show(ex.Message, "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
MessageBox.Show(ex.Message, "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
}
|
}
|
||||||
_logger.LogInformation("Shops loading");
|
_logger.LogInformation("Shops loading");
|
||||||
|
Loading…
Reference in New Issue
Block a user