private void 添加方案ToolStripMenuItem_Click(object sender, EventArgs e) { FrmAddSqlSchema addSqlSchema = new FrmAddSqlSchema(); addSqlSchema.SqlSchemaInterface = this; addSqlSchema.ShowDialog(); }
private void 修改方案ToolStripMenuItem_Click(object sender, EventArgs e) { FrmAddSqlSchema addSqlSchema = new FrmAddSqlSchema(); Node nodeSelect = treeSchema.SelectedNode; if (nodeSelect != null) { addSqlSchema.SchemaEntity = (SqlSchemaEntity)nodeSelect.Tag; addSqlSchema.SqlSchemaInterface = this; addSqlSchema.ShowDialog(); } }