Example #1
0
 private void FrmVideoConfig_FormClosed(object sender, FormClosedEventArgs e)
 {
     DMSDK.DM_Disconnect(tempConnect);
     DMSDK.DM_CloseMonitor(tempMonitor);
     //DMSDK.DM_PlayerCleanup();
     this.DialogResult = DialogResult.OK;
 }
 private void FrmIpConfig_FormClosing(object sender, FormClosingEventArgs e)
 {
     if (btnConfirm.Text == "确认修改")
     {
         DMSDK.DM_CloseMonitor(temp_ConnectHandle);
         DMSDK.DM_Disconnect(temp_OperateHandle);
     }
 }
 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 #4
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;
 }
Example #5
0
 private void FrmTemperParamConfig_Disposed(object sender, EventArgs e)
 {
     DMSDK.DM_Disconnect(tempConnect);
 }
 private void FrmMaintain_Disposed(object sender, EventArgs e)
 {
     DMSDK.DM_Disconnect(tempConnect);
 }
 private void FrmMaintain_FormClosing(object sender, FormClosingEventArgs e)
 {
     DMSDK.DM_Disconnect(tempConnect);
 }
Example #8
0
 private void FrmImageConfig_FormClosed(object sender, FormClosedEventArgs e)
 {
     DMSDK.DM_Disconnect(tempConnect);
 }
Example #9
0
 private void FrmCameraNetConfig_Disposed(object sender, EventArgs e)
 {
     DMSDK.DM_Disconnect(tempConnect);
 }
Example #10
0
 private void FrmCameraNetConfig_FormClosed(object sender, FormClosedEventArgs e)
 {
     closefather();
     DMSDK.DM_Disconnect(tempConnect);
 }
Example #11
0
 private void FrmSystemConfig_Disposed(object sender, EventArgs e)
 {
     DMSDK.DM_Disconnect(tempConnect);
     DMSDK.DM_CloseMonitor(tempMonitor);
     //DMSDK.DM_PlayerCleanup();
 }
Example #12
0
 private void FrmMeasureTemperConfig_FormClosing(object sender, FormClosingEventArgs e)
 {
     DMSDK.DM_Disconnect(tempConnect);
     DMSDK.DM_CloseMonitor(tempMonitor);
     //DMSDK.DM_PlayerCleanup();
 }