// Token: 0x06000794 RID: 1940 RVA: 0x0003CB64 File Offset: 0x0003AD64 public FrmUpload() { Class2.zP7eVJHzSiX6G(); base..ctor(); base.FormClosing += new FormClosingEventHandler(this.up_FormClosing); base.Load += new EventHandler(this.up_Load); FrmUpload.__ENCAddToList(this); this.os = 0; this.InitializeComponent(); }
// Token: 0x06000795 RID: 1941 RVA: 0x0003CBB8 File Offset: 0x0003ADB8 private void Timer1_Tick(object sender, EventArgs e) { try { this.Ldata.Text = FrmUpload.Siz((long)this.Progressbar1.Value) + "/" + FrmUpload.Siz((long)this.SZ); this.Lspeed.Text = FrmUpload.Siz((long)(checked (this.Progressbar1.Value - this.os))); this.os = this.Progressbar1.Value; } catch (Exception expr_69) { ProjectData.SetProjectError(expr_69); Exception projectError = expr_69; ProjectData.SetProjectError(projectError); ProjectData.ClearProjectError(); ProjectData.ClearProjectError(); } }
// Token: 0x06000797 RID: 1943 RVA: 0x0003CCBC File Offset: 0x0003AEBC private void up_Load(object sender, EventArgs e) { checked { this.Left = 0 - this.Width + Screen.PrimaryScreen.WorkingArea.Width; this.Top = 0 - this.Height + Screen.PrimaryScreen.WorkingArea.Height; this.FS = new FileStream(this.TMP, FileMode.Open); this.Lname.Text = new FileInfo(new FileInfo(this.TMP).Name).Name; } this.Ldata.Text = FrmUpload.Siz((long)this.Progressbar1.Value) + "/" + FrmUpload.Siz((long)this.SZ); this.Lspeed.Text = FrmUpload.Siz((long)(checked (this.Progressbar1.Value - this.os))); this.Progressbar1.Maximum = this.SZ; this.c.Send(string.Concat(new string[] { "up", ima.Y, FrmUpload.ENB(ref this.FN), ima.Y, Conversions.ToString(this.SZ) })); this.Timer1.Enabled = true; }