Exemple #1
0
        public void CollectLog()
        {
            //bool collect_dump = (MessageBox.Show("Collect system dump?", "Get Log", MessageBoxButton.YesNo) == MessageBoxResult.Yes) ? true : false;
            CanExec = false;
            var task = QAToolsFacade.CollectLog(false);

            task.GetAwaiter().OnCompleted(() => {
                CanExec = true;
            });
        }
Exemple #2
0
        private void CollectLogBtn_Click(object sender, RoutedEventArgs e)
        {
            bool collect_dump = (MessageBox.Show("Collect system dump?", "Get Log", MessageBoxButton.YesNo) == MessageBoxResult.Yes) ? true : false;

            QAToolsFacade.CollectLog(collect_dump);
        }