void m_FormTableRead_EventGetTable(FormTableRead sender, DataTable resultdt) { if (resultdt == null) { return; } if (dockPanel.InvokeRequired) { this.Invoke(new DelegateReadSAPTable(m_FormTableRead_EventGetTable), new object[] { sender, resultdt }); } else { var localdt = resultdt; m_FormSAPDataTable = new FormSAPDataTable(); m_FormSAPDataTable.DataTable = localdt; m_FormSAPDataTable.TableName = sender.TableName; m_FormSAPDataTable.SystemName = sender.SystemName; m_FormSAPDataTable.DockHandler.Show(this.dockPanel, DockState.Document); ShowLogWindow(); } }
void m_FormTableReadMeta_EventTableReadMeta(FormTableReadMeta dataTableInfo) { if (dockPanel.InvokeRequired) { this.Invoke(new DelegateTableReadMeta(m_FormTableReadMeta_EventTableReadMeta), new object[] { dataTableInfo }); } else { m_FormSAPDataTable = new FormSAPDataTable(); m_FormSAPDataTable.DataTable = dataTableInfo.DtMetaList; m_FormSAPDataTable.TableName = dataTableInfo.TableName; m_FormSAPDataTable.SystemName = dataTableInfo.SystemName; m_FormSAPDataTable.DockHandler.Show(this.dockPanel, DockState.Document); } //throw new NotImplementedException(); }