private void StopSMon() { try { StopSMonObject(false); if (mIsScrWinOpened) { int intReturn; intReturn = ScreenMPInterop.VLSMonStop(); CurrentApp.WriteLog("StoSMon", string.Format("MonStopReturn:{0}", intReturn)); } } catch (Exception ex) { ShowException(ex.Message); } }
public void CloseSMonPanel() { try { StopSMonObject(true); if (mIsScrWinOpened) { int intReturn; intReturn = ScreenMPInterop.VLSMonStop(); CurrentApp.WriteLog("StoSMon", string.Format("MonStopReturn:{0}", intReturn)); } RemoveMonObject(); if (PageParent != null) { PageParent.ClosePanel(2); } } catch (Exception ex) { ShowException(ex.Message); } }