Example #1
0
    private static void smethod_8(Class17 A_0, Class92 A_1, int A_2, int A_3, Class472 A_4, double A_5, double A_6, bool A_7)
    {
        Border border = A_0.method_49()[A_2] as Border;

        if (A_4 != null)
        {
            border.BorderType = A_4.method_2();
            border.Color      = A_4.method_4();
            border.LineWidth  = (float)A_4.method_0();
        }
        if ((A_5 > double_0) || (A_0.method_94() == PageBorderOffsetFrom.PageEdge))
        {
            if ((A_6 <= double_0) && A_7)
            {
                A_5 = A_6;
                A_6 = A_5;
                A_0.method_95(PageBorderOffsetFrom.PageEdge);
            }
            else
            {
                A_5 = double_0;
            }
        }
        border.Space  = Class1133.smethod_5(A_5);
        border.Shadow = A_1.method_16();
        if (A_7)
        {
            A_0.method_156(A_3, ((float)(A_6 + A_5)) + ((A_4 == null) ? 0f : border.LineWidth));
        }
    }
Example #2
0
    // Token: 0x06000595 RID: 1429 RVA: 0x0000551D File Offset: 0x0000371D
    public override Class80 vmethod_4()
    {
        Class92 @class = new Class92();

        @class.method_3(this.uint_0);
        @class.method_1(base.method_0());
        return(@class);
    }
Example #3
0
        public int UpdateBMBBBH(string string_0)
        {
            Class101.smethod_0("接口UpdateBMBBBH开始:" + string_0);
            int num = 0;

            num = new Class92().method_3(string_0);
            Class101.smethod_0("接口UpdateBMBBBH结束:" + string_0);
            return(num);
        }
Example #4
0
    private void method_1()
    {
        Class92 class2 = new Class92();

        class2.method_1(BookmarkStart.b("尫䌭/", 6));
        this.class89_0.method_1(class2, false, true);
        Class108 class3 = new Class108();

        class3.method_1(BookmarkStart.b("缫娭儯就倳圵䨷帹", 6));
        class3.method_5(class2.method_0());
        class3.method_9(new Section(this.document_0));
        this.class854_0.Add(class3);
    }
Example #5
0
    private DateTime method_3()
    {
        DateTime now = DateTime.Now;

        try
        {
            now = (DateTime)Class92.smethod_0("http://59.175.145.163/AuthorizeService.asmx", "GetTime", null);
        }
        catch (Exception)
        {
        }
        return(now);
    }
Example #6
0
    private static void smethod_7(Class17 A_0, Class92 A_1)
    {
        Class852 class2 = A_1.method_8();
        Class412 class3 = A_1.method_10();
        Class572 class4 = A_1.method_6();

        if (smethod_9(class3, class4))
        {
            A_0.method_95(PageBorderOffsetFrom.PageEdge);
        }
        smethod_8(A_0, A_1, 2, 0x8fc, class2.method_0(), class3.method_0(), class4.method_2().method_0(), class4.method_2().method_4());
        smethod_8(A_0, A_1, 3, 0x906, class2.method_2(), class3.method_2(), class4.method_2().method_2(), class4.method_2().method_6());
        smethod_8(A_0, A_1, 1, 0x8e8, class2.method_4(), class3.method_4(), class4.method_0().method_0(), class4.method_0().method_4());
        smethod_8(A_0, A_1, 4, 0x8f2, class2.method_6(), class3.method_6(), class4.method_0().method_2(), class4.method_0().method_6());
    }
Example #7
0
    private static void smethod_9(Class857 A_0, Class108 A_1, Section A_2)
    {
        Class92 class2 = A_0.method_13().method_2(A_1.method_4(), null, A_0.method_20(), true) as Class92;

        if (class2 != null)
        {
            if (class2.method_12() != null)
            {
                A_2.SectPr.method_50().Top += class2.method_12().method_8();
            }
            if (class2.method_14() != null)
            {
                A_2.SectPr.method_50().Bottom += class2.method_14().method_8();
            }
        }
    }
Example #8
0
 internal void method_8(int int_5, string string_3, int int_6)
 {
     string_3 = string.Format("{0}-{1}", string_3, Class41.int_1);
     try
     {
         Class92.smethod_0(this.string_0, "ClientCallAuth", new object[] { Platform.string_0, AuthorizeTool.smethod_0().string_1, int_5, string_3, int_6 });
     }
     catch
     {
         try
         {
             Class92.smethod_0(this.string_1, "ClientCallAuth", new object[] { Platform.string_0, AuthorizeTool.smethod_0().string_1, int_5, string_3, int_6 });
         }
         catch
         {
         }
     }
 }
Example #9
0
    internal static void smethod_0(Class857 A_0)
    {
        Class108 class2 = new Class108();

        smethod_5(A_0, class2);
        Class92 class3 = A_0.method_13().method_2(class2.method_4(), null, A_0.method_20(), true) as Class92;

        if ((class3 != null) && (class3.method_4() != null))
        {
            class2.method_9(new Section(A_0.method_9()));
            smethod_1(class2.method_8(), class3.method_4());
        }
        else
        {
            class2.method_9(new Section(A_0.method_9()));
        }
        A_0.method_14().Add(class2);
        smethod_6(A_0, class2);
    }
Example #10
0
    // Token: 0x06000653 RID: 1619 RVA: 0x00035E5C File Offset: 0x0003405C
    private Class47 method_10(bool bool_2)
    {
        if (!this.bool_0)
        {
            bool flag = this.bool_1 || this.symmetricAlgorithm_0 == null;
            if (this.symmetricAlgorithm_0 == null)
            {
                this.symmetricAlgorithm_0 = Class136.smethod_0();
                if (this.symmetricAlgorithm_0 == null)
                {
                    this.bool_0 = true;
                }
            }
            if (this.symmetricAlgorithm_0 != null)
            {
                if (flag)
                {
                    this.symmetricAlgorithm_0.Key     = this.method_4();
                    this.symmetricAlgorithm_0.IV      = this.method_6();
                    this.symmetricAlgorithm_0.Mode    = Class136.smethod_1(this.method_0());
                    this.symmetricAlgorithm_0.Padding = Class136.smethod_2(this.method_2());
                }
                return(new Class48(bool_2 ? this.symmetricAlgorithm_0.CreateEncryptor() : this.symmetricAlgorithm_0.CreateDecryptor()));
            }
        }
        Class92 interface6_ = new Class92(new Class135());
        Class65 @class;

        if (this.method_2() != (Enum1)1)
        {
            @class = new Class66(interface6_, Class136.smethod_3(this.method_2()));
        }
        else
        {
            @class = new Class65(interface6_);
        }
        Class95 interface1_ = new Class95(new Class19(this.method_4()), this.method_6());

        @class.imethod_1(bool_2, interface1_);
        return(new Class49(@class));
    }
Example #11
0
    internal bool method_7()
    {
        DateTime now = DateTime.Now;

        try
        {
            DateTime time2 = (DateTime)Class92.smethod_0(this.string_0, "GetTime", null);
            return(true);
        }
        catch
        {
        }
        try
        {
            DateTime time3 = (DateTime)Class92.smethod_0(this.string_1, "GetTime", null);
            return(true);
        }
        catch (Exception)
        {
            return(false);
        }
    }
Example #12
0
    internal static void smethod_0(Class857 A_0, Class92 A_1)
    {
        int     num    = 11;
        Class17 class2 = new Class17(A_0.method_9());

        smethod_5(A_0, A_1, class2);
        smethod_7(class2, A_1);
        if (class2.method_80() != 0)
        {
            class2.method_156(0x87a, (((class2.method_98() - class2.method_104()) - class2.method_106()) / ((float)class2.method_80())) / 20f);
            class2.method_81(0);
        }
        smethod_4(A_0, class2);
        if (A_0.method_52() != null)
        {
            if (A_0.method_52() != null)
            {
                class2.method_73(int.Parse(A_0.method_52().method_4()));
            }
            if (A_0.method_52().method_14() == BookmarkStart.b("䔰䄲䀴制", num))
            {
                class2.method_71(LineNumberingRestartMode.RestartPage);
            }
            else
            {
                class2.method_71(LineNumberingRestartMode.Continuous);
            }
            if (A_0.method_52().method_8() != null)
            {
                class2.method_127((float)Class576.smethod_50(Class576.smethod_36(A_0.method_52().method_8())));
            }
        }
        if (class2.Count > 0)
        {
            A_1.method_5(class2);
        }
    }
Example #13
0
    internal static void smethod_0(Class857 A_0, Class108 A_1, string A_2)
    {
        int              num        = 6;
        Class92          class2     = A_0.method_13().method_2(A_1.method_4(), null, A_0.method_20(), true) as Class92;
        HeaderFooterType type       = smethod_1(A_1, A_2);
        HeaderFooter     evenHeader = null;

        switch (type)
        {
        case HeaderFooterType.HeaderEven:
            evenHeader = A_1.method_8().HeadersFooters.EvenHeader;
            break;

        case HeaderFooterType.HeaderOdd:
            evenHeader = A_1.method_8().HeadersFooters.OddHeader;
            break;

        case HeaderFooterType.FooterEven:
            evenHeader = A_1.method_8().HeadersFooters.EvenFooter;
            break;

        case HeaderFooterType.FooterOdd:
            evenHeader = A_1.method_8().HeadersFooters.OddFooter;
            break;

        case HeaderFooterType.HeaderFirstPage:
            evenHeader = A_1.method_8().HeadersFooters.FirstPageHeader;
            break;

        case HeaderFooterType.FooterFirstPage:
            evenHeader = A_1.method_8().HeadersFooters.FirstPageFooter;
            break;
        }
        Class17 class3 = null;

        if (class2 != null)
        {
            Class107 class4 = A_2.StartsWith(BookmarkStart.b("䐫䬭儯嘱儳䐵", num)) ? class2.method_12() : class2.method_14();
            if (class4 != null)
            {
                class3 = class4.method_4();
            }
            if (A_2.EndsWith(BookmarkStart.b("ī䈭唯吱䀳", num)))
            {
                A_0.method_9().Settings.bool_37 = true;
            }
            if (class3 != null)
            {
                class3.method_37(A_1.method_8().SectPr);
            }
            while (A_0.method_11().method_9(A_2))
            {
                string key = A_0.method_11().method_1();
                if (key != null)
                {
                    int num2;
                    if (Class1160.dictionary_109 == null)
                    {
                        Dictionary <string, int> dictionary1 = new Dictionary <string, int>(11);
                        dictionary1.Add(BookmarkStart.b("尫", num), 0);
                        dictionary1.Add(BookmarkStart.b("䐫", num), 1);
                        dictionary1.Add(BookmarkStart.b("䀫䜭䌯䘱", num), 2);
                        dictionary1.Add(BookmarkStart.b("堫伭刯帱儳", num), 3);
                        dictionary1.Add(BookmarkStart.b("堫伭刯帱儳ᬵ圷尹ᄻ崽⼿ⱁぃ⍅♇㹉", num), 4);
                        dictionary1.Add(BookmarkStart.b("䴫䈭䀯娱唳吵崷丹唻崽ℿ⹁楃⽅♇⹉⥋㙍", num), 5);
                        dictionary1.Add(BookmarkStart.b("䔫䈭尯䜱䜳䈵䨷嬹䠻圽⼿ⱁ楃⽅♇⹉⥋㙍", num), 6);
                        dictionary1.Add(BookmarkStart.b("堫伭刯帱儳ᬵ儷吹堻嬽㠿", num), 7);
                        dictionary1.Add(BookmarkStart.b("䌫䰭娯圱圳䈵ᔷ匹刻娽┿㩁", num), 8);
                        dictionary1.Add(BookmarkStart.b("夫崭唯䀱ᤳ張嘷帹夻䘽", num), 9);
                        dictionary1.Add(BookmarkStart.b("丫䜭刯帱崳夵強䠹崻丽⠿㭁", num), 10);
                        Class1160.dictionary_109 = dictionary1;
                    }
                    if (Class1160.dictionary_109.TryGetValue(key, out num2))
                    {
                        switch (num2)
                        {
                        case 0:
                        case 1:
                        {
                            Class1099.smethod_1(A_0, A_0.method_11().method_1(), evenHeader);
                            continue;
                        }

                        case 2:
                        {
                            Class530.smethod_0(A_0, evenHeader, null);
                            continue;
                        }

                        case 3:
                        {
                            Class90.smethod_0(A_0, evenHeader);
                            continue;
                        }

                        case 4:
                        case 5:
                        case 6:
                        case 7:
                        case 8:
                        case 9:
                        case 10:
                        {
                            if (!Class246.smethod_0(A_0, evenHeader, A_1))
                            {
                                A_0.method_11().vmethod_1();
                            }
                            continue;
                        }
                        }
                    }
                }
                A_0.method_11().vmethod_1();
            }
        }
    }
Example #14
0
        public string GetMaxBMBBBH()
        {
            Class92 class2 = new Class92();

            return(class2.method_0());
        }
Example #15
0
 private bool AllowStartNewInstance(string string_3)
 {
     return((bool)Class92.smethod_0(string_3, "AllowStartNewInstance", new object[] { Platform.string_0, this.string_1 }));
 }
Example #16
0
    private static void smethod_5(Class857 A_0, Class92 A_1, Class17 A_2)
    {
        int      num    = 11;
        Class396 class2 = A_0.method_11();

        while (class2.method_19())
        {
            string str2;
            if ((!Class857.smethod_1(class2, A_1.method_8()) && !Class857.smethod_9(class2, A_1.method_6())) && (!Class857.smethod_2(class2, A_1.method_10()) && ((str2 = class2.method_1()) != null)))
            {
                int num2;
                if (Class1160.dictionary_184 == null)
                {
                    Dictionary <string, int> dictionary1 = new Dictionary <string, int>(9);
                    dictionary1.Add(BookmarkStart.b("弰䘲場ᨶ弸吺似刾⁀㝂", num), 0);
                    dictionary1.Add(BookmarkStart.b("䄰刲刴制ᐸ䰺吼嬾㕀⭂", num), 1);
                    dictionary1.Add(BookmarkStart.b("䄰刲刴制ᐸ区堼嘾♀⭂ㅄ", num), 2);
                    dictionary1.Add(BookmarkStart.b("䄰䄲尴夶䴸ᘺ刼䴾⡀♂⭄㍆⡈㽊⑌⁎㽐", num), 3);
                    dictionary1.Add(BookmarkStart.b("䘰䄲尴䌶倸唺娼ሾⱀⱂ⅄≆", num), 4);
                    dictionary1.Add(BookmarkStart.b("䈰嬲吴匶嘸䰺", num), 5);
                    dictionary1.Add(BookmarkStart.b("匰刲嘴尶常䤺刼䨾⽀❂桄⑆♈❊≌㵎", num), 6);
                    dictionary1.Add(BookmarkStart.b("崰刲䰴堶䰸伺ြ堾㍀⩂⅄橆⑈⑊⥌⩎", num), 7);
                    dictionary1.Add(BookmarkStart.b("崰刲䰴堶䰸伺ြ堾㍀⩂⅄橆╈≊⍌⩎≐", num), 8);
                    Class1160.dictionary_184 = dictionary1;
                }
                if (Class1160.dictionary_184.TryGetValue(str2, out num2))
                {
                    switch (num2)
                    {
                    case 0:
                        if (class2.method_3() != BookmarkStart.b("0", num))
                        {
                            A_2.method_53(Class922.smethod_58(class2.method_3()));
                        }
                        break;

                    case 1:
                        A_2.method_156(0x8d4, (float)Class576.smethod_36(class2.method_3()));
                        break;

                    case 2:
                        A_2.method_156(0x8de, (float)Class576.smethod_36(class2.method_3()));
                        break;

                    case 3:
                        A_2.method_156(0x8a2, Class922.smethod_86(class2.method_3()));
                        break;

                    case 4:
                        smethod_6(A_2, class2.method_3());
                        break;

                    case 5:
                        A_1.method_17(Class576.smethod_90(class2.method_3()));
                        break;

                    case 6:
                        A_0.method_9().Background.Color = Class576.smethod_76(class2.method_3());
                        break;

                    case 7:
                    {
                        string str = class2.method_3();
                        if (str != null)
                        {
                            if (str == BookmarkStart.b("崰娲嬴制", num))
                            {
                                goto Label_026C;
                            }
                            if (str == BookmarkStart.b("匰尲䄴弶", num))
                            {
                                A_2.method_156(0x97e, GridPitchType.CharsAndLine);
                            }
                        }
                        break;
                    }

                    case 8:
                        A_2.method_156(0xa50, int.Parse(class2.method_3()));
                        break;
                    }
                }
            }
            continue;
Label_026C:
            A_2.method_156(0x97e, GridPitchType.LinesOnly);
        }
        Class1138 class3 = A_0.method_52();

        if ((class3 != null) && (class3.method_0() == BookmarkStart.b("䔰䄲䀴制", num)))
        {
            A_2.SetAttr(0x848, 1);
            if (Class567.smethod_16(class3.method_4()))
            {
                A_2.SetAttr(0x848, Class1041.smethod_11(class3.method_4()));
            }
            if (Class567.smethod_16(class3.method_8()))
            {
                A_2.SetAttr(0x960, Class576.smethod_36(class3.method_8()));
            }
            if (class3.method_14() == BookmarkStart.b("䔰䄲䀴制", num))
            {
                A_2.SetAttr(0x83e, LineNumberingRestartMode.RestartPage);
            }
        }
    }
Example #17
0
 private bool method_9(string string_3)
 {
     return((bool)Class92.smethod_0(string_3, "CheckAuthorizedUser", new object[] { Class30.int_0, Platform.string_0, Class30.string_2, this.string_2, "", Class30.string_0, Class30.string_1 }));
 }
Example #18
0
    // Token: 0x06000148 RID: 328 RVA: 0x0000F174 File Offset: 0x0000D374
    public static Class80 smethod_1(object object_0, Type type_0)
    {
        Class80 @class = object_0 as Class80;

        if (@class != null)
        {
            return(@class);
        }
        if (type_0 == null)
        {
            if (object_0 == null)
            {
                return(new Class90());
            }
            type_0 = object_0.GetType();
        }
        type_0 = Class37.smethod_1(type_0);
        if (type_0 == Class175.type_0)
        {
            @class = new Class90();
            if (object_0 != null && object_0.GetType() != Class175.type_0)
            {
                @class.method_1(object_0.GetType());
            }
        }
        else if (Class29.smethod_0 <Array>(type_0))
        {
            @class = new Class93();
        }
        else if (Class29.smethod_0 <string>(type_0))
        {
            @class = new Class96();
        }
        else if (Class29.smethod_0 <IntPtr>(type_0))
        {
            @class = new Class99();
        }
        else if (Class29.smethod_0 <UIntPtr>(type_0))
        {
            @class = new Class83();
        }
        else if (Class29.smethod_0 <ulong>(type_0))
        {
            @class = new Class89();
        }
        else if (Class29.smethod_0 <uint>(type_0))
        {
            @class = new Class92();
        }
        else if (Class29.smethod_0 <ushort>(type_0))
        {
            @class = new Class87();
        }
        else if (Class29.smethod_0 <long>(type_0))
        {
            @class = new Class82();
        }
        else if (Class29.smethod_0 <int>(type_0))
        {
            @class = new Class98();
        }
        else if (Class29.smethod_0 <short>(type_0))
        {
            @class = new Class94();
        }
        else if (Class29.smethod_0 <byte>(type_0))
        {
            @class = new Class88();
        }
        else if (Class29.smethod_0 <sbyte>(type_0))
        {
            @class = new Class85();
        }
        else if (Class29.smethod_0 <double>(type_0))
        {
            @class = new Class86();
        }
        else if (Class29.smethod_0 <float>(type_0))
        {
            @class = new Class91();
        }
        else if (Class29.smethod_0 <bool>(type_0))
        {
            @class = new Class97();
        }
        else if (Class29.smethod_0 <char>(type_0))
        {
            @class = new Class81();
        }
        else if (Class175.smethod_0(type_0))
        {
            Class90 class2 = new Class90();
            class2.method_1(type_0);
            @class = class2;
        }
        else
        {
            if (Class29.smethod_0 <Enum>(type_0))
            {
                Enum enum_;
                if (object_0 == null)
                {
                    if (type_0 == Class175.type_2)
                    {
                        enum_ = null;
                    }
                    else
                    {
                        enum_ = (Enum)Activator.CreateInstance(type_0);
                    }
                }
                else if (type_0 == Class175.type_2 && object_0 is Enum)
                {
                    enum_ = (Enum)object_0;
                }
                else
                {
                    enum_ = (Enum)Enum.ToObject(type_0, object_0);
                }
                return(new Class84(enum_));
            }
            if (Class29.smethod_0 <ValueType>(type_0))
            {
                if (object_0 == null)
                {
                    object object_;
                    if (type_0 == Class175.type_3)
                    {
                        object_ = null;
                    }
                    else
                    {
                        object_ = Activator.CreateInstance(type_0);
                    }
                    @class = new Class107(object_);
                }
                else
                {
                    if (object_0.GetType() != type_0)
                    {
                        try
                        {
                            object_0 = Convert.ChangeType(object_0, type_0);
                        }
                        catch
                        {
                        }
                    }
                    @class = new Class107(object_0);
                }
                return(@class);
            }
            @class = new Class90();
        }
        if (object_0 != null)
        {
            @class.vmethod_1(object_0);
        }
        return(@class);
    }
Example #19
0
 private void method_4(string string_3)
 {
     Class92.smethod_0(string_3, "UnregisterInstance", new object[] { Platform.string_0, this.string_2, Class30.int_0 });
 }