diff --git a/ElectricLocomotive/ElectricLocomotive/FormLocomotiveCollection.cs b/ElectricLocomotive/ElectricLocomotive/FormLocomotiveCollection.cs index 922c807..049c631 100644 --- a/ElectricLocomotive/ElectricLocomotive/FormLocomotiveCollection.cs +++ b/ElectricLocomotive/ElectricLocomotive/FormLocomotiveCollection.cs @@ -143,12 +143,12 @@ namespace ProjectElectricLocomotive { if (_storage.SaveData(saveFileDialog.FileName)) { - MessageBox.Show("Сохранение прошло успешно", + MessageBox.Show("Сохранение прошло успешно!", "Результат", MessageBoxButtons.OK, MessageBoxIcon.Information); } else { - MessageBox.Show("Не сохранилось", "Результат", + MessageBox.Show("Ошибка сохранения!", "Результат", MessageBoxButtons.OK, MessageBoxIcon.Error); } } @@ -164,12 +164,12 @@ namespace ProjectElectricLocomotive { if (_storage.LoadData(openFileDialog.FileName)) { - MessageBox.Show("Load is done!", "Result", MessageBoxButtons.OK, MessageBoxIcon.Information); + MessageBox.Show("Загрузка завершена!", "Result", MessageBoxButtons.OK, MessageBoxIcon.Information); ReloadObjects(); } else { - MessageBox.Show("Load is fail!", "Result", MessageBoxButtons.OK, MessageBoxIcon.Error); + MessageBox.Show("Ошибка загрузки!", "Result", MessageBoxButtons.OK, MessageBoxIcon.Error); } } diff --git a/ElectricLocomotive/ElectricLocomotive/FormLocomotiveConfig.Designer.cs b/ElectricLocomotive/ElectricLocomotive/FormLocomotiveConfig.Designer.cs index f851898..4fa6470 100644 --- a/ElectricLocomotive/ElectricLocomotive/FormLocomotiveConfig.Designer.cs +++ b/ElectricLocomotive/ElectricLocomotive/FormLocomotiveConfig.Designer.cs @@ -186,7 +186,7 @@ // panelColorGreen // panelColorGreen.AllowDrop = true; - panelColorGreen.BackColor = Color.FromArgb(0, 192, 0); + panelColorGreen.BackColor = Color.Green; panelColorGreen.Location = new Point(87, 28); panelColorGreen.Name = "panelColorGreen"; panelColorGreen.Size = new Size(50, 50);