public static sysOptionLocal GetForm(string formName)
        {
            string         cacheKey = typeof(sysOptionLocal).FullName + (formName == null || formName.Trim() == "" ? "" : "-" + formName);
            sysOptionLocal form     = (sysOptionLocal)common.Data.dataCache.Find(cacheKey);

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