Esempio n. 1
0
    // Token: 0x060002E5 RID: 741 RVA: 0x00008778 File Offset: 0x00006978
    protected virtual void OnPaint(PaintEventArgs e)
    {
        this.method_0();
        Bitmap   image_    = GControl15.smethod_28(GControl15.smethod_27(this), GControl15.smethod_5(this));
        Graphics graphics_ = GControl15.smethod_29(image_);

        this.int_0 = GControl15.smethod_27(this) - 1;
        this.int_1 = GControl15.smethod_5(this) - 1;
        Rectangle rectangle_ = new Rectangle(0, 0, this.int_0, this.int_1);

        GControl15.smethod_30(graphics_, SmoothingMode.HighQuality);
        GControl15.smethod_31(graphics_, PixelOffsetMode.HighQuality);
        GControl15.smethod_32(graphics_, TextRenderingHint.ClearTypeGridFit);
        GControl15.smethod_34(graphics_, GControl15.smethod_33(this));
        GControl15.smethod_22(this.textBox_0, this.color_0);
        GControl15.smethod_25(this.textBox_0, this.color_1);
        GControl15.smethod_36(graphics_, GControl15.smethod_35(this.color_0), rectangle_);
        base.OnPaint(e);
        GControl15.smethod_37(graphics_);
        GControl15.smethod_39(GControl15.smethod_38(e), InterpolationMode.HighQualityBicubic);
        GControl15.smethod_40(GControl15.smethod_38(e), image_, 0, 0);
        GControl15.smethod_41(image_);
    }