예제 #1
0
 protected virtual void DownComp1(DartbordEventArgs e)
 {
     //			if( TripleThrown != null )
     //			{
     DownComp(this, e);
     //			}
 }
예제 #2
0
        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);
            }
        }
예제 #3
0
        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);

            }
        }
예제 #4
0
 protected virtual void DownComp1( DartbordEventArgs e )
 {
     //			if( TripleThrown != null )
     //			{
     DownComp( this, e );
     //			}
 }