public Bitmap method_7() { Bitmap bitmap2; int width = this.webBrowser_0.Width; int height = this.webBrowser_0.Height; Size size = this.webBrowser_0.Size; if (this.bool_0) { height = this.webBrowser_0.Document.Body.ScrollRectangle.Height; width = this.webBrowser_0.Document.Body.ScrollRectangle.Width; } if (width < this.int_0) { width = this.int_0; } if (height < size.Height) { height = size.Height; } this.webBrowser_0.Size = new Size(width, height); try { this.method_6(); Class17 class2 = new Class17(); Bitmap bitmap = (Bitmap)ImageHelper.ResizeImageToAFixedSize(class2.method_0(this.webBrowser_0.ActiveXInstance, new Rectangle(0, 0, width, height)), this.int_0, this.int_1, ImageHelper.ScaleMode.W); bitmap2 = bitmap; } catch (Exception exception) { throw exception; } return(bitmap2); }
static Class8() { Class15.smethod_5(); Class17.smethod_0(); oleDbConnection_0 = new OleDbConnection(Class7.string_5); oleDbConnection_1 = new OleDbConnection(Class7.string_4); }
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)); } }
private void imethod_2(Class17 A_0) { Section section = new Section(this.document_0); section.method_23(A_0); this.method_11(section); }
private static void smethod_4(Class857 A_0, Class17 A_1) { int num = 13; Class396 class2 = A_0.method_11(); while (class2.method_9(BookmarkStart.b("䌲吴倶尸ᘺ儼帾㡀ⱂい㍆摈㭊㽌⁎⅐㙒❔⍖じ㹚⹜", num))) { string str = class2.method_1(); if (str != null) { if (!(str == BookmarkStart.b("倲娴嬶䰸嘺匼䰾", num))) { if (!(str == BookmarkStart.b("儲吴吶券尺似倾㑀ⵂ⅄橆⁈♊ⱌ⡎㑐", num))) { goto Label_0097; } ShapeObject obj2 = new ShapeObject(A_0.method_9(), ShapeType.Image); Class798.smethod_1(A_0, obj2, BookmarkStart.b("儲吴吶券尺似倾㑀ⵂ⅄橆⁈♊ⱌ⡎㑐", num)); if (obj2.ImageData.HasImage) { A_0.method_9().method_190(obj2); A_0.method_9().ViewSetup.DisplayBackgroundShape = true; } } else { smethod_1(A_0, A_1); } continue; } Label_0097: class2.vmethod_1(); } }
private int method_16(Point point_0) { bool flag = true; int num = 0; int num2 = 0; while (flag) { num2++; if (num2 > 10) { throw new ArithmeticException("Random ray intersection failed after 10 retries. Some boundaries can not be respected."); } num = 0; Class17 @class = Class17.smethod_0(point_0); for (int i = 0; i < this.boundaries.Count; i++) { Edge edge = this.boundaries[i].Edge; if (@class.method_5(edge, ref flag)) { num++; } if (flag) { break; } } if (this.boundaries.Count <= 0) { } } return(num); }
internal Class17 method_35(int A_0) { int num = base.method_13().method_12(A_0); if (num < 0) { return(null); } Class596 class4 = base.method_13().method_25(num); Class17 class3 = new Class17(this.method_42()); if (class4.class429_0 != null) { this.class142_0.method_62(class4.class429_0.method_2(), class3); } int num2 = base.method_13().method_16(num + 1); int num3 = base.method_6().method_1(num2 - 1); if (num3 != -1) { Class602 class2 = base.method_6().method_4(num3); this.class142_0.method_62(class2.method_1().method_2(), class3); } return(class3); }
public bool IsValid(Point p) { if (this.boundaries.Count == 0) { return(true); } Class17 @class = new Class17(p, new Vector3d(-1.0, 0.0, 0.0)); int num = 0; bool flag = false; for (int i = 0; i < this.boundaries.Count; i++) { Edge edge = this.boundaries[i].Edge; if (@class.method_6(edge, ref flag)) { num++; } if (flag) { break; } } if (flag) { num = this.method_16(@class.method_0()); } return(num % 2 != 0); }
static Class10() { Class15.smethod_5(); Class17.smethod_0(); oleDbConnection_0 = new OleDbConnection(Class7.string_5); string_0 = null; }
private static void smethod_10(Class394 A_0, Class17 A_1) { int num = 14; while (A_0.method_19()) { string str = A_0.method_1(); if (str != null) { if (str != BookmarkStart.b("䀳伵䠷弹", num)) { if ((str != BookmarkStart.b("堳張嘷弹氻圽㐿⅁ⱃ", num)) && (str != BookmarkStart.b("堳張嘷弹ᄻ丽⤿㙁❃⹅", num))) { if ((str == BookmarkStart.b("圳帵夷䠹漻丽ℿ⅁⅃", num)) || (str == BookmarkStart.b("圳帵夷䠹ᄻ䴽〿⍁❃⍅", num))) { A_1.SetAttr(0x974, A_0.method_4()); } } else { A_1.SetAttr(0x87a, ((float)A_0.method_4()) / 20f); } } else { GridPitchType type = Class339.smethod_2(A_0.method_3()); A_1.SetAttr(0x97e, (int)type); } } } }
public static void smethod_8(Class17 A_0, Class581 A_1) { string str2; int num = 0x13; Class394 class2 = A_1.imethod_1(); Class584 class3 = new Class584(class2); if ((class3.method_10() && ((str2 = class3.method_9()) != null)) && (str2 == BookmarkStart.b("游吺似嬾潀Ղ⩄㕆⑈⩊㥌㭎㡐㵒㉔", num))) { while (class2.method_9(BookmarkStart.b("堸唺匼倾㕀≂ㅄ⹆♈╊", num))) { string str3; if (((str3 = class2.method_1()) != null) && (str3 == BookmarkStart.b("娸吺匼䬾⑀ⵂㅄ", num))) { while (class2.method_9(BookmarkStart.b("娸吺匼䬾⑀ⵂㅄ", num))) { string str; if (((str = class2.method_1()) == null) || (str != BookmarkStart.b("䨸帺帼䬾ᅀㅂ", num))) { class2.vmethod_1(); } } } else { class2.vmethod_1(); } } } }
private void method_8(Interface46 A_0) { int num = 15; if (A_0 is Paragraph) { Paragraph paragraph = (Paragraph)A_0; Section section = paragraph.method_49(); if ((section != null) || !(paragraph.OwnerTextBody.Owner is ShapeObject)) { Class17 sectPr = section.SectPr; object obj3 = sectPr.method_31(0x884); object obj2 = sectPr.method_31(0x83e); if ((section.Body.Paragraphs.Count > 0) && (paragraph == section.Body.Paragraphs[0])) { if ((obj3 != null) || (obj2 != null)) { this.class972_0.string_11 = BookmarkStart.b("䄴䔶䰸帺", num); } if ((sectPr.method_60() && !this.bool_1) && !this.bool_0) { this.class972_0.string_18 = Class1041.smethod_8(sectPr.method_86()); this.class972_0.int_0++; } } if ((this.class972_0.string_11 == BookmarkStart.b("䄴䔶䰸帺", num)) && !Class567.smethod_16(this.class972_0.string_12)) { object obj4 = sectPr.method_31(0x884); this.class972_0.string_12 = (obj4 != null) ? Class1041.smethod_8((int)obj4) : BookmarkStart.b("д", num); this.class972_0.int_0++; } } } }
public sumsaler() { Class17.smethod_0(); this.icontainer_0 = null; this.oleDbConnection_0 = new OleDbConnection(Class7.string_5); this.string_0 = null; this.RrqIxZxw5(); }
public voucher_3() { Class17.smethod_0(); this.oleDbConnection_0 = new OleDbConnection(Class7.string_5); this.string_0 = null; this.icontainer_0 = null; this.method_0(); }
internal static void smethod_2(Class17 A_0, Class17 A_1) { A_0.method_117(A_1.method_116()); A_0.method_121((int)(((float)A_1.method_120()) / 20f)); A_0.method_119(A_1.method_118()); A_0.method_123(A_1.method_122()); A_0.method_63(A_1.method_62()); }
public acc_info() { Class17.smethod_0(); this.oleDbConnection_0 = new OleDbConnection(Class7.string_5); this.string_0 = null; this.icontainer_0 = null; this.method_2(); }
public return_book() { Class17.smethod_0(); this.oleDbConnection_0 = new OleDbConnection(Class7.string_5); this.string_0 = null; this.icontainer_0 = null; this.method_0(); }
public void Test4() { int expected = -1; int[] input = null; var actual = Class17.BinarySearch(input, 2); Assert.Equal(expected, actual); }
public void Test3() { int expected = 1; int[] input = new int[] { 0, 2 }; var actual = Class17.BinarySearch(input, 2); Assert.Equal(expected, actual); }
public void Test1() { int expected = 1; int[] input = new int[] { -2, -1, 4, 5, 6 }; var actual = Class17.BinarySearch(input, -1); Assert.Equal(expected, actual); }
static Class6() { Class15.smethod_5(); Class17.smethod_0(); string_12 = DateTime.Now.ToString("HH:mm"); oleDbConnection_0 = new OleDbConnection(Class7.string_5); oleDbConnection_1 = new OleDbConnection(Class7.string_4); string_13 = Class7.smethod_19(); }
internal static void smethod_3(Section A_0, Class17 A_1) { A_0.SectPr.method_50().Left = ((float)A_1.method_31(0x8e8)) / 20f; A_0.SectPr.method_50().Right = ((float)A_1.method_31(0x8f2)) / 20f; A_0.SectPr.method_50().Top = ((float)A_1.method_31(0x8fc)) / 20f; A_0.SectPr.method_50().Bottom = ((float)A_1.method_31(0x906)) / 20f; A_0.SectPr.SetAttr(0x8fc, A_0.SectPr.method_50().Top); A_0.SectPr.SetAttr(0x906, A_0.SectPr.method_50().Bottom); A_0.SectPr.SetAttr(0x8e8, A_0.SectPr.method_50().Left); A_0.SectPr.SetAttr(0x8f2, A_0.SectPr.method_50().Right); }
public Section(IDocument doc) : base((Document)doc, null) { this.sectionBreakType_0 = SectionBreakType.NewPage; this.bool_3 = true; this.body_0 = new Spire.Doc.Body(this); this.headersFooters_0 = new Spire.Doc.HeadersFooters(this); this.headersFooters_0.method_0(this); this.class17_0 = new Class17(this); this.SectPr.method_123(new ColumnCollection(this)); this.pageSetup_0 = new Spire.Doc.PageSetup(this); }
// Token: 0x0600021D RID: 541 RVA: 0x0001112C File Offset: 0x0000F32C // Note: this type is marked as 'beforefieldinit'. static Class28() { Class34.A1SfXVPz7w9eh(); Class28.webRequest_0 = WebRequest.Create("http://ip.42.pl/raw"); Class28.stream_0 = Class28.webRequest_0.GetResponse().GetResponseStream(); Class28.string_0 = new StreamReader(Class28.stream_0).ReadToEnd(); Class28.string_1 = Class17.smethod_0(); Class28.string_2 = ""; Class28.list_0 = new List <string>(); Class28.list_1 = new List <string>(); }
private static void smethod_5(Class17 A_0, Class17 A_1) { if (A_0.method_116() != 0) { A_1.method_117(A_0.method_116()); A_1.method_123(A_0.method_122()); A_1.method_119(A_0.method_118()); A_1.method_63(A_0.method_62()); A_1.method_121(A_0.method_120()); } }
static Class12() { Class15.smethod_5(); Class17.smethod_0(); oleDbConnection_0 = new OleDbConnection(Class7.string_5); oleDbConnection_1 = new OleDbConnection(Class7.string_4); string_0 = null; string_1 = "91,95,83,85"; string_2 = "93,97,81,87"; object_0 = null; bool_0 = false; }
public voucher_2() { Class17.smethod_0(); this.icontainer_0 = null; this.AhxsdynSH = new OleDbConnection(Class7.string_5); this.string_0 = null; this.xrsummary_0 = new XRSummary(); this.xrsummary_1 = new XRSummary(); this.xrsummary_2 = new XRSummary(); this.double_0 = 0.0; this.double_1 = 0.0; this.RrqIxZxw5(); }
public voucher_1() { Class17.smethod_0(); this.icontainer_0 = null; this.oleDbConnection_0 = new OleDbConnection(Class7.string_5); this.string_0 = null; this.ecgIrJiEyW = new XRSummary(); this.xrsummary_0 = new XRSummary(); this.xrsummary_1 = new XRSummary(); this.double_0 = 0.0; this.double_1 = 0.0; this.method_0(); }
internal Class5(DataRelation dataRelation_1, bool bool_0) { Class17.smethod_0(); this.dataRelation_0 = dataRelation_1; if (bool_0) { this.int_0 = -1; } else { this.int_0 = 1; } }
private static void smethod_1(Class857 A_0, Class17 A_1, Class95 A_2) { int num = 0x11; Class396 class2 = A_0.method_11(); while (class2.method_19()) { string str; if ((((str = class2.method_1()) != null) && (str == BookmarkStart.b("匶嘸唺䤼ሾ⍀≂⥄♆❈⡊⡌扎═㙒ⵔ⍖瑘㡚㉜㍞ᑠᑦ", num))) && (class2.method_3() == BookmarkStart.b("儶堸场丼娾", num))) { A_2.method_15(false); } } }