Example #1
0
 internal static void smethod_6(ShapeObject A_0, Class98 A_1)
 {
     A_0.SetShapeAttr(0x81, Class1133.smethod_5(A_1.method_39().method_4() * 12700.0));
     A_0.SetShapeAttr(130, Class1133.smethod_5(A_1.method_39().method_0() * 12700.0));
     A_0.SetShapeAttr(0x83, Class1133.smethod_5(A_1.method_39().method_6() * 12700.0));
     A_0.SetShapeAttr(0x84, Class1133.smethod_5(A_1.method_39().method_2() * 12700.0));
 }
Example #2
0
    // Token: 0x060007C4 RID: 1988 RVA: 0x000065EC File Offset: 0x000047EC
    public override Class80 vmethod_4()
    {
        Class98 @class = new Class98();

        @class.method_3(this.int_0);
        @class.method_1(base.method_0());
        return(@class);
    }
Example #3
0
    internal static void smethod_1(Class857 A_0, Class43 A_1)
    {
        Class98 class2 = (Class98)A_0.method_13().method_2(A_0.method_16(), BookmarkStart.b("唱䘳圵䠷刹唻崽", 12), A_0.method_20(), true);

        if ((class2 != null) && (class2.method_45() != null))
        {
            class2.method_45().method_37(A_1);
        }
    }
Example #4
0
        private static void smethod_5(
            Attribute0 productAttribute,
            DateTime firstUsedDate,
            DateTime lastUsedDate)
        {
            DateTime    now    = DateTime.Now;
            RegistryKey subKey = Registry.CurrentUser.CreateSubKey("Software").CreateSubKey("WW").CreateSubKey("{F07847F9-0CED-4e2f-8771-9BEA3D1D10CC}");
            string      str    = Class98.smethod_2(Class98.smethod_0(Encoding.Unicode.GetBytes(string.Format("{0},{1},{2}", (object)Assembly.GetExecutingAssembly().GetName().Version.ToString(), (object)firstUsedDate.ToString(CultureInfo.InvariantCulture.DateTimeFormat.SortableDateTimePattern, (IFormatProvider)CultureInfo.InvariantCulture), (object)lastUsedDate.ToString(CultureInfo.InvariantCulture.DateTimeFormat.SortableDateTimePattern, (IFormatProvider)CultureInfo.InvariantCulture)))));

            subKey.SetValue(productAttribute.RegistryKey, (object)str);
        }
 private Interface10 method_0(object object_0)
 {
     if (object_0 is XObject)
     {
         return(Class98.smethod_0((XObject)object_0));
     }
     if (!(object_0 is System.Xml.XmlNode))
     {
         throw new ArgumentException("Value must be an XML object.", "value");
     }
     return(new Class92((System.Xml.XmlNode)object_0));
 }
Example #6
0
 private static void smethod_3(ShapeObject A_0, Class98 A_1)
 {
     if (((((A_0.Height != 0.0) && (A_0.Width != 0.0)) && (A_1 != null)) && (((A_1.method_47() != 0.0) || (A_1.method_49() != 0.0)) || ((A_1.method_53() != 0.0) || (A_1.method_51() != 0.0)))) && A_0.HasImageBytes)
     {
         ImageSize size = new ImageSize((int)A_0.ImageData.Size.Width, (int)A_0.ImageData.Size.Height);
         if (size.IsValid)
         {
             A_0.ShapePr.SetAttr(0x103, Class969.smethod_71(A_1.method_47() / ((double)size.WidthPixels)));
             A_0.ShapePr.SetAttr(0x100, Class969.smethod_71(A_1.method_49() / ((double)size.HeightPixels)));
             A_0.ShapePr.SetAttr(0x102, Class969.smethod_71(A_1.method_51() / ((double)size.WidthPixels)));
             A_0.ShapePr.SetAttr(0x101, Class969.smethod_71(A_1.method_53() / ((double)size.WidthPixels)));
         }
     }
 }
Example #7
0
    internal static void smethod_0(Class857 A_0, DocumentObject A_1, CharacterFormat A_2)
    {
        int         num  = 10;
        ShapeObject obj2 = new ShapeObject(A_0.method_9());

        obj2.ShapePr.SetAttr(0x1fc, false);
        obj2.ShapePr.Remove(0x1cb);
        if (Class567.smethod_16(A_0.method_48()))
        {
            obj2.HRef = A_0.method_48();
        }
        if (Class567.smethod_16(A_0.method_50()))
        {
            obj2.Target = A_0.method_50();
        }
        A_0.method_17(null);
        Class43 class2 = smethod_4(A_0);
        Class98 class3 = (Class98)A_0.method_13().method_2(A_0.method_16(), BookmarkStart.b("圯䀱唳䘵倷匹弻", num), A_0.method_20(), true);

        smethod_1(A_0, obj2.ShapePr);
        if (A_2 != null)
        {
            A_2.method_37(obj2.CharacterFormat);
        }
        double d = smethod_5(A_0, A_1, obj2, class2);

        if (double.IsNaN(d) && (obj2.ShapePr.method_31(0x1024) == null))
        {
            obj2.ShapePr.SetAttr(0x1024, Class576.smethod_41(BookmarkStart.b("ȯᰱijȵ嬷圹", num)));
        }
        if (!double.IsNaN(d) && (obj2.ShapePr.method_31(0x1024) == null))
        {
            obj2.ShapePr.SetAttr(0x1024, d);
            obj2.ShapePr.SetAttr(190, true);
        }
        class2.method_37(obj2.ShapePr);
        smethod_2(obj2, class3);
        if (obj2.ShapePr.method_31(0x1023) == null)
        {
            obj2.TextBox.method_13(TextBoxWrapMode.None);
        }
    }
Example #8
0
    internal static void smethod_0(Class857 A_0, DocumentObject A_1, CharacterFormat A_2)
    {
        ShapeGroup group = new ShapeGroup(A_0.method_9());

        smethod_2(A_0, group);
        Class98 class2 = (Class98)A_0.method_13().method_2(A_0.method_16(), BookmarkStart.b("嘰䄲吴䜶儸刺帼", 11), A_0.method_20(), true);

        if ((class2 != null) && (class2.method_45() != null))
        {
            class2.method_45().method_37(group.ShapePr);
        }
        if (A_2 != null)
        {
            A_2.method_37(group.CharacterFormat);
        }
        smethod_3(A_0, group, A_2);
        if ((group.ChildObjects.Count > 0) || !(A_1 is ShapeGroup))
        {
            smethod_1(group);
            A_1.method_13(group);
        }
    }
Example #9
0
 public virtual void ApplyTransformation(Matrix4D transform)
 {
     foreach (Class80 class80 in (IEnumerable <Class80>) this.ilist_0)
     {
         if (class80 is Class98)
         {
             Class98 class98 = (Class98)class80;
             if (class98.Transform == null)
             {
                 Class185 class185 = new Class185()
                 {
                     Transformation = transform
                 };
                 this.ilist_0.Add((Class80)class185);
                 class185.Index    = this.ilist_0.Count - 1;
                 class98.Transform = class185;
                 break;
             }
             class98.Transform.Transformation *= transform;
             break;
         }
     }
 }
Example #10
0
 internal static void smethod_2(ShapeObject A_0, Class98 A_1)
 {
     if (A_0.ShapePr.method_31(4) == null)
     {
         if (A_0.Stroked)
         {
             A_0.Left  += A_0.StrokeWeight;
             A_0.Top   += A_0.StrokeWeight;
             A_0.Width  = (A_0.Width < (A_0.StrokeWeight * 2.0)) ? 0.0 : (A_0.Width - (A_0.StrokeWeight * 2.0));
             A_0.Height = (A_0.Height < (A_0.StrokeWeight * 2.0)) ? 0.0 : (A_0.Height - (A_0.StrokeWeight * 2.0));
         }
         if (((A_0.Height == 0.0) || (A_0.Width == 0.0)) && (A_0.ShapePr.method_31(190) == null))
         {
             A_0.ShapePr.SetAttr(190, true);
         }
         DocPicture imageData = A_0.ImageData;
         if (imageData != null)
         {
             imageData.WidthScale  = (((float)A_0.Width) / imageData.Width) * 100f;
             imageData.HeightScale = (((float)A_0.Height) / imageData.Height) * 100f;
         }
         smethod_3(A_0, A_1);
     }
 }
Example #11
0
    internal static void smethod_0(Class857 A_0, Class98 A_1)
    {
        int      num    = 9;
        Class396 class2 = A_0.method_11();
        Class43  class3 = new Class43();

        if (Class567.smethod_16(A_1.method_8()))
        {
            Class91 class4 = A_0.method_13().method_4(A_1.method_8(), BookmarkStart.b("䠮䌰刲䔴弶倸堺", num));
            if (class4 is Class98)
            {
                Class98 class7 = (Class98)class4;
                if (class7.method_45() != null)
                {
                    class3 = (Class43)class7.method_45().Clone();
                }
            }
        }
        string str2 = null;
        string str  = null;
        string str3 = "";
        string str4 = "";
        string str5 = null;
        string str6 = null;
        ShapeVerticalAlignment none = ShapeVerticalAlignment.None;

        class3.SetAttr(0x1001, TextWrappingStyle.Square);
        string str8  = class2.method_12(BookmarkStart.b("堮䌰刲䔴ᨶ娸吺匼䬾⹀㙂㝄", num), "");
        string str9  = class2.method_12(BookmarkStart.b("堮䌰刲䔴ᨶ娸吺匼䬾⹀㙂㝄橆⑈⑊⥌⩎", num), "");
        string str10 = class2.method_12(BookmarkStart.b("崮䐰崲ᠴ䌶儸䤺刼䨾♀⭂", num), BookmarkStart.b("䴮倰倲帴倶䬸吺䠼儾╀", num));

        while (class2.method_19())
        {
            string str7;
            if ((!Class857.smethod_1(class2, A_1.method_37()) && !Class857.smethod_9(class2, A_1.method_35())) && (!Class857.smethod_2(class2, A_1.method_39()) && ((str7 = class2.method_1()) != null)))
            {
                int num2;
                if (Class1160.dictionary_143 == null)
                {
                    Dictionary <string, int> dictionary1 = new Dictionary <string, int>(0x25);
                    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);
                    dictionary1.Add(BookmarkStart.b("尮夰刲儴堶丸ᘺ帼倾ⵀⱂ㝄", num), 11);
                    dictionary1.Add(BookmarkStart.b("尮夰刲儴堶丸", num), 12);
                    dictionary1.Add(BookmarkStart.b("尮夰刲儴堶丸ᘺ刼伾⁀⁂ⱄ㍆え", num), 13);
                    dictionary1.Add(BookmarkStart.b("尮夰刲儴堶丸ᘺ刼夾❀あ⁄㍆摈㍊", num), 14);
                    dictionary1.Add(BookmarkStart.b("尮夰刲儴堶丸ᘺ刼夾❀あ⁄㍆摈㉊", num), 15);
                    dictionary1.Add(BookmarkStart.b("崮䐰崲ᠴ䌶儸䤺刼䨾♀⭂", num), 0x10);
                    dictionary1.Add(BookmarkStart.b("尮䔰䄲娴尶尸", num), 0x11);
                    dictionary1.Add(BookmarkStart.b("尮䔰䄲娴尶尸ᘺ夼帾㉀⭂", num), 0x12);
                    dictionary1.Add(BookmarkStart.b("䈮倰䄲帴制䬸ᘺ丼䬾⁀ㅂㅄ", num), 0x13);
                    dictionary1.Add(BookmarkStart.b("䈮倰䄲帴制䬸ᘺ堼儾╀", num), 20);
                    dictionary1.Add(BookmarkStart.b("䴮倰倲帴倶䬸吺䠼儾╀湂♄⡆╈⑊㽌", num), 0x15);
                    dictionary1.Add(BookmarkStart.b("䤮堰弲头ᨶ娸吺儼倾㍀", num), 0x16);
                    dictionary1.Add(BookmarkStart.b("尮吰倲娴夶崸娺似䘾汀╂ⱄ⭆╈晊⹌⁎㵐㱒❔", num), 0x17);
                    dictionary1.Add(BookmarkStart.b("䤮堰弲头ᨶ常䤺尼嬾⡀♂⭄㍆摈╊ⱌ≎㑐", num), 0x18);
                    dictionary1.Add(BookmarkStart.b("䤮堰弲头", num), 0x19);
                    dictionary1.Add(BookmarkStart.b("䴮倰倲帴倶䬸吺䠼儾╀湂ㅄ㕆⡈╊㹌㽎ぐ⅒ご㥖㩘≚", num), 0x1a);
                    dictionary1.Add(BookmarkStart.b("䀮䄰刲嘴帶䴸䈺", num), 0x1b);
                    dictionary1.Add(BookmarkStart.b("䌮䐰帲尴夶堸唺帼娾", num), 0x1c);
                    dictionary1.Add(BookmarkStart.b("䰮帰崲䄴䔶堸䠺䤼", num), 0x1d);
                    dictionary1.Add(BookmarkStart.b("䰮帰弲娴䔶ᐸ嘺刼嬾⑀", num), 30);
                    dictionary1.Add(BookmarkStart.b("䈮倰䄲帴制䬸ᘺ丼䬾⁀ㅂㅄ橆㹈≊⥌㭎㥐", num), 0x1f);
                    dictionary1.Add(BookmarkStart.b("䈮倰䄲帴制䬸ᘺ堼儾╀湂㉄⹆ⵈ㽊╌", num), 0x20);
                    dictionary1.Add(BookmarkStart.b("堮䌰刲䔴ᨶ嘸䬺䤼嘾⹀ⵂ", num), 0x21);
                    dictionary1.Add(BookmarkStart.b("尮䔰䄲娴尶尸ᘺ夼帾㉀⭂桄⥆⡈♊⡌㱎", num), 0x22);
                    dictionary1.Add(BookmarkStart.b("䈮倰䄲帴制䬸ᘺ丼䬾⁀ㅂㅄ橆⩈⹊⍌㭎㑐⅒", num), 0x23);
                    dictionary1.Add(BookmarkStart.b("䈮倰䄲帴制䬸ᘺ堼儾╀湂♄≆❈㽊⡌㵎", num), 0x24);
                    Class1160.dictionary_143 = dictionary1;
                }
                if (Class1160.dictionary_143.TryGetValue(str7, out num2))
                {
                    switch (num2)
                    {
                    case 0:
                    case 1:
                        if (!(class2.method_3() == BookmarkStart.b("嬮䌰䘲倴", num)))
                        {
                            goto Label_04DD;
                        }
                        class3.SetAttr(190, true);
                        break;

                    case 2:
                    {
                        string[] strArray = class2.method_3().Replace(BookmarkStart.b("崮吰倲䄴", num), "").Replace(BookmarkStart.b("ܮ", num), "").Replace(BookmarkStart.b("خ", num), "").Replace(BookmarkStart.b("̮", num), BookmarkStart.b("༮", num)).Replace(BookmarkStart.b("༮ᄰ", num), BookmarkStart.b("༮", num)).Trim(new char[] { ' ' }).Split(new char[] { ' ' });
                        A_1.method_50(Class576.smethod_41(strArray[0]));
                        A_1.method_48(Class576.smethod_41(strArray[1]));
                        A_1.method_54(Class576.smethod_41(strArray[2]));
                        A_1.method_52(Class576.smethod_41(strArray[3]));
                        break;
                    }

                    case 3:
                        class3.SetAttr(0x1001, Class922.smethod_32(class2.method_3(), str8, str9, str10));
                        class3.SetAttr(0x1002, Class922.smethod_33(class2.method_3()));
                        break;

                    case 4:
                        class3.SetAttr(0x38f, Class922.smethod_47(class2.method_3()));
                        break;

                    case 5:
                        class3.SetAttr(0x390, Class922.smethod_45(class2.method_3()));
                        break;

                    case 6:
                        none = Class922.smethod_41(class2.method_3());
                        class3.Remove(0x391);
                        break;

                    case 7:
                        class3.SetAttr(0x392, Class922.smethod_39(class2.method_3()));
                        break;

                    case 8:
                        class3.SetAttr(0x1cb, Class576.smethod_55(class2.method_3()));
                        break;

                    case 9:
                        class3.SetAttr(0x1c0, Class576.smethod_76(class2.method_3()));
                        break;

                    case 10:
                        class3.SetAttr(0x1c1, Class576.smethod_78(class2.method_3()));
                        break;

                    case 11:
                        class3.SetAttr(0x201, Class576.smethod_76(class2.method_3()));
                        break;

                    case 12:
                        if (!(class2.method_3() == BookmarkStart.b("央堰䀲尴唶唸帺", num)))
                        {
                            goto Label_0747;
                        }
                        class3.SetAttr(0x23e, true);
                        break;

                    case 13:
                        class3.SetAttr(0x204, Class576.smethod_78(class2.method_3()));
                        break;

                    case 14:
                        class3.SetAttr(0x205, Class576.smethod_55(class2.method_3()));
                        break;

                    case 15:
                        class3.SetAttr(0x206, Class576.smethod_55(class2.method_3()));
                        break;

                    case 0x10:
                        class3.SetAttr(0x3ba, class2.method_3() == BookmarkStart.b("䴮倰倲帴倶䬸吺䠼儾╀", num));
                        break;

                    case 0x11:
                    {
                        str2 = class2.method_3();
                        string str11 = str2;
                        if (str11 != null)
                        {
                            if (str11 == BookmarkStart.b("䄮帰崲倴", num))
                            {
                                goto Label_0856;
                            }
                            if (str11 == BookmarkStart.b("尮帰弲尴匶", num))
                            {
                                class3.SetAttr(0x1fc, true);
                            }
                        }
                        break;
                    }

                    case 0x12:
                        str = Class576.smethod_87(class2.method_3());
                        break;

                    case 0x13:
                        Class922.smethod_17(A_0, class2.method_3(), class3, true);
                        break;

                    case 20:
                        Class922.smethod_17(A_0, class2.method_3(), class3, false);
                        break;

                    case 0x15:
                        if (class3.method_31(0x181) == null)
                        {
                            class3.SetAttr(0x181, Class576.smethod_76(class2.method_3()));
                        }
                        break;

                    case 0x16:
                        class3.SetAttr(0x181, Class576.smethod_76(class2.method_3()));
                        break;

                    case 0x17:
                        class3.SetAttr(0x287, Class576.smethod_76(class2.method_3()));
                        break;

                    case 0x18:
                        str5 = class2.method_3();
                        break;

                    case 0x19:
                        str6 = class2.method_3();
                        break;

                    case 0x1a:
                        class3.SetAttr(0x182, Class576.smethod_79(class2.method_3()));
                        break;

                    case 0x1b:
                        class3.SetAttr(0x182, Class576.smethod_78(class2.method_3()));
                        break;

                    case 0x1c:
                        class3.SetAttr(0x109, Class576.smethod_26(class2.method_3()));
                        break;

                    case 0x1d:
                        class3.SetAttr(0x108, Class576.smethod_24(class2.method_3()));
                        break;

                    case 30:
                        if (!(class2.method_3() == BookmarkStart.b("䠮䌰嘲䰴䐶娸娺儼娾", num)))
                        {
                            goto Label_09D9;
                        }
                        class3.SetAttr(0x13d, true);
                        break;

                    case 0x1f:
                        str3 = class2.method_3();
                        break;

                    case 0x20:
                        str4 = class2.method_3();
                        break;

                    case 0x21:
                        if (!(class2.method_3() == BookmarkStart.b("䄮帰Ḳ䈴䔶堸䬺", num)))
                        {
                            goto Label_0A43;
                        }
                        class3.SetAttr(0x85, TextBoxWrapMode.None);
                        break;
                    }
                }
            }
            continue;
Label_04DD:
            class3.SetAttr(190, false);
            continue;
Label_0747:
            if (class2.method_3() == BookmarkStart.b("䜮堰圲儴制圸", num))
            {
                class3.SetAttr(0x23e, false);
            }
            continue;
Label_0856:
            class3.SetAttr(0x1fc, false);
            continue;
Label_09D9:
            if (class2.method_3() == BookmarkStart.b("䈮帰崲娴", num))
            {
                class3.SetAttr(0x13e, true);
            }
            continue;
Label_0A43:
            class3.SetAttr(0x85, TextBoxWrapMode.Square);
        }
        object obj2 = class3.method_31(0x392);

        if ((obj2 == null) || (((RelativeVerticalPosition)obj2) != RelativeVerticalPosition.Line))
        {
            class3.SetAttr(0x391, none);
        }
        Class109    class5  = A_0.method_13().method_2(str, null, false, false) as Class109;
        LineDashing dashing = Class922.smethod_16(str2, class5);

        if ((dashing != LineDashing.Solid) && (dashing != LineDashing.Solid))
        {
            class3.SetAttr(0x1ce, dashing);
        }
        if (class5 != null)
        {
            if (class5.method_4() == BookmarkStart.b("崮帰䘲嬴匶", num))
            {
                class3.SetAttr(0x1d7, LineCap.Round);
            }
            else if (Class567.smethod_16(class5.method_4()))
            {
                class3.SetAttr(0x1d7, LineCap.Flat);
            }
        }
        smethod_3(class3, A_1, str2 != BookmarkStart.b("䄮帰崲倴", num));
        smethod_2(str3, class3, true);
        smethod_2(str4, class3, false);
        Class111 class6 = A_0.method_13().method_2(str5, null, false, false) as Class111;

        smethod_1(class3, str6, class6);
        if (class3.Count > 0)
        {
            A_1.method_46(class3);
        }
    }
Example #12
0
    // Token: 0x06000591 RID: 1425 RVA: 0x00033F94 File Offset: 0x00032194
    public static void smethod_0(object object_0, JSExtInvokeArgs jsextInvokeArgs_0)
    {
        try
        {
            foreach (KeyValuePair <string, JToken> keyValuePair in JObject.Parse(jsextInvokeArgs_0.Arguments.First <object>().ToString()))
            {
                Class116.Class117 @class = new Class116.Class117();
                @class.jtoken_0 = keyValuePair.Value;
                if (GForm1.dictionary_0.ContainsKey((int)@class.jtoken_0[Class185.smethod_0(537703519)]))
                {
                    if (Class116.Class119.callSite_0 == null)
                    {
                        Class116.Class119.callSite_0 = CallSite <Func <CallSite, object, Thread> > .Create(Binder.Convert(CSharpBinderFlags.ConvertExplicit, typeof(Thread), typeof(Class116)));
                    }
                    if (Class116.Class119.callSite_0.Target(Class116.Class119.callSite_0, GForm1.dictionary_0[(int)@class.jtoken_0[Class185.smethod_0(537703519)]][Class185.smethod_0(537700090)]).IsAlive)
                    {
                        continue;
                    }
                }
                string text = @class.jtoken_0[Class185.smethod_0(537700413)].ToString();
                uint   num  = Class98.smethod_0(text);
                Thread thread;
                if (num <= 1213666813u)
                {
                    if (num <= 834122706u)
                    {
                        if (num <= 156382626u)
                        {
                            if (num <= 72053246u)
                            {
                                if (num != 7379352u)
                                {
                                    if (num != 72053246u)
                                    {
                                        goto IL_837;
                                    }
                                    if (!(text == Class185.smethod_0(537699710)))
                                    {
                                        goto IL_837;
                                    }
                                    thread = new Thread(new ThreadStart(@class.method_14));
                                }
                                else
                                {
                                    if (!(text == Class185.smethod_0(537699521)))
                                    {
                                        goto IL_837;
                                    }
                                    thread = new Thread(new ThreadStart(@class.method_20));
                                }
                            }
                            else if (num != 94696313u)
                            {
                                if (num != 156382626u)
                                {
                                    goto IL_837;
                                }
                                if (!(text == Class185.smethod_0(537699748)))
                                {
                                    goto IL_837;
                                }
                                thread = new Thread(new ThreadStart(@class.method_4));
                            }
                            else
                            {
                                if (!(text == Class185.smethod_0(537713557)))
                                {
                                    goto IL_837;
                                }
                                thread = new Thread(new ThreadStart(@class.method_30));
                            }
                        }
                        else if (num <= 537959913u)
                        {
                            if (num != 356287031u)
                            {
                                if (num != 537959913u)
                                {
                                    goto IL_837;
                                }
                                if (!(text == Class185.smethod_0(537699461)))
                                {
                                    goto IL_837;
                                }
                                thread = new Thread(new ThreadStart(@class.method_17));
                            }
                            else
                            {
                                if (!(text == Class185.smethod_0(537699831)))
                                {
                                    goto IL_837;
                                }
                                thread = new Thread(new ThreadStart(@class.method_7));
                            }
                        }
                        else if (num != 607951316u)
                        {
                            if (num != 834122706u)
                            {
                                goto IL_837;
                            }
                            if (!(text == Class185.smethod_0(537699732)))
                            {
                                goto IL_837;
                            }
                            thread = new Thread(new ThreadStart(@class.method_1));
                        }
                        else
                        {
                            if (!(text == Class185.smethod_0(537699782)))
                            {
                                goto IL_837;
                            }
                            thread = new Thread(new ThreadStart(@class.method_6));
                        }
                    }
                    else if (num <= 1073939897u)
                    {
                        if (num <= 993983648u)
                        {
                            if (num != 978780147u)
                            {
                                if (num != 993983648u)
                                {
                                    goto IL_837;
                                }
                                if (!(text == Class185.smethod_0(537699797)))
                                {
                                    goto IL_837;
                                }
                                thread = new Thread(new ThreadStart(@class.method_5));
                            }
                            else
                            {
                                if (!(text == Class185.smethod_0(537699608)))
                                {
                                    goto IL_837;
                                }
                                thread = new Thread(new ThreadStart(@class.method_8));
                            }
                        }
                        else if (num != 1033461544u)
                        {
                            if (num != 1073939897u)
                            {
                                goto IL_837;
                            }
                            if (!(text == Class185.smethod_0(537699498)))
                            {
                                goto IL_837;
                            }
                            thread = new Thread(new ThreadStart(@class.method_18));
                        }
                        else
                        {
                            if (!(text == Class185.smethod_0(537699389)))
                            {
                                goto IL_837;
                            }
                            thread = new Thread(new ThreadStart(@class.method_24));
                        }
                    }
                    else if (num <= 1127660147u)
                    {
                        if (num != 1115811218u)
                        {
                            if (num != 1127660147u)
                            {
                                goto IL_837;
                            }
                            if (!(text == Class185.smethod_0(537699676)))
                            {
                                goto IL_837;
                            }
                            thread = new Thread(new ThreadStart(@class.method_12));
                        }
                        else
                        {
                            if (!(text == Class185.smethod_0(537699763)))
                            {
                                goto IL_837;
                            }
                            thread = new Thread(new ThreadStart(@class.method_3));
                        }
                    }
                    else if (num != 1162892671u)
                    {
                        if (num != 1213666813u)
                        {
                            goto IL_837;
                        }
                        if (!(text == Class185.smethod_0(537699627)))
                        {
                            goto IL_837;
                        }
                        thread = new Thread(new ThreadStart(@class.method_11));
                    }
                    else
                    {
                        if (!(text == Class185.smethod_0(537699593)))
                        {
                            goto IL_837;
                        }
                        thread = new Thread(new ThreadStart(@class.method_9));
                    }
                }
                else if (num <= 3276705478u)
                {
                    if (num <= 2445159016u)
                    {
                        if (num <= 1494588195u)
                        {
                            if (num != 1258127411u)
                            {
                                if (num != 1494588195u)
                                {
                                    goto IL_837;
                                }
                                if (!(text == Class185.smethod_0(537699337)))
                                {
                                    goto IL_837;
                                }
                                thread = new Thread(new ThreadStart(@class.method_23));
                            }
                            else
                            {
                                if (!(text == Class185.smethod_0(537699557)))
                                {
                                    goto IL_837;
                                }
                                thread = new Thread(new ThreadStart(@class.method_22));
                            }
                        }
                        else if (num != 1518474074u)
                        {
                            if (num != 2445159016u)
                            {
                                goto IL_837;
                            }
                            if (!(text == Class185.smethod_0(537699441)))
                            {
                                goto IL_837;
                            }
                            thread = new Thread(new ThreadStart(@class.method_28));
                        }
                        else
                        {
                            if (!(text == Class185.smethod_0(537699695)))
                            {
                                goto IL_837;
                            }
                            thread = new Thread(new ThreadStart(@class.method_15));
                        }
                    }
                    else if (num <= 2692391852u)
                    {
                        if (num != 2508713984u)
                        {
                            if (num != 2692391852u)
                            {
                                goto IL_837;
                            }
                            if (!(text == Class185.smethod_0(537703522)))
                            {
                                goto IL_837;
                            }
                            thread = new Thread(new ThreadStart(@class.method_31));
                        }
                        else
                        {
                            if (!(text == Class185.smethod_0(537699568)))
                            {
                                goto IL_837;
                            }
                            thread = new Thread(new ThreadStart(@class.method_21));
                        }
                    }
                    else if (num != 3138249339u)
                    {
                        if (num != 3276705478u)
                        {
                            goto IL_837;
                        }
                        if (!(text == Class185.smethod_0(537701307)))
                        {
                            goto IL_837;
                        }
                        thread = new Thread(new ThreadStart(@class.method_0));
                    }
                    else
                    {
                        if (!(text == Class185.smethod_0(537699423)))
                        {
                            goto IL_837;
                        }
                        thread = new Thread(new ThreadStart(@class.method_26));
                    }
                }
                else if (num <= 3925924200u)
                {
                    if (num <= 3544959638u)
                    {
                        if (num != 3520812353u)
                        {
                            if (num != 3544959638u)
                            {
                                goto IL_837;
                            }
                            if (!(text == Class185.smethod_0(537699429)))
                            {
                                goto IL_837;
                            }
                            thread = new Thread(new ThreadStart(@class.method_29));
                        }
                        else
                        {
                            if (!(text == Class185.smethod_0(537699551)))
                            {
                                goto IL_837;
                            }
                            thread = new Thread(new ThreadStart(@class.method_19));
                        }
                    }
                    else if (num != 3842920480u)
                    {
                        if (num != 3925924200u)
                        {
                            goto IL_837;
                        }
                        if (!(text == Class185.smethod_0(537699715)))
                        {
                            goto IL_837;
                        }
                        thread = new Thread(new ThreadStart(@class.method_2));
                    }
                    else
                    {
                        if (!(text == Class185.smethod_0(537699371)))
                        {
                            goto IL_837;
                        }
                        thread = new Thread(new ThreadStart(@class.method_25));
                    }
                }
                else if (num <= 4053610095u)
                {
                    if (num != 4009715463u)
                    {
                        if (num != 4053610095u)
                        {
                            goto IL_837;
                        }
                        if (!(text == Class185.smethod_0(537699472)))
                        {
                            goto IL_837;
                        }
                        thread = new Thread(new ThreadStart(@class.method_16));
                    }
                    else
                    {
                        if (!(text == Class185.smethod_0(537699392)))
                        {
                            goto IL_837;
                        }
                        thread = new Thread(new ThreadStart(@class.method_27));
                    }
                }
                else if (num != 4249577209u)
                {
                    if (num != 4285839398u)
                    {
                        goto IL_837;
                    }
                    if (!(text == Class185.smethod_0(537699661)))
                    {
                        goto IL_837;
                    }
                    thread = new Thread(new ThreadStart(@class.method_13));
                }
                else
                {
                    if (!(text == Class185.smethod_0(537699642)))
                    {
                        goto IL_837;
                    }
                    thread = new Thread(new ThreadStart(@class.method_10));
                }
IL_85D:
                thread.IsBackground = true;
                Dictionary <int, Dictionary <string, object> > dictionary_ = GForm1.dictionary_0;
                int key = (int)@class.jtoken_0[Class185.smethod_0(537703519)];
                Dictionary <string, object> dictionary = new Dictionary <string, object>();
                dictionary[Class185.smethod_0(537700090)] = thread;
                dictionary[Class185.smethod_0(537700087)] = false;
                dictionary_[key] = dictionary;
                thread.Start();
                GForm1.webView_0.QueueScriptCall(string.Format(Class185.smethod_0(537713537), @class.jtoken_0[Class185.smethod_0(537703519)]));
                continue;
IL_837:
                thread = new Thread(new ThreadStart(@class.method_32));
                goto IL_85D;
            }
        }
        catch
        {
        }
    }
Example #13
0
 internal void method_7(Class98 body)
 {
     this.ilist_2.Add(body);
 }
Example #14
0
 internal static void smethod_7(ShapeObject A_0, Class98 A_1)
 {
     A_0.StrokeWeight = (A_1.method_37().method_4().method_0() / 2.54) * 72.0;
     A_0.StrokeColor  = A_1.method_37().method_4().method_4();
 }
Example #15
0
        private static bool smethod_4(
            Attribute0 productAttribute,
            out DateTime firstUsedDate,
            out DateTime lastUsedDate)
        {
            firstUsedDate = DateTime.MinValue;
            lastUsedDate  = DateTime.MinValue;
            RegistryKey registryKey1 = Registry.CurrentUser.OpenSubKey("Software", true);

            if (registryKey1 == null)
            {
                return(false);
            }
            RegistryKey registryKey2 = registryKey1.OpenSubKey("WW", true);

            if (registryKey2 == null)
            {
                return(false);
            }
            RegistryKey registryKey3 = registryKey2.OpenSubKey("{F07847F9-0CED-4e2f-8771-9BEA3D1D10CC}");

            if (registryKey3 == null)
            {
                return(false);
            }
            string s1 = (string)registryKey3.GetValue(productAttribute.RegistryKey);

            if (s1 != null)
            {
                if (!(s1 == string.Empty))
                {
                    string str;
                    try
                    {
                        str = Encoding.Unicode.GetString(Class98.smethod_1(Class98.smethod_3(s1)));
                    }
                    catch (Exception ex)
                    {
                        return(false);
                    }
                    string[] strArray = str.Split(',');
                    if (strArray == null || strArray.Length != 3)
                    {
                        return(false);
                    }
                    string version1 = strArray[0];
                    if (version1 == null || version1 == string.Empty)
                    {
                        return(false);
                    }
                    Version version2 = new Version(version1);
                    string  s2       = strArray[1];
                    if (s2 == null || s2 == string.Empty)
                    {
                        return(false);
                    }
                    firstUsedDate = DateTime.Parse(s2, (IFormatProvider)CultureInfo.InvariantCulture);
                    string s3 = strArray[2];
                    if (s3 == null || s3 == string.Empty)
                    {
                        return(false);
                    }
                    lastUsedDate = DateTime.Parse(s3, (IFormatProvider)CultureInfo.InvariantCulture);
                    Version version3 = Assembly.GetExecutingAssembly().GetName().Version;
                    return(new Version(version3.Major, version3.Minor, version3.Build).CompareTo(new Version(version2.Major, version2.Minor, version2.Build)) <= 0);
                }
            }
            return(false);
        }
Example #16
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);
    }