// Token: 0x0600017C RID: 380 RVA: 0x00006708 File Offset: 0x00004908 public void method_2(object sender, DrawItemEventArgs e) { if (GControl6.smethod_13(e) < 0) { return; } GControl6.smethod_14(e); GControl6.smethod_15(e); GControl6.smethod_17(GControl6.smethod_16(e), SmoothingMode.HighQuality); GControl6.smethod_18(GControl6.smethod_16(e), PixelOffsetMode.HighQuality); GControl6.smethod_19(GControl6.smethod_16(e), InterpolationMode.HighQualityBicubic); GControl6.smethod_20(GControl6.smethod_16(e), TextRenderingHint.ClearTypeGridFit); if (GControl6.smethod_22(GControl6.smethod_21(e).ToString(), "Selected,") < 0) { e.Graphics.FillRectangle(new SolidBrush(Color.FromArgb(51, 53, 55)), new Rectangle(e.Bounds.X, e.Bounds.Y, e.Bounds.Width, e.Bounds.Height)); e.Graphics.DrawString(" " + this.ListBox_0.Items[e.Index].ToString(), new Font("Segoe UI", 8f), Brushes.White, (float)e.Bounds.X, (float)(e.Bounds.Y + 2)); } else { GControl6.smethod_16(e).FillRectangle(GControl6.smethod_23(this.color_1), new Rectangle(GControl6.smethod_24(e).X, e.Bounds.Y, e.Bounds.Width, e.Bounds.Height)); e.Graphics.DrawString(" " + this.ListBox_0.Items[e.Index].ToString(), new Font("Segoe UI", 8f), Brushes.White, (float)e.Bounds.X, (float)(e.Bounds.Y + 2)); } e.Graphics.Dispose(); }