コード例 #1
0
        private void OnAddToIgnoreList()
        {
            if (!RecordInfoList.Any())
            {
                return;
            }

            CaptureServiceConfiguration.AddProcessToIgnoreList(SelectedRecordInfo.GameName);
            _updateProcessIgnoreListEvent.Publish(new ViewMessages.UpdateProcessIgnoreList());

            SelectedRecordInfo = null;
            RecordInfoList.Clear();
            LoadRecordList();
        }
コード例 #2
0
        private void OnAddToIgonreList()
        {
            if (SelectedProcessToCapture == null)
            {
                return;
            }

            StopCaptureService();
            CaptureServiceConfiguration.AddProcessToIgnoreList(SelectedProcessToCapture);
            ProcessesToIgnore.Clear();
            ProcessesToIgnore.AddRange(CaptureServiceConfiguration.GetProcessIgnoreList());

            SelectedProcessToCapture = null;
            StartCaptureService();
        }