protected virtual void DownComp1(DartbordEventArgs e) { // if( TripleThrown != null ) // { DownComp(this, e); // } }
private void ChangeSinglePercent(int percent) { try { this.currentProgressLabel.Text = string.Format("{0}%", percent); this.currentProgressBar.Value = percent; if (percent == 100) { completeMistake += 1; //Trace.WriteLine("Download is completed"); if (completeMistake == 2) { this.btnCancel.Enabled = false; if (this.chkDwndCompl.Checked == true) { this.Close(); DartbordEventArgs dea = new DartbordEventArgs("completed", this.strurlStore); DownComp1(dea); } // MessageBox.Show("Completed"); } } } catch (Exception exp) { WebMeeting.Client.ClientUI.getInstance().ShowExceptionMessage("Managecontents==>frmDownloader.cs 410", exp, null, false); } }
private void ChangeSinglePercent(int percent) { try { this.currentProgressLabel.Text = string.Format("{0}%", percent); this.currentProgressBar.Value = percent; if(percent==100) { completeMistake+=1; //Trace.WriteLine("Download is completed"); if (completeMistake==2) { this.btnCancel.Enabled=false; if(this.chkDwndCompl.Checked ==true) { this.Close(); DartbordEventArgs dea = new DartbordEventArgs("completed",this.strurlStore); DownComp1(dea); } // MessageBox.Show("Completed"); } } } catch(Exception exp) { WebMeeting.Client.ClientUI.getInstance().ShowExceptionMessage("Managecontents==>frmDownloader.cs 410",exp,null,false); } }
protected virtual void DownComp1( DartbordEventArgs e ) { // if( TripleThrown != null ) // { DownComp( this, e ); // } }