public static investorFind GetForm(string formName) { string cacheKey = typeof(investorFind).FullName + (formName == null || formName.Trim() == "" ? "" : "-" + formName); investorFind form = (investorFind)common.Data.dataCache.Find(cacheKey); if (form != null && !form.IsDisposed) return form; form = new investorFind(); common.Data.dataCache.Add(cacheKey, form); return form; }
public static investorFind GetForm(string formName) { string cacheKey = typeof(investorFind).FullName + (formName == null || formName.Trim() == "" ? "" : "-" + formName); investorFind form = (investorFind)common.Data.dataCache.Find(cacheKey); if (form != null && !form.IsDisposed) { return(form); } form = new investorFind(); common.Data.dataCache.Add(cacheKey, form); return(form); }