Beispiel #1
0
 // Token: 0x06000102 RID: 258 RVA: 0x0000604C File Offset: 0x0000424C
 public void method_0(object sender, DrawItemEventArgs e)
 {
     if (GClass1.smethod_3(e) < 0)
     {
         return;
     }
     GClass1.smethod_4(e);
     GClass1.smethod_5(e);
     GClass1.smethod_7(GClass1.smethod_6(e), SmoothingMode.HighQuality);
     GClass1.smethod_8(GClass1.smethod_6(e), PixelOffsetMode.HighQuality);
     GClass1.smethod_9(GClass1.smethod_6(e), TextRenderingHint.ClearTypeGridFit);
     GClass1.smethod_10(GClass1.smethod_6(e), InterpolationMode.HighQualityBicubic);
     if ((GClass1.smethod_2(e) & DrawItemState.Selected) == DrawItemState.Selected)
     {
         GClass1.smethod_13(GClass1.smethod_6(e), GClass1.smethod_11(this.color_2), GClass1.smethod_12(e));
     }
     else
     {
         GClass1.smethod_13(GClass1.smethod_6(e), GClass1.smethod_11(this.color_0), GClass1.smethod_12(e));
     }
     GClass1.smethod_6(e).DrawString(GClass1.smethod_16(this, GClass1.smethod_15(GClass1.smethod_14(this), GClass1.smethod_3(e))), GClass1.smethod_17("Segoe UI", 8f), GClass1.smethod_18(), new Rectangle(GClass1.smethod_12(e).X + 2, e.Bounds.Y + 2, e.Bounds.Width, e.Bounds.Height));
     e.Graphics.Dispose();
 }