quick fixes in FormShop
This commit is contained in:
parent
6d70c6edc7
commit
ddca260756
@ -148,6 +148,7 @@
|
||||
this.buttonSave.TabIndex = 28;
|
||||
this.buttonSave.Text = "Сохранить";
|
||||
this.buttonSave.UseVisualStyleBackColor = true;
|
||||
this.buttonSave.Click += ButtonSave_Click;
|
||||
//
|
||||
// buttonCancel
|
||||
//
|
||||
@ -158,6 +159,7 @@
|
||||
this.buttonCancel.TabIndex = 27;
|
||||
this.buttonCancel.Text = "Отмена";
|
||||
this.buttonCancel.UseVisualStyleBackColor = true;
|
||||
this.buttonCancel.Click += ButtonCancel_Click;
|
||||
//
|
||||
// FormShop
|
||||
//
|
||||
@ -182,6 +184,11 @@
|
||||
|
||||
}
|
||||
|
||||
private void ButtonCancel_Click1(object sender, EventArgs e)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private DateTimePicker dateTimePicker;
|
||||
|
@ -88,7 +88,7 @@ namespace ComputersShopView
|
||||
}
|
||||
if (string.IsNullOrEmpty(textBoxAddress.Text))
|
||||
{
|
||||
MessageBox.Show("Заполните цену", "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
MessageBox.Show("Заполните адрес", "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
return;
|
||||
}
|
||||
_logger.LogInformation("Сохранение магазина");
|
||||
|
Loading…
Reference in New Issue
Block a user