Exemplo n.º 1
0
 public TrainingNetworkProgresBarViewModel(ref TrainingNetworkProgressReportModel progress, dynamic settings, AdministrationViewModel administration, NetworkTrainer networkTrainer)
 {
     Progress         = progress;
     PopupAnimation   = settings.PopupAnimation;
     Placement        = settings.Placement;
     HorizontalOffset = settings.HorizontalOffset;
     VerticalOffset   = settings.VerticalOffset;
     Width            = settings.Width;
     Height           = settings.Height;
     administration.NetworkTrained     += Administration_NetworkTrained;
     networkTrainer.IterationCompleted += NetworkTrainer_IterationCompleted;
     RunProgressBar();
 }
 public GettingTokensProgressBarViewModel(ref GettingTokensProgressReportModel progress, dynamic settings, AdministrationViewModel administration)
 {
     Progress         = progress;
     PopupAnimation   = settings.PopupAnimation;
     Placement        = settings.Placement;
     HorizontalOffset = settings.HorizontalOffset;
     VerticalOffset   = settings.VerticalOffset;
     Width            = settings.Width;
     Height           = settings.Height;
     administration.ProgressChanged += Administration_ProgressChanged;
 }