public void CloseNMonPanel() { try { StopNMonObject(true); if (mNMonCore != null) { mNMonCore.StopMon(); mNMonCore = null; } RemoveMonObject(); if (PageParent != null) { PageParent.ClosePanel(1); } } 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); } }