// Token: 0x06000070 RID: 112 RVA: 0x00002446 File Offset: 0x00000646 protected virtual void OnMouseLeave(EventArgs e) { base.OnMouseLeave(e); this.genum5_0 = GEnum5.None; GControl1.smethod_0(this); }
// Token: 0x0600006D RID: 109 RVA: 0x00002404 File Offset: 0x00000604 protected virtual void OnMouseDown(MouseEventArgs e) { base.OnMouseDown(e); this.genum5_0 = GEnum5.Down; GControl1.smethod_0(this); }
// Token: 0x0600006F RID: 111 RVA: 0x00002430 File Offset: 0x00000630 protected virtual void OnMouseEnter(EventArgs e) { base.OnMouseEnter(e); this.genum5_0 = GEnum5.Over; GControl1.smethod_0(this); }
// Token: 0x06000072 RID: 114 RVA: 0x0000535C File Offset: 0x0000355C protected virtual void OnPaint(PaintEventArgs e) { this.method_0(); Bitmap image_ = GControl1.smethod_3(GControl1.smethod_1(this), GControl1.smethod_2(this)); Graphics graphics = GControl1.smethod_4(image_); this.int_0 = GControl1.smethod_1(this) - 1; this.int_1 = GControl1.smethod_2(this) - 1; GraphicsPath graphicsPath_ = GControl1.smethod_5(); Rectangle rectangle = new Rectangle(0, 0, this.int_0, this.int_1); Graphics graphics_ = graphics; GControl1.smethod_6(graphics_, SmoothingMode.HighQuality); GControl1.smethod_7(graphics_, PixelOffsetMode.HighQuality); GControl1.smethod_8(graphics_, TextRenderingHint.ClearTypeGridFit); GControl1.smethod_10(graphics_, GControl1.smethod_9(this)); switch (this.genum5_0) { case GEnum5.None: if (!this.Boolean_0) { GControl1.smethod_16(graphics_, GControl1.smethod_11(this.color_0), rectangle); GControl1.smethod_15(graphics_, GControl1.smethod_13(this), GControl1.smethod_14(this), GControl1.smethod_11(this.color_1), rectangle, GClass6.stringFormat_1); } else { graphicsPath_ = GClass6.smethod_0(rectangle, 6); GControl1.smethod_12(graphics_, GControl1.smethod_11(this.color_0), graphicsPath_); GControl1.smethod_15(graphics_, GControl1.smethod_13(this), GControl1.smethod_14(this), GControl1.smethod_11(this.color_1), rectangle, GClass6.stringFormat_1); } break; case GEnum5.Over: if (this.Boolean_0) { graphicsPath_ = GClass6.smethod_0(rectangle, 6); GControl1.smethod_12(graphics_, GControl1.smethod_11(this.color_0), graphicsPath_); GControl1.smethod_12(graphics_, GControl1.smethod_11(Color.FromArgb(20, Color.White)), graphicsPath_); GControl1.smethod_15(graphics_, GControl1.smethod_13(this), GControl1.smethod_14(this), GControl1.smethod_11(this.color_1), rectangle, GClass6.stringFormat_1); } else { GControl1.smethod_16(graphics_, GControl1.smethod_11(this.color_0), rectangle); GControl1.smethod_16(graphics_, GControl1.smethod_11(Color.FromArgb(20, Color.White)), rectangle); GControl1.smethod_15(graphics_, GControl1.smethod_13(this), GControl1.smethod_14(this), GControl1.smethod_11(this.color_1), rectangle, GClass6.stringFormat_1); } break; case GEnum5.Down: if (this.Boolean_0) { graphicsPath_ = GClass6.smethod_0(rectangle, 6); GControl1.smethod_12(graphics_, GControl1.smethod_11(this.color_0), graphicsPath_); GControl1.smethod_12(graphics_, GControl1.smethod_11(Color.FromArgb(20, Color.Black)), graphicsPath_); GControl1.smethod_15(graphics_, GControl1.smethod_13(this), GControl1.smethod_14(this), GControl1.smethod_11(this.color_1), rectangle, GClass6.stringFormat_1); } else { GControl1.smethod_16(graphics_, GControl1.smethod_11(this.color_0), rectangle); GControl1.smethod_16(graphics_, GControl1.smethod_11(Color.FromArgb(20, Color.Black)), rectangle); GControl1.smethod_15(graphics_, GControl1.smethod_13(this), GControl1.smethod_14(this), GControl1.smethod_11(this.color_1), rectangle, GClass6.stringFormat_1); } break; } base.OnPaint(e); GControl1.smethod_17(graphics); GControl1.smethod_19(GControl1.smethod_18(e), InterpolationMode.HighQualityBicubic); GControl1.smethod_20(GControl1.smethod_18(e), image_, 0, 0); GControl1.smethod_21(image_); }