Exemple #1
0
        private void ProviderTotalStepsChangedHandler(object sender, StepChangedEventArgs e)
        {
            var valueChange = e.NewValue - e.OldValue;

            totalSteps += valueChange;

            CurrentProgress = CalculateCurrentProgress();

            NotifyPorgressChanged(CurrentProgress, CurrentMessage);
        }
 /// <summary>
 /// Occurs when the connection manager sends a step change
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void cManager_StepChanged(object sender, StepChangedEventArgs e)
 {
     this.ccsb.SetMessage(e.CurrentStep);
 }
Exemple #3
0
 private void connectionManager_StepChanged(object sender, StepChangedEventArgs e)
 {
     System.Console.WriteLine(e.CurrentStep);
 }
Exemple #4
0
 /// <summary>
 /// Occurs when the connection manager sends a step change
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void cManager_StepChanged(object sender, StepChangedEventArgs e)
 {
     this.ccsb.SetMessage(e.CurrentStep);
 }
Exemple #5
0
 private void StepChanged(object sender, StepChangedEventArgs args)
 {
     _stepChanged(args.Step);
 }
Exemple #6
0
        private void SubProgressProviderCurrentStepChangedHandler(object sender, StepChangedEventArgs e)
        {
            var stepsDelta = e.NewValue - e.OldValue;

            CurrentStep = CurrentStep + stepsDelta >= 0 ? CurrentStep + stepsDelta : 0;
        }
Exemple #7
0
        private void SubProgressProviderTotalStepsChangedHandler(object sender, StepChangedEventArgs e)
        {
            var stepsDelta = e.NewValue - e.OldValue;

            TotalSteps = TotalSteps + stepsDelta >= 0 ? TotalSteps + stepsDelta : 0;
        }
Exemple #8
0
 private void connectionManager_StepChanged(object sender, StepChangedEventArgs e)
 {
     System.Console.WriteLine(e.CurrentStep);
 }
 /// <summary>
 /// Event Handler
 /// </summary>
 /// <param name="sender">Sender object</param>
 /// <param name="e">Instance of type StepChangedEventArgs</param>
 internal void _connectionManager_StepChanged(object sender, StepChangedEventArgs e)
 {
     this._crmConnectionStatusBar.SetMessage(e.CurrentStep);
 }