Ejemplo n.º 1
0
 internal void method_235(Class42 A_0)
 {
     if (A_0 != null)
     {
         this.class42_0 = A_0.method_23() as Class42;
     }
 }
Ejemplo n.º 2
0
 // Token: 0x060012FC RID: 4860 RVA: 0x00004768 File Offset: 0x00002968
 internal void method_22(object object_0, Class42 class42_0)
 {
     if (this.delegate137_0 != null)
     {
         this.delegate137_0(object_0, class42_0);
     }
 }
Ejemplo n.º 3
0
        private void method_0()
        {
            this.class53_0 = new Class53();
            Class78 class78 = Class78.smethod_1(this.fontProperties_0.FaceName, this.fontProperties_0.IsBold, this.fontProperties_0.IsItalic, this.class53_0);

            this.class52_0 = new Class52(this.class53_0);
            this.class42_0 = class78.method_0(this.class53_0);
        }
Ejemplo n.º 4
0
        public void Test3()
        {
            int expected   = 1;
            var linkedList = new LinkedList();

            linkedList.AppendNodes(new List <Node>()
            {
                new Node(null, 1)
            });
            var result = Class42.FindMedian(linkedList);

            Assert.Equal(expected, result);
        }
Ejemplo n.º 5
0
    internal static Class42 smethod_0(BinaryReader A_0)
    {
        Class42  class2   = new Class42();
        long     position = A_0.BaseStream.Position;
        Class262 class3   = new Class262(A_0);

        if (class3.int_2 != class3.int_3)
        {
            smethod_1(A_0, class2);
            A_0.BaseStream.Position = position + class3.int_2;
        }
        return(class2);
    }
Ejemplo n.º 6
0
 private void method_18(CharacterFormat A_0, int A_1)
 {
     switch (this.class764_0.method_43().imethod_39())
     {
     case FieldType.FieldFormTextInput:
     case FieldType.FieldFormCheckBox:
     case FieldType.FieldFormDropDown:
     {
         this.class764_0.method_4().BaseStream.Position = A_1;
         Class42 class2 = smethod_0(this.class764_0.method_4());
         this.class764_0.method_43().imethod_14(class2, A_0);
         break;
     }
     }
 }
Ejemplo n.º 7
0
    public static int Main()
    {
        try
        {
            Console.WriteLine("Instantiating: Class42_0...");
            Class42 Class42_0 = new Class42();

            Console.WriteLine("PASS");
            return(100);
        }
        catch (Exception e)
        {
            Console.WriteLine("FAIL: Caught unexpected exception: " + e.Message);
            return(101);
        }
    }
Ejemplo n.º 8
0
 public static int Main()
 {
     try
     {
         Console.WriteLine("Instantiating: Class42_0...");
         Class42 Class42_0 = new Class42();
         
         Console.WriteLine("PASS");
         return 100;
     } 
     catch (Exception e)
     {
         Console.WriteLine("FAIL: Caught unexpected exception: " + e.Message);
         return 101;
     }
 } 
Ejemplo n.º 9
0
        public void Test1()
        {
            int expected   = 4;
            var linkedList = new LinkedList();

            linkedList.AppendNodes(new List <Node>()
            {
                new Node(null, 1),
                new Node(null, 2),
                new Node(null, 3),
                new Node(null, 4),
                new Node(null, 5),
                new Node(null, 6),
                new Node(null, 7),
                new Node(null, 8)
            });
            var result = Class42.FindMedian(linkedList);

            Assert.Equal(expected, result);
        }
Ejemplo n.º 10
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;
        }
        }
    }
Ejemplo n.º 11
0
    private static void smethod_1(BinaryReader A_0, Class42 A_1)
    {
        bool flag;
        int  num = 0x13;

        if (!(flag = A_0.ReadUInt32() == uint.MaxValue))
        {
            A_0.BaseStream.Seek(-4L, SeekOrigin.Current);
        }
        int           num6 = A_0.ReadUInt16();
        FormFieldType type = ((FormFieldType)num6) & (FormFieldType.DropDown | FormFieldType.CheckBox);

        A_1.method_88(type);
        int num5 = (num6 & 0x7c) >> 2;

        switch (type)
        {
        case FormFieldType.DropDown:
            if (num5 != 0x19)
            {
                A_1.method_84(num5);
            }
            break;
        }
        A_1.method_57((num6 & 0x80) != 0);
        A_1.method_61((num6 & 0x100) != 0);
        A_1.method_49((num6 & 0x200) == 0);
        A_1.method_73((num6 & 0x400) == 0);
        A_1.method_67((TextFormFieldType)((num6 & 0x3800) >> 11));
        A_1.method_51((num6 & 0x4000) != 0);
        bool flag2 = (num6 & 0x8000) != 0;

        A_1.method_65(A_0.ReadUInt16());
        A_1.method_75(A_0.ReadUInt16());
        if (!flag)
        {
            A_0.ReadUInt16();
        }
        A_1.method_47(Class813.smethod_1(A_0, flag, true));
        switch (type)
        {
        case FormFieldType.TextInput:
        {
            string str = Class813.smethod_1(A_0, flag, true);
            if (num5 != 0x19)
            {
                A_1.method_69(str);
            }
            break;
        }

        case FormFieldType.CheckBox:
            A_1.method_77(A_0.ReadUInt16() != 0);
            if (num5 == 0x19)
            {
                A_1.method_79(A_1.method_76());
                break;
            }
            A_1.method_79(num5 != 0);
            break;

        case FormFieldType.DropDown:
            A_1.method_82(A_0.ReadUInt16());
            break;

        default:
            throw new InvalidOperationException(BookmarkStart.b("永唺嘼儾⹀㑂⭄杆⽈⑊㽌≎煐㕒㱔㉖㕘㽚絜⭞ᡠ።d䥦", num));
        }
        A_1.method_71(Class813.smethod_1(A_0, flag, true));
        A_1.method_59(Class813.smethod_1(A_0, flag, true));
        A_1.method_63(Class813.smethod_1(A_0, flag, true));
        A_1.method_53(Class813.smethod_1(A_0, flag, true));
        A_1.method_55(Class813.smethod_1(A_0, flag, true));
        if ((type == FormFieldType.DropDown) && flag2)
        {
            int num3;
            A_0.ReadInt16();
            if (!flag)
            {
                num3 = A_0.ReadInt16();
                A_0.ReadInt16();
                A_0.ReadInt16();
                A_0.ReadInt16();
                A_0.ReadBytes(num3 * 2);
            }
            else
            {
                num3 = A_0.ReadInt32();
            }
            if (num3 <= 0x19)
            {
                for (int i = 0; i < num3; i++)
                {
                    A_1.method_86().Add(Class813.smethod_1(A_0, flag, false));
                }
            }
        }
    }
Ejemplo n.º 12
0
        // Token: 0x0600144A RID: 5194 RVA: 0x00024E80 File Offset: 0x00023080
        public void MouseDown(short nButton, short nShiftState, int fX, int fY)
        {
            Class42 class42_ = new Class42(nButton, nShiftState, fX, fY);

            this.class24_0.method_22(this.class24_0, class42_);
        }
Ejemplo n.º 13
0
 static Class38()
 {
     Class42.smethod_0();
     module_0 = typeof(Class38).Assembly.ManifestModule;
 }
Ejemplo n.º 14
0
 public Class38()
 {
     Class42.smethod_0();
 }