コード例 #1
0
ファイル: GControl6.cs プロジェクト: x1234xx/ProstoLoader
    // Token: 0x06000181 RID: 385 RVA: 0x00006A2C File Offset: 0x00004C2C
    protected virtual void OnPaint(PaintEventArgs e)
    {
        this.method_5();
        Bitmap    bitmap   = GControl6.smethod_38(GControl6.smethod_36(this), GControl6.smethod_37(this));
        Graphics  graphics = GControl6.smethod_39(bitmap);
        Rectangle rect     = new Rectangle(0, 0, GControl6.smethod_36(this), GControl6.smethod_37(this));

        GControl6.smethod_17(graphics, SmoothingMode.HighQuality);
        GControl6.smethod_18(graphics, PixelOffsetMode.HighQuality);
        GControl6.smethod_20(graphics, TextRenderingHint.ClearTypeGridFit);
        GControl6.smethod_41(graphics, GControl6.smethod_40(this));
        this.ListBox_0.Size = new Size(GControl6.smethod_36(this) - 6, GControl6.smethod_37(this) - 2);
        graphics.FillRectangle(new SolidBrush(this.color_0), rect);
        base.OnPaint(e);
        graphics.Dispose();
        e.Graphics.InterpolationMode = InterpolationMode.HighQualityBicubic;
        e.Graphics.DrawImageUnscaled(bitmap, 0, 0);
        bitmap.Dispose();
    }