public void ClPresentationEnd() { OnPresentationEnd(); if (ViewerController.IsWorking) { ViewerController.EndPresentation(); } Connection.CurrentPresentation = null; Connection.FormMenu.OnPresentationFinished(); }