private void Btn_buildersele_Click(object sender, EventArgs e) { this.Deactivate -= FrmLookUp_Deactivate;//将关闭方法从委托链中移除 if (content.CurrentSourceType == Main.Interface.DataSourceType.MicrosfotSqlServer) { content.OnOpenSingleBuilderViewEvent( Command.DataSourceCommand.GetTableColumnsInfo(content.ConnectionString.ToString(), Lb_tbname.Text)); } else { content.OnOpenSingleBuilderViewEvent( Command.OracleCommand.DataSourceCommand.GetTableColumnsInfo(content.ConnectionString.ToString(), Lb_tbname.Text)); } this.Close(); }
private void Btn_builder_Click(object sender, EventArgs e) { content.OnOpenSingleBuilderViewEvent( Command.DataSourceCommand.GetTableColumnsInfo(content.ConnectionString.ToString(), tbname)); this.Close(); }