Beispiel #1
0
 //构造函数
 public WindAPI()
 {
     try
     {
         wdc = new WindDataCOM();
         wdc.enableAsyn(1);
         wdc.stateChanged += new _DWindDataCOMEvents_stateChangedEventHandler(ReqHandler);
     }
     catch {
         throw new Exception("WindMatlab.ocx组件未注册");
     }
 }
Beispiel #2
0
 //构造函数
 public WindAPI()
 {
     try
     {
         wdc = new WindDataCOM();
         wdc.enableAsyn(1);
         wdc.stateChanged += new _DWindDataCOMEvents_stateChangedEventHandler(ReqHandler);
     }
     catch{
         throw new Exception("WindMatlab.ocx组件未注册");
     }
 }