private void FrmIpConfig_Disposed(object sender, EventArgs e)
 {
     if (temp_OperateHandle > 0)
     {
         DMSDK.DM_Disconnect(temp_OperateHandle);
         temp_OperateHandle = -1;
         DMSDK.DM_CloseMonitor(temp_ConnectHandle);
         DMSDK.DM_PlayerCleanup();
     }
 }
Example #2
0
 private void FrmConfig_Disposed(object sender, EventArgs e)
 {
     DMSDK.DM_Disconnect(StaticClass.tempConnect);
     DMSDK.DM_CloseMonitor(StaticClass.tempMonitor);
     DMSDK.DM_PlayerCleanup();
     StaticClass.Temper_Ip         = "";
     StaticClass.Temper_CameraId   = 0;
     StaticClass.Temper_CameraName = "";
     StaticClass.Temper_IsEnanle   = false;
     StaticClass.tempConnect       = -1;
     StaticClass.tempMonitor       = -1;
 }