Exemplo n.º 1
0
        //Instance method has 2 parameters
        //1. Enumerator for a list of items to be displayed. Each item implements
        //IMenuItem interface, which means that it knows howto display itself
        //2. Delegate for the method which will be called on the selected item
        //when the user presses enter key
        public static new IState Instance(IDoubleEnumerator ide, ProcessSelectedItem psi)
        {
#if WindowsCE
            return(List.Instance(ide, psi));
#else
            ListForm.SetList(ide);
            ProcessSelected = psi;
            List.Instance(ide);
            return(state);
#endif
        }