void ViewRecord() { if (listBox.SelectedIndex < 0) { return; } TableElement element = allItems[listBox.SelectedIndex]; element.ViewInRedactor(); }