Beispiel #1
0
 public CreateProc(DBSource dbSource, string connDB, string table, string tableID, CreateProceEnum proceType)
     : base()
 {
     InitializeComponent();
     this.Text      = string.Format("{0}-{1}", table, proceType);
     this.dbSource  = dbSource;
     this.connDB    = connDB;
     this.table     = table;
     this.tableID   = tableID;
     this.proceType = proceType;
 }
Beispiel #2
0
 public CreateProc(DBSource dbSource, string connDB, string table, string tableID, CreateProceEnum proceType)
     : base()
 {
     InitializeComponent();
     this.dbSource            = dbSource;
     this.connDB              = connDB;
     this.editTextBox1.DBName = connDB;
     this.table     = table;
     this.tableID   = tableID;
     this.proceType = proceType;
 }
Beispiel #3
0
 private void CreateProcSql(DBSource dbSource, string dbName, string tableID, string table, CreateProceEnum createProcType)
 {
     UC.CreateProc cp = new CreateProc(dbSource, dbName, table, tableID, createProcType);
     this.TabControl.TabPages.Add(cp);
     cp.Create();
 }