예제 #1
0
 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();
 }
예제 #2
0
 private void Btn_builder_Click(object sender, EventArgs e)
 {
     content.OnOpenSingleBuilderViewEvent(
         Command.DataSourceCommand.GetTableColumnsInfo(content.ConnectionString.ToString(), tbname));
     this.Close();
 }