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(); } }
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; }
private void FrmSystemConfig_Disposed(object sender, EventArgs e) { DMSDK.DM_Disconnect(tempConnect); DMSDK.DM_CloseMonitor(tempMonitor); //DMSDK.DM_PlayerCleanup(); }
private void FrmSaveImageConfig_Disposed(object sender, EventArgs e) { DMSDK.DM_CloseMonitor(tempMonitor); //DMSDK.DM_PlayerCleanup(); }
private void FrmSaveVideoConfig_FormClosed(object sender, FormClosedEventArgs e) { DMSDK.DM_CloseMonitor(tempMonitor); //DMSDK.DM_PlayerCleanup(); }
private void FrmMeasureTemperConfig_FormClosing(object sender, FormClosingEventArgs e) { DMSDK.DM_Disconnect(tempConnect); DMSDK.DM_CloseMonitor(tempMonitor); //DMSDK.DM_PlayerCleanup(); }