Exemplo n.º 1
0
 private void Publisher_ValueDataPublisher(object sender, SSDLPlotingPublisher.MessageArgument <double> e)
 {
     //pbStatus.Dispatcher.Invoke(() => { pbStatus.Value = pbStatus.Value + e.Message; });
     //txtPercentage.Dispatcher.Invoke(() =>
     //{
     //    var value = Convert.ToInt32((pbStatus.Value / pbStatus.Maximum) * 100);
     //    txtPercentage.Text = value + "%";
     //});
     DoEventsHandler.DoEvents();
 }
Exemplo n.º 2
0
 private void Publisher_MaximumDataPublisher(object sender, SSDLPlotingPublisher.MessageArgument <double> e)
 {
     //pbStatus.Dispatcher.Invoke(() => { pbStatus.Value = 0; });
     //pbStatus.Dispatcher.Invoke(() => { pbStatus.Maximum = e.Message; });
     DoEventsHandler.DoEvents();
 }
Exemplo n.º 3
0
 private void Publisher_StatusDataPublisher(object sender, SSDLPlotingPublisher.MessageArgument <string> e)
 {
     //lblStatusPublisher.Dispatcher.Invoke(() => { lblStatusPublisher.Content = e.Message; });
     DoEventsHandler.DoEvents();
 }