예제 #1
0
 public CIncept_Ctrl(Incept_Form inceptform, CIncept_Model inceptmodel)
 {
     this.inceptform               = inceptform;
     this.inceptmodel              = inceptmodel;
     inceptmodel.Event_SQLLink    += new CIncept_Model.D_SQLlink(OnEvent_SQLLink);
     inceptmodel.Event_ORACLELink += new CIncept_Model.D_ORACLElink(OnEvent_OraLink);
     inceptmodel.LocalDBlink();  //连接本地SQL数据库
     inceptmodel.RemoteDBlink(); //连接远程Oracle数据库
     inceptmodel.Event_DOWNLOAD    += new CIncept_Model.D_Download(inceptmodel_Event_DOWNLOAD);
     inceptmodel.Event_DOWNLOADErr += new CIncept_Model.D_DownloadErr(inceptmodel_Event_DOWNLOADErr);
 }
예제 #2
0
 public bool LocalDBlink()
 {
     return(inceptmodel.LocalDBlink());
 }