コード例 #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;
 }
コード例 #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);
        }