protected override void Dispose(bool disposing) { try { if (tagModel != null) { tagModel.Close(); } if (canvasModel != null) { canvasModel.Close(); // HanaTech.Lib.LogHelper.WriteLog("canvasModel.WcfClient is Close"); } if (gridModel != null) { gridModel.Close(); // HanaTech.Lib.LogHelper.WriteLog("gridModel.WcfClient is Close"); } } catch (Exception ex) { HanaTech.Lib.LogHelper.WriteLog(ex); } }