Ejemplo n.º 1
0
        private void toolStripMenuItemImportFromSap_Click(object sender, EventArgs e)
        {
            var seletedNode = this.treeView1.SelectedNode;

            if (seletedNode == null)
            {
                MessageBox.Show("请先选择文件夹");
                return;
            }
            var codetreeNode = seletedNode.Tag as CodeFolder;

            if (codetreeNode == null)
            {
                MessageBox.Show("无效的节点");
                return;
            }
            var frm = new FormImportSapProgram();

            frm.TreeId   = codetreeNode.Id;
            frm.TreePath = seletedNode.FullPath;
            frm.Show();
        }
Ejemplo n.º 2
0
 private void importSAPPRGToolStripMenuItem_Click(object sender, EventArgs e)
 {
     FormImportSapProgram m_FormImporSapProgram = new FormImportSapProgram();
     m_FormImporSapProgram.Show(dockPanel);
 }
Ejemplo n.º 3
0
 private void btnLoadSapProgram_Click(object sender, EventArgs e)
 {
     CodeManager.FormImportSapProgram frm = new CodeManager.FormImportSapProgram();
     frm.Show();
 }
 private void btnLoadSapProgram_Click(object sender, EventArgs e)
 {
     CodeManager.FormImportSapProgram frm = new CodeManager.FormImportSapProgram();
     frm.Show();
 }