Ejemplo n.º 1
0
    private void imethod_14(Class42 A_0, CharacterFormat A_1)
    {
        switch (A_0.method_87())
        {
        case FormFieldType.TextInput:
        {
            TextFormField field3 = this.stack_0.Peek() as TextFormField;
            field3.Name = A_0.method_46();
            field3.ApplyCharacterFormat(A_1);
            field3.DefaultText   = A_0.method_68();
            field3.MaximumLength = A_0.method_64();
            field3.StringFormat  = A_0.method_70();
            field3.TextFieldType = A_0.method_66();
            return;
        }

        case FormFieldType.CheckBox:
        {
            CheckBoxFormField field = this.stack_0.Peek() as CheckBoxFormField;
            field.Name = A_0.method_46();
            field.ApplyCharacterFormat(A_1);
            field.CalculateOnExit      = A_0.method_50();
            field.CheckBoxSize         = (int)(((float)A_0.method_74()) / 2f);
            field.SizeType             = A_0.method_72() ? CheckBoxSizeType.Auto : CheckBoxSizeType.Exactly;
            field.Checked              = A_0.method_78();
            field.DefaultCheckBoxValue = A_0.method_76();
            return;
        }

        case FormFieldType.DropDown:
        {
            DropDownFormField field2 = this.stack_0.Peek() as DropDownFormField;
            field2.Name = A_0.method_46();
            field2.ApplyCharacterFormat(A_1);
            field2.DefaultDropDownValue = A_0.method_81();
            A_0.method_86().method_6(field2.DropDownItems);
            field2.DropDownSelectedIndex = A_0.method_83();
            return;
        }
        }
    }