void AddRecord() { TableElement element = TableElement.CreateInRedactor(tableType); if (element == null) { return; } dataBaseWorker.AddRecord(element); allItems = dataBaseWorker.GetAllRecordsByType(tableType); InitItems(allItems.Length - 1); }