public double GetResult() { sbg = new SortBlock2G(); if (cal != null) { sbg.GetCalString(cal); double result = sbg.GetResult(); return(sbg.IsError() ? 0 :result); } return(0); }
public bool IsError() { return(sbg.IsError()); }