// Token: 0x060002E4 RID: 740 RVA: 0x000085C8 File Offset: 0x000067C8 public GControl15() { base.SetStyle(ControlStyles.UserPaint | ControlStyles.ResizeRedraw | ControlStyles.SupportsTransparentBackColor | ControlStyles.AllPaintingInWmPaint | ControlStyles.OptimizedDoubleBuffer, true); this.DoubleBuffered = true; GControl15.smethod_22(this, Color.Transparent); this.textBox_0 = GControl15.smethod_23(); GControl15.smethod_10(this.textBox_0, GControl15.smethod_24("Segoe UI", 10f)); GControl15.smethod_9(this.textBox_0, GControl15.smethod_14(this)); GControl15.smethod_22(this.textBox_0, this.color_0); GControl15.smethod_25(this.textBox_0, this.color_1); GControl15.smethod_1(this.textBox_0, this.int_2); GControl15.smethod_4(this.textBox_0, this.bool_2); GControl15.smethod_2(this.textBox_0, this.bool_0); GControl15.smethod_3(this.textBox_0, this.bool_1); GControl15.smethod_26(this.textBox_0, BorderStyle.None); this.textBox_0.Location = new Point(5, 5); this.textBox_0.Width = base.Width - 10; this.textBox_0.Cursor = Cursors.IBeam; if (this.bool_2) { this.textBox_0.Height = base.Height - 11; } else { base.Height = this.textBox_0.Height + 11; } this.textBox_0.TextChanged += this.textBox_0_TextChanged; this.textBox_0.KeyDown += this.textBox_0_KeyDown; }
// Token: 0x060002E1 RID: 737 RVA: 0x000032C5 File Offset: 0x000014C5 protected virtual void OnMouseUp(MouseEventArgs e) { base.OnMouseUp(e); this.genum5_0 = GEnum5.Over; GControl15.smethod_21(this.textBox_0); GControl15.smethod_20(this); }
// Token: 0x060002D8 RID: 728 RVA: 0x0000325F File Offset: 0x0000145F protected virtual void OnCreateControl() { base.OnCreateControl(); if (!GControl15.smethod_12(GControl15.smethod_11(this), this.textBox_0)) { GControl15.smethod_13(GControl15.smethod_11(this), this.textBox_0); } }
// Token: 0x060002E2 RID: 738 RVA: 0x000032E7 File Offset: 0x000014E7 protected virtual void OnMouseEnter(EventArgs e) { base.OnMouseEnter(e); this.genum5_0 = GEnum5.Over; if (this.Boolean_3) { GControl15.smethod_21(this.textBox_0); } GControl15.smethod_20(this); }
// Token: 0x060002DA RID: 730 RVA: 0x00008504 File Offset: 0x00006704 private void textBox_0_KeyDown(object sender, KeyEventArgs e) { if (GControl15.smethod_15(e)) { if (GControl15.smethod_16(e) == Keys.A) { GControl15.smethod_17(this.textBox_0); GControl15.smethod_18(e, true); } } if (GControl15.smethod_15(e) && GControl15.smethod_16(e) == Keys.C) { GControl15.smethod_19(this.textBox_0); GControl15.smethod_18(e, true); } }
// Token: 0x060002E5 RID: 741 RVA: 0x00008778 File Offset: 0x00006978 protected virtual void OnPaint(PaintEventArgs e) { this.method_0(); Bitmap image_ = GControl15.smethod_28(GControl15.smethod_27(this), GControl15.smethod_5(this)); Graphics graphics_ = GControl15.smethod_29(image_); this.int_0 = GControl15.smethod_27(this) - 1; this.int_1 = GControl15.smethod_5(this) - 1; Rectangle rectangle_ = new Rectangle(0, 0, this.int_0, this.int_1); GControl15.smethod_30(graphics_, SmoothingMode.HighQuality); GControl15.smethod_31(graphics_, PixelOffsetMode.HighQuality); GControl15.smethod_32(graphics_, TextRenderingHint.ClearTypeGridFit); GControl15.smethod_34(graphics_, GControl15.smethod_33(this)); GControl15.smethod_22(this.textBox_0, this.color_0); GControl15.smethod_25(this.textBox_0, this.color_1); GControl15.smethod_36(graphics_, GControl15.smethod_35(this.color_0), rectangle_); base.OnPaint(e); GControl15.smethod_37(graphics_); GControl15.smethod_39(GControl15.smethod_38(e), InterpolationMode.HighQualityBicubic); GControl15.smethod_40(GControl15.smethod_38(e), image_, 0, 0); GControl15.smethod_41(image_); }
// Token: 0x060002E3 RID: 739 RVA: 0x00003311 File Offset: 0x00001511 protected virtual void OnMouseLeave(EventArgs e) { base.OnMouseLeave(e); this.genum5_0 = GEnum5.None; GControl15.smethod_20(this); }
// Token: 0x060002E0 RID: 736 RVA: 0x000032AF File Offset: 0x000014AF protected virtual void OnMouseDown(MouseEventArgs e) { base.OnMouseDown(e); this.genum5_0 = GEnum5.Down; GControl15.smethod_20(this); }
// Token: 0x060002D9 RID: 729 RVA: 0x0000328B File Offset: 0x0000148B private void textBox_0_TextChanged(object sender, EventArgs e) { GControl15.smethod_9(this, GControl15.smethod_14(this.textBox_0)); }