Esempio n. 1
0
 private void 生成增删改命令到剪切板ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     TempXmlCommandsToClipBoardContainer tempXmlCommandsToClipBoardContainer = new TempXmlCommandsToClipBoardContainer
     {
         mainForm = this
     };
     if (this.treeNode != null)
     {
         tempXmlCommandsToClipBoardContainer.configName = this.treeNode.Parent.Parent.Text;
         this.GenerateParameters(new Action(tempXmlCommandsToClipBoardContainer.SetClipboardXMLCommand));
     }
 }
Esempio n. 2
0
 private void 生成增删改到剪贴板ToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     TempXmlCommandsToClipBoardContainer tempXmlCommandsToClipBoardContainer = new TempXmlCommandsToClipBoardContainer
     {
         mainForm = this
     };
     if (this.treeNode != null)
     {
         tempXmlCommandsToClipBoardContainer.configName = this.treeNode.Parent.Parent.Text;
         this.GenerateParameters(new Action(tempXmlCommandsToClipBoardContainer.SetClipboarEFCommand));
     }
     MessageBox.Show("生成成功", "信息提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
 }