Beispiel #1
0
 private void tableReadMetaToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (m_FormTableReadMeta == null)
     {
         m_FormTableReadMeta = new FormTableReadMeta();
         m_FormTableReadMeta.EventTableReadMeta += m_FormTableReadMeta_EventTableReadMeta;
     }
     if (m_FormTableReadMeta.IsDisposed)
     {
         m_FormTableReadMeta = new FormTableReadMeta();
         m_FormTableReadMeta.EventTableReadMeta += m_FormTableReadMeta_EventTableReadMeta;
     }
     m_FormTableReadMeta.Show(dockPanel, DockState.DockLeft);
 }
Beispiel #2
0
 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();
 }