// Token: 0x06001F42 RID: 8002 RVA: 0x00066D9C File Offset: 0x00064F9C protected override void OnPaint(PaintEventArgs e) { base.OnPaint(e); int num = base.Height - base.Margin.Vertical; int width = base.Width - base.Margin.Horizontal; using (GraphicsPath graphicsPath = Class476.smethod_0(new Rectangle(base.Margin.Left, base.Margin.Top, width, this.int_0), 5, Enum48.flag_1 | Enum48.flag_2)) { using (LinearGradientBrush linearGradientBrush = new LinearGradientBrush(new Point(base.Margin.Left, base.Margin.Top), new Point(base.Margin.Left, this.int_0 + base.Margin.Top), Color.White, Color.LightGray)) { Point point = new Point(base.Margin.Left, base.Height - base.Margin.Bottom); Point point2 = new Point(base.Width - base.Margin.Right, base.Height - base.Margin.Bottom); Point pt = new Point(base.Margin.Left, this.int_0 + base.Margin.Top); Point pt2 = new Point(point2.X, pt.Y); Rectangle rect = new Rectangle(base.Margin.Left, base.Margin.Top + this.int_0, width, num - this.int_0); using (SolidBrush solidBrush = new SolidBrush(this.color_0)) { e.Graphics.FillRectangle(solidBrush, rect); } e.Graphics.DrawLine(Pens.LightGray, pt, point); e.Graphics.DrawLine(Pens.LightGray, point, point2); e.Graphics.DrawLine(Pens.LightGray, point2, pt2); e.Graphics.FillPath(linearGradientBrush, graphicsPath); e.Graphics.DrawPath(Pens.LightGray, graphicsPath); if (this.rectangle_0.smethod_2() && this.image_0 != null) { graphicsPath.AddRectangle(rect); e.Graphics.SetClip(graphicsPath); e.Graphics.DrawImage(this.image_0, this.rectangle_0); e.Graphics.ResetClip(); } } } }
private void method_7() { this.class89_1 = new Class89(); this.class89_0 = new Class89(); this.class89_2 = new Class89(); this.arrayList_0 = new ArrayList(); this.arrayList_1 = new ArrayList(); this.arrayList_2 = new ArrayList(); this.arrayList_3 = new ArrayList(); this.class241_0 = new Class241(this); this.class468_0 = new Class468(this); this.class973_0 = new Class973(this); this.class918_0 = new Class918(this); this.class569_0 = new Class569(this); this.class471_0 = new Class471(this); this.class470_0 = new Class470(this); this.class850_0 = new Class850(this); this.class691_0 = new Class691(this); this.class690_0 = new Class690(this); this.class528_0 = new Class528(this); this.hashtable_0 = new Hashtable(); this.class476_0 = new Class476(); this.class88_0 = new Class88(this); this.class88_0.method_0(); new Class1094(this).method_0(); this.arrayList_3.Clear(); new Class793(this).method_0(); this.openDocumentWritingStage_0 = OpenDocumentWritingStage.MathML; this.method_15().Accept(this); new Class239(this).method_0(this.method_6()); new Class849(this).method_0(); this.class476_0.method_3(this.class928_0.stream_0, this.method_6()); }
internal bool method_1(Class857 A_0, Class476 A_1, string A_2) { Class113 class2 = A_0.method_10().method_1().method_2(string.Format(BookmarkStart.b("ܧ儩ᰫ匭Ἧ䤱Գ䬵", 2), this.method_21(), A_2)); if (class2 != null) { A_1.method_1().method_1(new Class113(A_2, class2.method_3())); return(true); } return(false); }
internal Class857(Stream A_0, Document A_1) { this.class476_0 = new Class476(A_0); this.document_0 = A_1; this.document_0.Sections.Clear(); this.int_4 = 0; this.int_0 = 1; this.int_1 = -1; this.double_0 = double.NaN; this.double_1 = double.NaN; }
internal void method_0(Class857 A_0, DocumentObject A_1, ShapeObject A_2) { int num = 2; if (this.class396_0 == null) { A_2.SetShapeType(ShapeType.OleObject); Class798.smethod_0(A_0, A_1, A_2); } else { string str = (string)A_0.method_63()[string.Format(BookmarkStart.b("匧ᨩ儫ĭ", num), this.string_0)]; if (str != BookmarkStart.b("䤧娩尫䈭夯儱唳䈵儷唹刻ᄽ㘿ⱁ⁃桅❇⭉㽋❍⍏籑㭓♕㵗㑙㡛ㅝ͟ᝡॣͥ٧ṩ䉫Ὧqᥳ͵ᑷ᭹", num)) { Class922.smethod_0(str); A_2.SetShapeType(ShapeType.OleObject); Class476 class2 = new Class476(); this.method_2(class2, str, this.method_1(A_0, class2, BookmarkStart.b("䬧䔩䈫娭唯就䀳ᠵ䀷圹倻", num)), this.method_1(A_0, class2, BookmarkStart.b("嬧帩唫䈭唯䄱ᨳ丵唷嘹", num)), this.method_1(A_0, class2, BookmarkStart.b("嬧伩堫娭夯就匳䔵ᘷ䈹儻刽", num))); MemoryStream stream = new MemoryStream(); class2.method_3(stream, str); } } }
internal void method_2(Class476 A_0, string A_1, bool A_2, bool A_3, bool A_4) { int num = 13; Class113 class2 = new Class113(BookmarkStart.b("ᰲ破父洸稺ြ瘾ཀՂ橄⩆⡈╊⥎㑐⁒⅔祖⅘㙚ㅜ", 13)); Class400 class3 = new Class400(class2, true); class3.method_62(); class3.method_33(BookmarkStart.b("帲吴夶倸崺堼䰾㕀祂⍄⹆╈⹊恌⩎㽐❒❔⹖", 13), new object[] { BookmarkStart.b("帲吴夶倸崺堼䰾㕀祂⡄≆ⵈ≊ⱌ扎═⩒╔㉖", 13), A_1, BookmarkStart.b("帲吴夶倸崺堼䰾㕀祂⍄㉆╈❊恌㽎ぐ❒㵔", 13), BookmarkStart.b("ᰲ", 13) }); if (A_2) { class3.method_33(BookmarkStart.b("帲吴夶倸崺堼䰾㕀祂⍄⹆╈⹊恌⩎㽐❒❔⹖", num), new object[] { BookmarkStart.b("帲吴夶倸崺堼䰾㕀祂⡄≆ⵈ≊ⱌ扎═⩒╔㉖", num), BookmarkStart.b("䜲倴伶䴸ᐺ䔼刾ⵀ", num), BookmarkStart.b("帲吴夶倸崺堼䰾㕀祂⍄㉆╈❊恌㽎ぐ❒㵔", num), BookmarkStart.b("倲娴夶䴸帺匼䬾潀㭂⡄⭆", num) }); } if (A_3) { class3.method_33(BookmarkStart.b("帲吴夶倸崺堼䰾㕀祂⍄⹆╈⹊恌⩎㽐❒❔⹖", num), new object[] { BookmarkStart.b("帲吴夶倸崺堼䰾㕀祂⡄≆ⵈ≊ⱌ扎═⩒╔㉖", num), BookmarkStart.b("䜲倴伶䴸ᐺ䔼刾ⵀ", num), BookmarkStart.b("帲吴夶倸崺堼䰾㕀祂⍄㉆╈❊恌㽎ぐ❒㵔", num), BookmarkStart.b("䀲䄴丶唸帺丼ᄾ㥀⹂⥄", num) }); } if (A_4) { class3.method_33(BookmarkStart.b("帲吴夶倸崺堼䰾㕀祂⍄⹆╈⹊恌⩎㽐❒❔⹖", num), new object[] { BookmarkStart.b("帲吴夶倸崺堼䰾㕀祂⡄≆ⵈ≊ⱌ扎═⩒╔㉖", num), BookmarkStart.b("䜲倴伶䴸ᐺ䔼刾ⵀ", num), BookmarkStart.b("帲吴夶倸崺堼䰾㕀祂⍄㉆╈❊恌㽎ぐ❒㵔", num), BookmarkStart.b("䀲倴䌶䴸刺匼堾㉀浂㵄⩆╈", num) }); } class3.method_33(BookmarkStart.b("帲吴夶倸崺堼䰾㕀祂⍄⹆╈⹊恌⩎㽐❒❔⹖", num), new object[] { BookmarkStart.b("帲吴夶倸崺堼䰾㕀祂⡄≆ⵈ≊ⱌ扎═⩒╔㉖", num), BookmarkStart.b("䜲倴伶䴸ᐺ䴼匾⁀⩂⭄", num), BookmarkStart.b("帲吴夶倸崺堼䰾㕀祂⍄㉆╈❊恌㽎ぐ❒㵔", num), BookmarkStart.b("帲尴娶尸伺䐼伾⑀", num) }); class3.method_3(); A_0.method_1().method_1(class2); }
internal Class112(Class476 A_0) { this.class476_0 = A_0; }
public Stream imethod_0(Class117 A_0) { return(this.class476_0.method_1().method_2(Class476.smethod_1(A_0.method_2())).method_3()); }
public abstract void Visit(Class476 c);
public override void Visit(Class476 c) { }
// Token: 0x06001FB0 RID: 8112 RVA: 0x00068668 File Offset: 0x00066868 public void method_2(PaintEventArgs e) { if (this.Bounds.smethod_2()) { using (GraphicsPath graphicsPath = Class476.smethod_0(this.Bounds, 8, Enum48.flag_5)) { using (LinearGradientBrush linearGradientBrush = this.Owner.method_2(this)) { e.Graphics.FillPath(linearGradientBrush, graphicsPath); e.Graphics.SetClip(graphicsPath); if (this.enum65_0 == Control4.Class311.Enum65.flag_1 || this.Selected) { using (GraphicsPath graphicsPath2 = Class341.smethod_0(this.Bounds.smethod_19().smethod_4(40, 40))) { using (PathGradientBrush pathGradientBrush = new PathGradientBrush(graphicsPath2)) { if (this.enum65_0 == Control4.Class311.Enum65.flag_1) { pathGradientBrush.CenterColor = this.Owner.HoverRadialCenterColor; pathGradientBrush.SurroundColors = new Color[] { this.Owner.HoverRadialSurroundColor }; } if (this.enum65_0.HasFlag(Control4.Class311.Enum65.flag_3)) { pathGradientBrush.CenterColor = this.Owner.SelectedRadialCenterColor; pathGradientBrush.SurroundColors = new Color[] { this.Owner.SelectedRadialSurroundColor }; } e.Graphics.FillPath(pathGradientBrush, graphicsPath2); } } } if (this.Icon != null) { e.Graphics.DrawImage(this.Icon, this.Icon.Size.smethod_22(this.Bounds.smethod_6(-2, -2))); } if (!string.IsNullOrEmpty(this.string_0) && this.TextFont != null) { using (SolidBrush solidBrush = new SolidBrush(this.ForeColor)) { using (StringFormat stringFormat = new StringFormat()) { stringFormat.Alignment = StringAlignment.Center; stringFormat.LineAlignment = StringAlignment.Center; e.Graphics.DrawString(this.string_0, this.TextFont, solidBrush, this.Bounds, stringFormat); } } } if (this.interface20_0 != null) { this.interface20_0.imethod_0(new EventArgs34(e.Graphics, this.Bounds)); } e.Graphics.ResetClip(); } using (Pen pen = new Pen(this.Owner.ButtonOutline, 1f)) { e.Graphics.DrawPath(pen, graphicsPath); } } } }