Example #1
0
 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;
 }
Example #2
0
        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);
        }