private Class91 method_15() { Class91 class2 = this.stack_0.Pop(); this.class91_0 = (this.stack_0.Count != 0) ? this.stack_0.Peek() : null; return(class2); }
// Token: 0x06000586 RID: 1414 RVA: 0x0000540D File Offset: 0x0000360D public override Class80 vmethod_4() { Class91 @class = new Class91(); @class.method_3(this.float_0); @class.method_1(base.method_0()); return(@class); }
// Token: 0x060024A3 RID: 9379 RVA: 0x0000FEF9 File Offset: 0x0000E0F9 private void lbAccounts_DoubleClick(object sender, EventArgs e) { if (this.lbAccounts.SelectedIndex > -1) { this.SelectedAccount = (this.lbAccounts.SelectedItem as Class91); base.DialogResult = DialogResult.OK; } }
// Token: 0x0600249F RID: 9375 RVA: 0x0000FEAC File Offset: 0x0000E0AC private void btnSelect_Click(object sender, EventArgs e) { if (this.lbAccounts.SelectedItems.Count > 0) { this.SelectedAccount = (this.lbAccounts.SelectedItem as Class91); base.DialogResult = DialogResult.OK; } }
internal Class91 method_3(string A_0, string A_1, bool A_2) { Class91 class2 = this.method_2(A_0, A_1, A_2, true); if (class2 == null) { return(smethod_1(this.arrayList_2, A_0, A_1)); } return(class2); }
// Token: 0x06001AD8 RID: 6872 RVA: 0x00050EB8 File Offset: 0x0004F0B8 private void method_2(Class91 act) { this.txtUsername.Text = act.Username; this.txtPassword.Text = act.Password; if (act.ToonTownAccountType == Enum101.const_1) { this.OpenServerRadioButton.Checked = true; return; } this.TestServerRadioButton.Checked = true; }
internal int method_1(Class91 A_0, bool A_1, bool A_2) { if (!A_2) { return(this.arrayList_2.Add(A_0)); } if (A_1) { return(this.arrayList_1.Add(A_0)); } return(this.arrayList_0.Add(A_0)); }
private static bool smethod_10(Class857 A_0, Class93 A_1) { for (int i = 0; i < A_0.method_13().method_8(); i++) { Class91 class2 = A_0.method_13().method_5(i); if ((class2 is Class101) && (class2 as Class101).method_23().Contains(A_1.method_0())) { return(true); } } return(false); }
// Token: 0x06001AD7 RID: 6871 RVA: 0x00050E54 File Offset: 0x0004F054 private void AccountManagerButton_Click(object sender, EventArgs e) { using (SelectAccount selectAccount = new SelectAccount()) { if (selectAccount.ShowDialog() == DialogResult.OK) { Class91 selectedAccount = selectAccount.SelectedAccount; this.method_2(selectedAccount); } } this.ShowFavoritesButton.Visible = (this.class99_0.ToonTownAccounts.Count > 0); }
internal static Class108 smethod_10(Class857 A_0) { int num = 0; Class91 class2 = A_0.method_13().method_2(A_0.method_16(), null, A_0.method_20(), true); if (class2 is Class92) { return(A_0.method_14().method_0(BookmarkStart.b("甥尧䬩䈫䨭儯䀱倳", num))); } Class93 class3 = (Class93)class2; string str = (class3 != null) ? class3.method_6() : A_0.method_26(); return(smethod_11(A_0, A_0.method_14(), str)); }
// Token: 0x06001517 RID: 5399 RVA: 0x0002B838 File Offset: 0x00029A38 private void btnDeleteAccount_Click(object sender, EventArgs e) { Class91 @class = this.AccountsList.SelectedItem as Class91; if (DialogResult.Yes == DialogBox.smethod_6(string.Format(AccountManager.string_6, @class.ReferenceName), AccountManager.string_7, new Enum39[] { Enum39.const_5, Enum39.const_6 })) { this.class99_0.ToonTownAccounts.Remove(@class); this.AccountsList.Items.Remove(@class); this.method_1(); } }
// Token: 0x06001519 RID: 5401 RVA: 0x0002B8AC File Offset: 0x00029AAC private void btnSaveAccount_Click(object sender, EventArgs e) { if (string.IsNullOrEmpty(this.txtAccountName.Text)) { DialogBox.smethod_3(AccountManager.string_0, AccountManager.string_1); this.txtAccountName.Focus(); return; } if (string.IsNullOrEmpty(this.txtUsername.Text)) { DialogBox.smethod_3(AccountManager.string_2, AccountManager.string_3); this.txtUsername.Focus(); return; } if (string.IsNullOrEmpty(this.txtPassword.Text)) { DialogBox.smethod_3(AccountManager.string_4, AccountManager.string_5); this.txtPassword.Focus(); return; } Enum101 @enum; if (this.radOpenServer.Checked) { @enum = Enum101.const_1; } else { @enum = Enum101.const_2; } if (this.class91_0 == null) { Class91 item = new Class91(this.txtAccountName.Text, this.txtUsername.Text, this.txtPassword.Text, @enum); this.class99_0.ToonTownAccounts.Add(item); this.AccountsList.Items.Add(item); } else { this.class91_0.ReferenceName = this.txtAccountName.Text; this.class91_0.Username = this.txtUsername.Text; this.class91_0.Password = this.txtPassword.Text; this.class91_0.ToonTownAccountType = @enum; this.AccountsList.imethod_0(this.AccountsList.SelectedIndex); this.class91_0 = null; } this.method_0(); this.method_1(); }
internal Class91 method_2(string A_0, string A_1, bool A_2, bool A_3) { if (!A_3) { return(smethod_1(this.arrayList_2, A_0, A_1)); } if (A_2) { Class91 class2 = smethod_1(this.arrayList_1, A_0, A_1); if (class2 != null) { return(class2); } } return(smethod_1(this.arrayList_0, A_0, A_1)); }
internal Class91 method_4(string A_0, string A_1) { if (A_0 == null) { return(smethod_0(this.arrayList_2, A_1)); } Class91 class2 = smethod_1(this.arrayList_2, A_0, A_1); if (class2 == null) { class2 = smethod_1(this.arrayList_0, A_0, A_1); } if (class2 == null) { class2 = smethod_1(this.arrayList_1, A_0, A_1); } return(class2); }
private static bool smethod_7(Class857 A_0, Class108 A_1) { Class108 class2 = null; Class91 class3 = A_0.method_13().method_2(A_0.method_16(), null, A_0.method_20(), true); if (!(class3 is Class92)) { class2 = smethod_11(A_0, A_0.method_14(), A_0.method_26()); } bool flag = ((class3 != null) && !(class3 is Class92)) && Class567.smethod_16(((Class93)class3).method_6()); bool flag2 = (A_1.method_0() != A_0.method_26()) && (A_0.method_26() != null); if (!flag) { return(false); } return(((flag2 || A_0.method_34()) || ((class2 == null) || !A_1.method_8().SectPr.Equals(class2.method_8().SectPr))) || ((class3 is Class97) && ((Class97)class3).method_33())); }
private static void smethod_13(Class857 A_0) { int num = 6; for (int i = 0; i < A_0.method_9().Styles.Count; i++) { Style style4 = (Style)A_0.method_9().Styles[i]; if ((style4.StyleIdentifier != StyleIdentifier.Normal) && (style4.StyleIdentifier != StyleIdentifier.DefaultParagraphFont)) { Class91 class4 = A_0.method_13().method_2(style4.Name, null, false, false); if (class4 is Class93) { Class93 class3 = class4 as Class93; if (class3.method_8() != null) { Style style = A_0.method_9().Styles.method_12(class3.method_8(), false); if (((style != null) && (style.StyleType == style4.StyleType)) && (class3.method_0() != class3.method_8())) { style4.BasedOnIstd = A_0.method_9().Styles.method_12(class3.method_8(), false).Istd; } } } } } for (int j = 0; j < A_0.method_13().method_8(); j++) { Class91 class5 = A_0.method_13().method_5(j); if ((class5 != null) && (class5 is Class101)) { Class101 class6 = class5 as Class101; string str = (string)class6.method_23()[0]; Class93 class2 = (Class93)A_0.method_13().method_2(str, BookmarkStart.b("堫䬭䠯䘱", num), false, false); if ((class2 != null) && (class2.method_8() != null)) { Style style3 = A_0.method_9().Styles.method_12(class2.method_8(), false); ListStyle style2 = A_0.method_9().ListStyles[class6.method_21().ListDefId]; if (style3.StyleIdentifier != StyleIdentifier.NoList) { style2.ListStyleIstd = style3.Istd; } } } } }
// Token: 0x06001AD9 RID: 6873 RVA: 0x00050F0C File Offset: 0x0004F10C private void ShowFavoritesButton_Click(object sender, EventArgs e) { Connect.Class226 @class = new Connect.Class226(); @class.connect_0 = this; this.FavoriteAccountsMenu.Items.Clear(); List <Class91> toonTownAccounts = this.class99_0.ToonTownAccounts; @class.class362_0 = new Class362[toonTownAccounts.Count]; for (int i = 0; i < toonTownAccounts.Count; i++) { Class91 class2 = toonTownAccounts[i]; Class362 class3 = @class.class362_0[i] = new Class362(class2); class3.Text = class2.ReferenceName; } this.FavoriteAccountsMenu.Items.AddRange(@class.class362_0); this.FavoriteAccountsMenu.ItemClicked += @class.method_0; this.FavoriteAccountsMenu.Closed += @class.method_1; this.FavoriteAccountsMenu.Show(this.ShowFavoritesButton, this.ShowFavoritesButton.PointToClient(Control.MousePosition)); }
internal static bool smethod_8(Class396 A_0, Class91 A_1) { int num = 7; string str = A_0.method_1(); if (str != null) { if (str == BookmarkStart.b("䌬丮尰嘲", num)) { A_1.method_1(Class576.smethod_87(A_0.method_3())); return(true); } if (str == BookmarkStart.b("䤬䘮䈰䌲头嘶䀸ᘺ匼帾ⱀ♂", num)) { A_1.method_3(A_0.method_3()); return(true); } } return(false); }
internal static void smethod_0(Class857 A_0, bool A_1) { Class101 class2 = new Class101(); class2.method_22(new ListStyle(A_0.method_9())); smethod_2(A_0, class2); smethod_3(A_0, class2); for (int i = 0; i < 9; i++) { Class91 class3 = A_0.method_13().method_3((string)class2.method_23()[i], null, A_0.method_20()); if ((class3 != null) && (class3 is Class96)) { CharacterFormat format = (class3 as Class96).method_13(); if ((format != null) && (format.Count > 0)) { format.method_37(class2.method_21().Levels[i].CharacterFormat); } } } A_0.method_13().method_1(class2, A_0.method_20(), A_1); }
private static void smethod_8(Class857 A_0) { int num = 9; for (int i = 0; i < A_0.method_13().method_8(); i++) { Class91 class3 = A_0.method_13().method_5(i); if (class3 is Class93) { Class93 class2 = class3 as Class93; if (class2.method_4() == BookmarkStart.b("弮倰䄲吴倶䬸娺䴼圾", num)) { smethod_12(A_0, class2); } if ((class2.method_4() == BookmarkStart.b("嬮吰䬲䄴", num)) && (!Class567.smethod_16(class2.method_0()) || (A_0.method_9().Styles.method_12(class2.method_0(), false) == null))) { smethod_9(A_0, class2); } } } smethod_13(A_0); }
// Token: 0x0600151F RID: 5407 RVA: 0x0002BB60 File Offset: 0x00029D60 private void method_2(bool move_up) { int selectedIndex = this.AccountsList.SelectedIndex; int num; if (move_up) { num = selectedIndex - 1; } else { num = selectedIndex + 1; } Class91 item = this.AccountsList.SelectedItem as Class91; this.AccountsList.SelectedItem = null; this.AccountsList.Items.RemoveAt(selectedIndex); this.AccountsList.Items.Insert(num, item); this.class99_0.ToonTownAccounts.RemoveAt(selectedIndex); this.class99_0.ToonTownAccounts.Insert(num, item); this.AccountsList.SelectedIndex = num; }
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); } }
internal static DocumentObject smethod_4(Class857 A_0, Class108 A_1, DocumentObject A_2) { int num = 0x10; if (smethod_8(A_0) && ((A_2 == null) || (A_2 is Body))) { bool flag2; if (((A_2 is TableCell) || (A_2 is TextBox)) || (A_2 is HeaderFooter)) { return(A_2); } Section lastSection = A_0.method_9().LastSection; bool flag = smethod_7(A_0, A_1); if ((flag2 = ((A_0.method_32() || A_0.method_30()) || flag) || (A_0.method_9().Sections.Count == 0)) || ((A_2 == null) && (A_0.method_29().Count == 0))) { if (A_0.method_29().Count == 0) { if (flag2) { lastSection = A_1.method_8(); A_0.method_9().Sections.Add(lastSection); } } else { Section section2 = (Section)A_0.method_29().Peek(); lastSection = section2.Clone(); A_1.method_8().SectPr.method_37(lastSection.SectPr); smethod_5((Class17)section2.SectPr.Clone(), lastSection.SectPr); A_0.method_9().Sections.Add(lastSection); } Section section3 = (Section)A_0.method_9().GetChildElements(1, 1)[0]; if ((flag && (((A_0.method_38() == null) || A_0.method_38().method_10()) || (section3.Body.ChildObjects.Count != 0))) && bool_0) { lastSection.SectPr.method_57(SectionBreakType.NewPage); } Class91 class2 = A_0.method_13().method_2(A_0.method_16(), null, A_0.method_20(), true); if (!(class2 is Class92)) { Class93 class3 = (Class93)class2; A_0.method_27((class3 != null) ? class3.method_6() : BookmarkStart.b("攵䰷嬹刻娽ℿぁ⁃", num)); A_0.method_35((((A_0.method_16() != BookmarkStart.b("攵䰷嬹刻娽ℿぁ⁃", num)) && (class3 != null)) && (class3 is Class97)) && Class567.smethod_16(class3.method_6())); } } smethod_6(A_0.method_9()); A_0.method_33(false); A_0.method_31(false); foreach (Paragraph paragraph2 in A_0.method_36()) { if (paragraph2.ParentObject != lastSection.Body) { lastSection.Body.method_13(paragraph2); } } A_0.method_36().Clear(); return(lastSection.Body); } if (A_2 != null) { foreach (Paragraph paragraph in A_0.method_36()) { if (paragraph.Owner == null) { A_2.method_13(paragraph); } } } return(A_2); }
// Token: 0x060023B3 RID: 9139 RVA: 0x0000F592 File Offset: 0x0000D792 public Class362(Class91 settings) { this.class91_0 = settings; }
private void method_14(Class91 class91_1) { this.stack_0.Push(class91_1); this.class91_0 = class91_1; }
// 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); }
public fpUpDownInit() { this.class100_0 = new Class100(); this.class91_0 = new Class91(); }