// Token: 0x0600218C RID: 8588 RVA: 0x00070818 File Offset: 0x0006EA18 protected override void OnMouseDown(MouseEventArgs e) { if (e.Button == MouseButtons.Left) { switch (this.enum124_0) { case Enum124.const_0: if (this.rectangle_1.Contains(e.Location)) { this.rectangle_0.Location = e.Location; this.rectangle_0.Size = Size.Empty; this.method_0(); base.Invalidate(this.rectangle_1); this.bool_1 = true; } break; case Enum124.const_1: if (this.rectangle_1.Contains(e.Location)) { this.rectangle_0.Location = Control5.smethod_0(new Point(e.X - this.rectangle_0.Width / 2, e.Y - this.rectangle_0.Height / 2), this.rectangle_0.Size, this.rectangle_1); this.method_0(); base.Invalidate(this.rectangle_1); this.bool_1 = true; } break; } } base.OnMouseDown(e); }
// Token: 0x0600218D RID: 8589 RVA: 0x00070928 File Offset: 0x0006EB28 protected override void OnMouseMove(MouseEventArgs e) { if (this.bool_1) { Point point = e.Location.smethod_2(this.rectangle_1); switch (this.enum124_0) { case Enum124.const_0: this.rectangle_0.Size = new Size(point.X - this.rectangle_0.X, point.Y - this.rectangle_0.Y); this.method_0(); base.Invalidate(this.rectangle_1); break; case Enum124.const_1: this.rectangle_0.Location = Control5.smethod_0(new Point(point.X - this.rectangle_0.Width / 2, point.Y - this.rectangle_0.Height / 2), this.rectangle_0.Size, this.rectangle_1); this.method_0(); base.Invalidate(this.rectangle_1); break; } } base.OnMouseMove(e); }