// Token: 0x0600039B RID: 923 RVA: 0x00022C34 File Offset: 0x00020E34 public FrmDwonload() { Class2.zP7eVJHzSiX6G(); base..ctor(); base.FormClosing += new FormClosingEventHandler(this.DW_FormClosing); base.Load += new EventHandler(this.DW_Load); FrmDwonload.__ENCAddToList(this); this.os = 0; this.SZ = 0; this.os = 0; this.InitializeComponent(); }
// Token: 0x060003A0 RID: 928 RVA: 0x000230A0 File Offset: 0x000212A0 private void Timer1_Tick(object sender, EventArgs e) { try { this.Ldata.Text = FrmDwonload.Siz((long)this.Progressbar1.Value) + "/" + FrmDwonload.Siz((long)this.SZ); this.Lspeed.Text = FrmDwonload.Siz((long)(checked (this.Progressbar1.Value - this.os))); this.os = this.Progressbar1.Value; } catch (Exception expr_69) { ProjectData.SetProjectError(expr_69); ProjectData.ClearProjectError(); } }
// Token: 0x0600039E RID: 926 RVA: 0x00022E6C File Offset: 0x0002106C private void DW_Load(object sender, EventArgs e) { this.CheckBox1.Checked = Conversions.ToBoolean(Fungsi.GTV("dlck", Conversions.ToString(this.CheckBox1.Checked))); if (!Directory.Exists(Application.StartupPath + "\\Downloads\\")) { Directory.CreateDirectory(Application.StartupPath + "\\Downloads\\"); } checked { this.Left = 0 - this.Width + Screen.PrimaryScreen.WorkingArea.Width; this.Top = 0 - this.Height + Screen.PrimaryScreen.WorkingArea.Height; this.Text = Fungsi.DEB(ref this.FNn); this.Name = this.c.ip() + this.FNn; this.Lname.Text = new FileInfo(Fungsi.DEB(ref this.FNn)).Name; } this.Ldata.Text = FrmDwonload.Siz((long)this.Progressbar1.Value) + "/" + FrmDwonload.Siz((long)this.SZ); this.Lspeed.Text = FrmDwonload.Siz((long)(checked (this.Progressbar1.Value - this.os))); this.FS = new FileStream(Application.StartupPath + "\\" + Conversions.ToString(this.GetHashCode()), FileMode.Append); this.os = this.Progressbar1.Value; this.Timer1.Enabled = true; }