Beispiel #1
0
    // Token: 0x0600036F RID: 879 RVA: 0x000096A4 File Offset: 0x000078A4
    protected virtual void OnPaint(PaintEventArgs e)
    {
        Bitmap    bitmap     = GClass5.smethod_7(GClass5.smethod_5(this), GClass5.smethod_6(this));
        Graphics  graphics   = GClass5.smethod_8(bitmap);
        Rectangle rectangle_ = new Rectangle(0, 0, GClass5.smethod_5(this), GClass5.smethod_6(this));

        GClass5.smethod_9(graphics, SmoothingMode.HighQuality);
        GClass5.smethod_10(graphics, PixelOffsetMode.HighQuality);
        GClass5.smethod_11(graphics, TextRenderingHint.ClearTypeGridFit);
        GClass5.smethod_13(graphics, GClass5.smethod_12(this));
        GClass5.smethod_15(graphics, GClass5.smethod_14(this.color_0), rectangle_);
        graphics.DrawString(GClass5.smethod_16(this), GClass5.smethod_17("Segoe UI", 8f), GClass5.smethod_18(), new Rectangle(this.method_0().X + 2, base.Bounds.Y + 2, base.Bounds.Width, base.Bounds.Height), GClass6.stringFormat_0);
        base.OnPaint(e);
        graphics.Dispose();
        e.Graphics.InterpolationMode = InterpolationMode.HighQualityBicubic;
        e.Graphics.DrawImageUnscaled(bitmap, 0, 0);
        bitmap.Dispose();
    }