Esempio n. 1
0
        private Map <string, ScreenDetail> GetScreenDetail(string ScreenCD)
        {
            //Hashtable hs = new Hashtable();
            InternalScreenCache internals = InternalScreenCache.GetInstance();
            InternalScreen      screen    = internals[ScreenCD];
            object obj = Activator.CreateInstance(screen.ClassType, null);

            EVOFramework.Windows.Forms.EVOForm form       = (EVOFramework.Windows.Forms.EVOForm)obj;
            Map <string, ScreenDetail>         mapControl = form.GetControlList();

            return(mapControl);
        }
Esempio n. 2
0
        /// <summary>
        ///
        /// </summary>
        /// <returns></returns>
        /// <exception cref="NullReferenceException">Not found EVOForm host.</exception>
        protected AppearanceList GetUsingAppearance()
        {
            EVOForm form = (EVOForm)FindForm();

            if (form == null)
            {
                throw new NullReferenceException("Not found EVOForm host.");
            }

            if (form.AppearanceComponent != null)
            {
                return(null);
            }

            return(AppearanceManager.DefaultAppearanceSet);
        }
Esempio n. 3
0
        /// <summary>
        ///
        /// </summary>
        /// <returns></returns>
        /// <exception cref="NullReferenceException">Not found EVOForm host.</exception>
        protected AppearanceList GetUsingAppearance()
        {
            EVOForm form = (EVOForm)FindForm();

            if (form == null)
            {
                return(null);
            }

            if (form.AppearanceComponent != null)
            {
                return(null);
            }

            return(AppearanceManager.DefaultAppearanceSet);
        }