public static watchListNew GetForm() { string cacheKey = typeof(watchListNew).FullName; watchListNew form = (watchListNew)common.Data.dataCache.Find(cacheKey); if (form != null && !form.IsDisposed) return form; form = new watchListNew(); common.Data.dataCache.Add(cacheKey, form); return form; }
public static watchListNew GetForm() { string cacheKey = typeof(watchListNew).FullName; watchListNew form = (watchListNew)common.Data.dataCache.Find(cacheKey); if (form != null && !form.IsDisposed) { return(form); } form = new watchListNew(); common.Data.dataCache.Add(cacheKey, form); return(form); }