// Token: 0x060000C3 RID: 195 RVA: 0x00005914 File Offset: 0x00003B14 protected virtual void OnPaint(PaintEventArgs e) { Bitmap bitmap = GControl3.smethod_6(GControl3.smethod_4(this), GControl3.smethod_5(this)); Graphics graphics = GControl3.smethod_7(bitmap); Rectangle rectangle = new Rectangle(0, 0, GControl3.smethod_4(this), GControl3.smethod_5(this)); Graphics graphics2 = graphics; GControl3.smethod_8(graphics2, SmoothingMode.HighQuality); GControl3.smethod_9(graphics2, PixelOffsetMode.HighQuality); GControl3.smethod_10(graphics2, TextRenderingHint.ClearTypeGridFit); GControl3.smethod_12(graphics2, GControl3.smethod_11(this)); GControl3.smethod_14(graphics2, GControl3.smethod_13(this.color_0), rectangle); graphics2.DrawString("r", GControl3.smethod_15(this), GControl3.smethod_13(this.Color_1), new Rectangle(0, 0, GControl3.smethod_4(this), GControl3.smethod_5(this)), GClass6.stringFormat_1); GEnum5 genum = this.genum5_0; if (genum != GEnum5.Over) { if (genum == GEnum5.Down) { graphics2.FillRectangle(new SolidBrush(Color.FromArgb(30, Color.Black)), rectangle); } } else { graphics2.FillRectangle(new SolidBrush(Color.FromArgb(30, Color.White)), rectangle); } base.OnPaint(e); graphics.Dispose(); e.Graphics.InterpolationMode = InterpolationMode.HighQualityBicubic; e.Graphics.DrawImageUnscaled(bitmap, 0, 0); bitmap.Dispose(); }
// Token: 0x060000C2 RID: 194 RVA: 0x00005888 File Offset: 0x00003A88 public GControl3() { base.SetStyle(ControlStyles.UserPaint | ControlStyles.ResizeRedraw | ControlStyles.AllPaintingInWmPaint | ControlStyles.OptimizedDoubleBuffer, true); this.DoubleBuffered = true; GControl3.smethod_3(this, Color.White); base.Size = new Size(18, 18); this.Anchor = (AnchorStyles.Top | AnchorStyles.Right); this.Font = new Font("Marlett", 10f); }
// Token: 0x060000BC RID: 188 RVA: 0x00002668 File Offset: 0x00000868 protected virtual void OnClick(EventArgs e) { base.OnClick(e); GControl3.smethod_2(0); }
// Token: 0x060000BB RID: 187 RVA: 0x0000264D File Offset: 0x0000084D protected virtual void OnMouseMove(MouseEventArgs e) { base.OnMouseMove(e); this.int_0 = GControl3.smethod_1(e); GControl3.smethod_0(this); }
// Token: 0x060000BA RID: 186 RVA: 0x00002637 File Offset: 0x00000837 protected virtual void OnMouseUp(MouseEventArgs e) { base.OnMouseUp(e); this.genum5_0 = GEnum5.Over; GControl3.smethod_0(this); }
// Token: 0x060000B9 RID: 185 RVA: 0x00002621 File Offset: 0x00000821 protected virtual void OnMouseLeave(EventArgs e) { base.OnMouseLeave(e); this.genum5_0 = GEnum5.None; GControl3.smethod_0(this); }