Exemple #1
0
        private void addProcessFiltersMenuItem_Click(object sender, EventArgs e)
        {
            ProcessHacker.Native.Ui.ChooseProcessDialog cpd = new ProcessHacker.Native.Ui.ChooseProcessDialog();

            if (cpd.ShowDialog() == DialogResult.OK)
            {
                _rules.Add(_logger.AddProcessIdRule(FilterType.Include, cpd.SelectedPid));
            }
        }
Exemple #2
0
        private void addProcessFiltersMenuItem_Click(object sender, EventArgs e)
        {
            ProcessHacker.Native.Ui.ChooseProcessDialog cpd = new ProcessHacker.Native.Ui.ChooseProcessDialog();

            if (cpd.ShowDialog() == DialogResult.OK)
                _rules.Add(_logger.AddProcessIdRule(FilterType.Include, cpd.SelectedPid));
        }