Example #1
0
 public ApplicationViewModel()
 {
     //Setting button actions
     dialogService = new DefaultDialogService();
     StartWork     = new RelayCommand(new Action(DoWork));
     ShowLogs      = new RelayCommand(new Action(ShowLogWindow));
     //Setting the maximum value of the ProgressBar
     ProgressBar_maxValue = 1;
     //Create logs vieswModel when we write logs
     logsViewModel = new Logs.LogsViewModel();
 }
Example #2
0
 public LogsWindow(LogsViewModel logsView)
 {
     InitializeComponent();
     DataContext = logsView;
 }