示例#1
0
        public JCComponentConfig()
        {
            int formCount = JCConfig.ChildFormsCount[Array.IndexOf(JCConfig.ConfigComponentsTypes, this.GetType().ToString())];

            initFormStates(formCount);
            forms = new JCChildForm[formCount];
        }
示例#2
0
 public JCChildFormState getFormState(JCChildForm form)
 {
     return(components[getTypeIdx(form)].formStates[form.idx]);
 }
示例#3
0
 public static int getTypeIdx(JCChildForm form)
 {
     return(Array.IndexOf(ChildFormsTypes, form.GetType().ToString()));
 }