Exemple #1
0
        }        //OnFlexGridSelectionChanged

        /// <summary>
        /// Raises the ShowProgressEvent for this sub control
        /// </summary>
        /// <param name="e">The event arguments</param>
        //  Revision History
        //  MM/DD/YY Who Version Issue# Description
        //  -------- --- ------- ------ -------------------------------------------
        //
        //
        protected virtual void OnShowProgress(ShowProgressEventArgs e)
        {
            if (ShowProgressEvent != null)
            {
                ShowProgressEvent(this, e);
            }
        }        //OnShowProgress
Exemple #2
0
        /// <summary>
        /// Event handler for the Itron.Metering.Progressable ShowProgress event.
        /// </summary>
        /// <param name="sender">The object that sent the event</param>
        /// <param name="e">The event arguments</param>
        //  Revision History
        //  MM/DD/YY Who Version Issue# Description
        //  -------- --- ------- ------ -------------------------------------------
        //  08/28/09 RCG 2.30.00        Created

        public void ShowProgressHandler(object sender, ShowProgressEventArgs e)
        {
            if (this.Disposing == false && this.IsDisposed == false)
            {
                this.BeginInvoke(new ShowProgressDelegate(ShowProgress), new object[] { e });
            }
        }
        /// <summary>
        /// Raises the event to show the progress bar.
        /// </summary>
        /// <param name="e">The event arguments to use.</param>
        // Revision History
        // MM/DD/YY who Version Issue# Description
        // -------- --- ------- ------ ---------------------------------------
        // 09/07/06 RCG 7.35.00    N/A Created

        protected override void OnShowProgress(ShowProgressEventArgs e)
        {
            if (ShowProgressEvent != null)
            {
                ShowProgressEvent(this, e);
            }
        }
Exemple #4
0
        /// <summary>
        /// Raises the Show Progress event
        /// </summary>
        /// <param name="e">The event arguments</param>
        //  Revision History
        //  MM/DD/YY Who Version Issue# Description
        //  -------- --- ------- ------ -------------------------------------------
        //  08/28/09 RCG 2.30.00        Created

        private void OnShowProgressEvent(ShowProgressEventArgs e)
        {
            if (ShowProgressEvent != null)
            {
                ShowProgressEvent(this, e);
            }
        }
 /// <summary>
 /// Raises the event to show the progress bar.
 /// </summary>
 /// <param name="e">The event arguments to use.</param>
 // Revision History
 // MM/DD/YY who Version Issue# Description
 // -------- --- ------- ------ ---------------------------------------
 // 06/08/10 AF  2.41.07		   Created
 // 01/06/14 DLG 3.50.19        Changed from protected to internal.
 //
 internal override void OnShowProgress(ShowProgressEventArgs e)
 {
     if (ShowProgressEvent != null)
     {
         ShowProgressEvent(this, e);
     }
 }
Exemple #6
0
 /// <summary>
 /// Raises the event to show the progress bar.
 /// </summary>
 /// <param name="e">The event arguments to use.</param>
 // Revision History
 // MM/DD/YY who Version Issue# Description
 // -------- --- ------- ------ ---------------------------------------
 // 09/07/06 RCG 7.35.00    N/A Created
 // 01/06/14 DLG 3.50.19        Changed from protected to internal.
 //
 internal virtual void OnShowProgress(ShowProgressEventArgs e)
 {
     if (ShowProgressEvent != null)
     {
         ShowProgressEvent(this, e);
     }
 }
Exemple #7
0
        /// <summary>
        /// Event handler for the Itron.Metering.Progressable ShowProgress event.
        /// </summary>
        /// <param name="e">The event arguments</param>
        //  Revision History
        //  MM/DD/YY Who Version Issue# Description
        //  -------- --- ------- ------ -------------------------------------------
        //  08/28/09 RCG 2.30.00        Created

        private void ShowProgress(ShowProgressEventArgs e)
        {
            ProgressBar.Value   = 0;
            ProgressBar.Maximum = e.NumberOfSteps;
            ProgressBar.Step    = e.StepSize;

            lblStatus.Text = e.Status;
            lblTitle.Text  = e.Title;

            m_iPassedCount  = 0;
            m_iFailedCount  = 0;
            m_iSkippedCount = 0;

            UpdateResultCounts();

            btnViewDetails.Visible = false;
        }