コード例 #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;
 }
コード例 #2
0
 private void FrmIpConfig_FormClosing(object sender, FormClosingEventArgs e)
 {
     if (btnConfirm.Text == "确认修改")
     {
         DMSDK.DM_CloseMonitor(temp_ConnectHandle);
         DMSDK.DM_Disconnect(temp_OperateHandle);
     }
 }
コード例 #3
0
 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();
     }
 }
コード例 #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;
 }
コード例 #5
0
 private void FrmSystemConfig_Disposed(object sender, EventArgs e)
 {
     DMSDK.DM_Disconnect(tempConnect);
     DMSDK.DM_CloseMonitor(tempMonitor);
     //DMSDK.DM_PlayerCleanup();
 }
コード例 #6
0
 private void FrmSaveImageConfig_Disposed(object sender, EventArgs e)
 {
     DMSDK.DM_CloseMonitor(tempMonitor);
     //DMSDK.DM_PlayerCleanup();
 }
コード例 #7
0
 private void FrmSaveVideoConfig_FormClosed(object sender, FormClosedEventArgs e)
 {
     DMSDK.DM_CloseMonitor(tempMonitor);
     //DMSDK.DM_PlayerCleanup();
 }
コード例 #8
0
 private void FrmMeasureTemperConfig_FormClosing(object sender, FormClosingEventArgs e)
 {
     DMSDK.DM_Disconnect(tempConnect);
     DMSDK.DM_CloseMonitor(tempMonitor);
     //DMSDK.DM_PlayerCleanup();
 }