private void tableFieldToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (m_FormTableField == null)
     {
         m_FormTableField = new FormTableField();
     }
     if (m_FormTableField.IsDisposed)
     {
         m_FormTableField = new FormTableField();
     }
     m_FormTableField.Show(dockPanel1, DockState.DockLeft);
 }
        // private Code _Code = null;
        public FormCodeGernerator()
        {
            InitializeComponent();
            this.Text = "代码生成器";

            dockPanel1.DocumentStyle = DocumentStyle.DockingWindow;
            m_FormTableField         = new FormTableField();
            m_FormTableField.Show(dockPanel1, DockState.DockLeft);
            m_FormTableField.EventReadTableField += m_FormTableField_EventReadTableField;
            m_FormCodeManager = new FormCodeManager();
            m_FormCodeManager.Show(dockPanel1, DockState.DockLeft);

            m_FormCodeManager.EventCodeManagerChange += m_FormCodeManager_EventCodeManagerChange;

            this.toolStripStatusLabel1.Text = "临时文件夹:";
            this.toolStripStatusLabel2.Text = "代码模板:";
            this.toolStripStatusLabel3.Text = "临时ABAP代码:";
            if (m_FormCodeManager.TempFolder != null)
            {
                this.toolStripStatusLabel1.Text = "临时文件夹:" + m_FormCodeManager.TempFolder.Text;
            }
        }
 void m_FormTableField_EventReadTableField(FormTableField FormtableField)
 {
     m_tableList = FormtableField.TableList;
 }
示例#4
0
 private void fieldsToolStripMenuItem_Click_1(object sender, EventArgs e)
 {
     m_FormTableField = new FormTableField();
     m_FormTableField.Show(dockPanel);
 }