Esempio n. 1
0
 // Token: 0x06000044 RID: 68 RVA: 0x0000221E File Offset: 0x0000041E
 public void method_0(GControl0.GEnum0 genum0_1, string string_1, int int_3)
 {
     this.genum0_0 = genum0_1;
     GControl0.smethod_6(this, string_1);
     this.Boolean_0 = true;
     this.Timer_0   = GControl0.smethod_7();
     GControl0.smethod_8(this.Timer_0, int_3);
     GControl0.smethod_9(this.Timer_0, true);
 }
Esempio n. 2
0
 // Token: 0x0600004C RID: 76 RVA: 0x00004C24 File Offset: 0x00002E24
 public GControl0()
 {
     base.SetStyle(ControlStyles.UserPaint | ControlStyles.ResizeRedraw | ControlStyles.AllPaintingInWmPaint | ControlStyles.OptimizedDoubleBuffer, true);
     this.DoubleBuffered = true;
     GControl0.smethod_12(this, Color.FromArgb(60, 70, 73));
     base.Size     = new Size(576, 42);
     base.Location = new Point(10, 61);
     this.Font     = new Font("Segoe UI", 10f);
     this.Cursor   = Cursors.Hand;
 }
Esempio n. 3
0
 // Token: 0x06000043 RID: 67 RVA: 0x0000220D File Offset: 0x0000040D
 protected virtual void OnResize(EventArgs e)
 {
     base.OnResize(e);
     GControl0.smethod_5(this, 42);
 }
Esempio n. 4
0
 // Token: 0x06000042 RID: 66 RVA: 0x000021FE File Offset: 0x000003FE
 protected virtual void OnTextChanged(EventArgs e)
 {
     base.OnTextChanged(e);
     GControl0.smethod_4(this);
 }
Esempio n. 5
0
    // Token: 0x0600004D RID: 77 RVA: 0x00004D14 File Offset: 0x00002F14
    protected virtual void OnPaint(PaintEventArgs e)
    {
        Bitmap   bitmap   = GControl0.smethod_15(GControl0.smethod_13(this), GControl0.smethod_14(this));
        Graphics graphics = GControl0.smethod_16(bitmap);

        this.int_0 = GControl0.smethod_13(this) - 1;
        this.int_1 = GControl0.smethod_14(this) - 1;
        Rectangle rectangle = new Rectangle(0, 0, this.int_0, this.int_1);
        Graphics  graphics2 = graphics;

        GControl0.smethod_17(graphics2, SmoothingMode.HighQuality);
        GControl0.smethod_18(graphics2, TextRenderingHint.ClearTypeGridFit);
        GControl0.smethod_20(graphics2, GControl0.smethod_19(this));
        switch (this.genum0_0)
        {
        case GControl0.GEnum0.Success:
            GControl0.smethod_22(graphics2, GControl0.smethod_21(this.color_0), rectangle);
            graphics2.FillEllipse(GControl0.smethod_21(this.color_1), new Rectangle(8, 9, 24, 24));
            graphics2.FillEllipse(new SolidBrush(this.color_0), new Rectangle(10, 11, 20, 20));
            graphics2.DrawString("ü", new Font("Wingdings", 22f), new SolidBrush(this.color_1), new Rectangle(7, 7, this.int_0, this.int_1), GClass6.stringFormat_0);
            graphics2.DrawString(this.Text, this.Font, new SolidBrush(this.color_1), new Rectangle(48, 12, this.int_0, this.int_1), GClass6.stringFormat_0);
            graphics2.FillEllipse(new SolidBrush(Color.FromArgb(35, Color.Black)), new Rectangle(this.int_0 - 30, this.int_1 - 29, 17, 17));
            graphics2.DrawString("r", new Font("Marlett", 8f), new SolidBrush(this.color_0), new Rectangle(this.int_0 - 28, 16, this.int_0, this.int_1), GClass6.stringFormat_0);
            if (this.genum5_0 == GEnum5.Over)
            {
                graphics2.DrawString("r", new Font("Marlett", 8f), new SolidBrush(Color.FromArgb(25, Color.White)), new Rectangle(this.int_0 - 28, 16, this.int_0, this.int_1), GClass6.stringFormat_0);
            }
            break;

        case GControl0.GEnum0.Error:
            graphics2.FillRectangle(new SolidBrush(this.color_2), rectangle);
            graphics2.FillEllipse(new SolidBrush(this.color_3), new Rectangle(8, 9, 24, 24));
            graphics2.FillEllipse(new SolidBrush(this.color_2), new Rectangle(10, 11, 20, 20));
            graphics2.DrawString("r", new Font("Marlett", 16f), new SolidBrush(this.color_3), new Rectangle(6, 11, this.int_0, this.int_1), GClass6.stringFormat_0);
            graphics2.DrawString(this.Text, this.Font, new SolidBrush(this.color_3), new Rectangle(48, 12, this.int_0, this.int_1), GClass6.stringFormat_0);
            graphics2.FillEllipse(new SolidBrush(Color.FromArgb(35, Color.Black)), new Rectangle(this.int_0 - 32, this.int_1 - 29, 17, 17));
            graphics2.DrawString("r", new Font("Marlett", 8f), new SolidBrush(this.color_2), new Rectangle(this.int_0 - 30, 17, this.int_0, this.int_1), GClass6.stringFormat_0);
            if (this.genum5_0 == GEnum5.Over)
            {
                graphics2.DrawString("r", new Font("Marlett", 8f), new SolidBrush(Color.FromArgb(25, Color.White)), new Rectangle(this.int_0 - 30, 15, this.int_0, this.int_1), GClass6.stringFormat_0);
            }
            break;

        case GControl0.GEnum0.Info:
            graphics2.FillRectangle(new SolidBrush(this.color_4), rectangle);
            graphics2.FillEllipse(new SolidBrush(this.color_5), new Rectangle(8, 9, 24, 24));
            graphics2.FillEllipse(new SolidBrush(this.color_4), new Rectangle(10, 11, 20, 20));
            graphics2.DrawString("¡", new Font("Segoe UI", 20f, FontStyle.Bold), new SolidBrush(this.color_5), new Rectangle(12, -4, this.int_0, this.int_1), GClass6.stringFormat_0);
            graphics2.DrawString(this.Text, this.Font, new SolidBrush(this.color_5), new Rectangle(48, 12, this.int_0, this.int_1), GClass6.stringFormat_0);
            graphics2.FillEllipse(new SolidBrush(Color.FromArgb(35, Color.Black)), new Rectangle(this.int_0 - 32, this.int_1 - 29, 17, 17));
            graphics2.DrawString("r", new Font("Marlett", 8f), new SolidBrush(this.color_4), new Rectangle(this.int_0 - 30, 17, this.int_0, this.int_1), GClass6.stringFormat_0);
            if (this.genum5_0 == GEnum5.Over)
            {
                graphics2.DrawString("r", new Font("Marlett", 8f), new SolidBrush(Color.FromArgb(25, Color.White)), new Rectangle(this.int_0 - 30, 17, this.int_0, this.int_1), GClass6.stringFormat_0);
            }
            break;
        }
        base.OnPaint(e);
        graphics.Dispose();
        e.Graphics.InterpolationMode = InterpolationMode.HighQualityBicubic;
        e.Graphics.DrawImageUnscaled(bitmap, 0, 0);
        bitmap.Dispose();
    }
Esempio n. 6
0
 // Token: 0x0600004A RID: 74 RVA: 0x000022D0 File Offset: 0x000004D0
 protected virtual void OnMouseMove(MouseEventArgs e)
 {
     base.OnMouseMove(e);
     this.int_2 = GControl0.smethod_11(e);
     GControl0.smethod_4(this);
 }
Esempio n. 7
0
 // Token: 0x06000049 RID: 73 RVA: 0x000022BA File Offset: 0x000004BA
 protected virtual void OnMouseLeave(EventArgs e)
 {
     base.OnMouseLeave(e);
     this.genum5_0 = GEnum5.None;
     GControl0.smethod_4(this);
 }
Esempio n. 8
0
 // Token: 0x06000048 RID: 72 RVA: 0x000022A4 File Offset: 0x000004A4
 protected virtual void OnMouseEnter(EventArgs e)
 {
     base.OnMouseEnter(e);
     this.genum5_0 = GEnum5.Over;
     GControl0.smethod_4(this);
 }
Esempio n. 9
0
 // Token: 0x06000046 RID: 70 RVA: 0x00002278 File Offset: 0x00000478
 protected virtual void OnMouseDown(MouseEventArgs e)
 {
     base.OnMouseDown(e);
     this.genum5_0 = GEnum5.Down;
     GControl0.smethod_4(this);
 }
Esempio n. 10
0
 // Token: 0x06000045 RID: 69 RVA: 0x00002258 File Offset: 0x00000458
 private void method_1(object sender, EventArgs e)
 {
     this.Boolean_0 = false;
     GControl0.smethod_9(this.Timer_0, false);
     GControl0.smethod_10(this.Timer_0);
 }