private void StopMPlayer() { lock (_Serializer) { if (_MPlayerProcess != null) { _MPlayerProcess.CancelOutputRead(); _MPlayerProcess.Kill(); _FormInstance = null; TrimSetTimer.Enabled = false; _MPlayerProcess = null; MPlayerEndUIConfig(); } } }