예제 #1
0
        private void Button_ClickStart(object sender, RoutedEventArgs e)
        {
            progBar.Value = 0;

            //call method splitFile which splits the chosen file according to the fileNam
            _ViewModel.splitFiles();
            // start tasks reading from msmq
            _ViewModel.startTasks();
            // start timer
            _ViewModel.startTimer();

            // de/activate buttons
            btStart.IsEnabled   = false;
            btBeenden.IsEnabled = true;
        }
예제 #2
0
 private void Button_ClickStart(object sender, RoutedEventArgs e)
 {
     //call method splitFile which splits the chosen file according to the fileNam
     _ViewModel.splitFiles();
 }