Доработка 1
This commit is contained in:
parent
74175617bd
commit
2d01dd6b2f
@ -70,13 +70,10 @@ namespace MotorPlantView.Forms
|
||||
private void buttonAdd_Click(object sender, EventArgs e)
|
||||
{
|
||||
var form = DependencyManager.Instance.Resolve<FormEngineComponent>();
|
||||
if (form.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
if (form.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
_logger.LogInformation("Добавление нового ингридиента:{ ComponentName}-{ Count}", form.ComponentModel.ComponentName, form.Count);
|
||||
if (_engineComponents.ContainsKey(form.Id))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user