/// <summary> /// OnClosing override method /// </summary> /// <param name="e"></param> protected override void OnClosing(CancelEventArgs e) { base.OnClosing(e); this.StopTimer(); this.UninitDualSession(); if (this.udpCasMon != null) { this.udpCasMon.Close(); } if (this.recvUdpKey != null) { this.recvUdpKey.Close(); } if (this.recvUdpBroadShare != null) { this.recvUdpBroadShare.Close(); } if (this.recvUdpLauncher != null) { this.recvUdpLauncher.Close(); } if (this.pBrdScreenBiz != null) { this.pBrdScreenBiz.UnInit(); } this.mmfMng.CloseAllMMF(); NCasAnimator.UninitAnimator(); NCasBizActivator.Inactive(); }
protected override void OnClosing(CancelEventArgs e) { base.OnClosing(e); this.StopTimer(); if (this.pDMainTcpServer != null) { this.pDMainTcpServer.RecvNetSessionClient -= new NCasNetSessionRecvEventHandler(pDMainTcpServer_RecvNetSessionClient); this.pDMainTcpServer.StopSessionServerMng(); } if (this.udpCasMon != null) { this.udpCasMon.Close(); } if (this.recvUdpKey != null) { this.recvUdpKey.Close(); } if (this.recvUdpLauncher != null) { this.recvUdpLauncher.Close(); } if (this.pDAlmScreenBiz != null) { this.pDAlmScreenBiz.UnInit(); } this.mmfMng.CloseAllMMF(); NCasAnimator.UninitAnimator(); NCasBizActivator.Inactive(); Process[] findProcess = Process.GetProcessesByName("NCasTtsEditor"); foreach (Process process in findProcess) { process.Kill(); } }
/// <summary> /// OnClosing override method /// </summary> /// <param name="e"></param> protected override void OnClosing(CancelEventArgs e) { base.OnClosing(e); this.StopTimer(); this.UninitDualSession(); if (this.udpCasMon != null) { this.udpCasMon.Close(); } if (this.recvUdpKey != null) { this.recvUdpKey.Close(); } if (this.recvUdpGis != null) { this.recvUdpGis.Close(); } if (this.recvUdpLauncher != null) { this.recvUdpLauncher.Close(); } if (this.pAlmScreenBiz != null) { this.pAlmScreenBiz.UnInit(); } this.mmfMng.CloseAllMMF(); NCasAnimator.UninitAnimator(); NCasBizActivator.Inactive(); Process[] findProcess = Process.GetProcessesByName("NCasTtsEditor"); foreach (Process process in findProcess) { process.Kill(); } }