/// <summary> /// Сохранение измененных данных в редактируемом элементе /// </summary> public void SaveData() { modificationItemControl.SaveData(); try { currentItem.Save(true); ReloadItem(); } catch (Exception ex) { Program.Provider.Logger.Log("Error while saving data", ex); } }
protected bool AddNewModificationItem(bool changePageName) { modificationItemControl.SaveData(addedModificationItem, changePageName); parentAircraft.AddModificationItem(addedModificationItem); return(true); }