private void onItemValidationReport(object sender, EventArgs e) { if (m_itemValidationReport == null) { IEditor itemEditor = (IEditor)getEditor(EditorType.Items); ItemRecordManager itemRecordManager = (ItemRecordManager)itemEditor.getTableIO(tabBase).getRecordManager(); m_itemValidationReport = new Gui.FrmItemValidationReport(itemRecordManager, this); } m_itemValidationReport.ShowDialog(); // TODO: Item Validation Report should not change the TabControl getTabControl().SelectedTab = getTabControl().TabPages[0]; // Temporary fix // TODO: ItemValidationReport as a search dialog // Call an internal show and pass whether the Editor is Items // If it is then allow a Select button such that the report acts as a Search dialog }
private void onItemValidationReport(object sender, EventArgs e) { if (m_itemValidationReport == null) { IEditor itemEditor = (IEditor)getEditor(EditorType.Items); ItemRecordManager itemRecordManager = (ItemRecordManager)itemEditor.getTableIO(tabBase).getRecordManager(); m_itemValidationReport = new Gui.FrmItemValidationReport(itemRecordManager, this); } m_itemValidationReport.ShowDialog(); // TODO: Item Validation Report should not change the TabControl getTabControl().SelectedTab = getTabControl().TabPages[0]; // Temporary fix // TODO: ItemValidationReport as a search dialog // Call an internal show and pass whether the Editor is Items // If it is then allow a Select button such that the report acts as a Search dialog }