public static void subShowTestWebService(Form _mdiParent) { try { if (objTestWebService == null || objTestWebService.IsDisposed) objTestWebService = new Admin.frmTestWebService(); objTestWebService.MdiParent = _mdiParent; objTestWebService.Show(); } catch (Exception ex) { clsErr.subLogErr("subShowTestWebService", ex); } }
public static void subCloseTestWebService() { try { objTestWebService.Close(); objTestWebService.Dispose(); objTestWebService = null; } catch (Exception ex) { clsErr.subLogErr("subCloseTestWebService", ex); } }